diff --git a/librepo-1.14.2.tar.gz b/librepo-1.14.2.tar.gz deleted file mode 100644 index b0b45a1b5aa237a49a70f342704a4b85e9f2d3f3..0000000000000000000000000000000000000000 Binary files a/librepo-1.14.2.tar.gz and /dev/null differ diff --git a/librepo-1.15.1.tar.gz b/librepo-1.15.1.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..9e34d83d6a948fda74d6161a25eaa3ae0b50388d Binary files /dev/null and b/librepo-1.15.1.tar.gz differ diff --git a/librepo.spec b/librepo.spec index cee0167f43b48e09dedb4fd2aff0c94562bb96ab..4d8a21c4aab824b9449f694bb4a21d8276a6f65e 100644 --- a/librepo.spec +++ b/librepo.spec @@ -1,15 +1,16 @@ -%define anolis_release 2 +%define anolis_release 1 %undefine __cmake_in_source_build %global dnf_conflict 2.8.8 +%global libcurl_version 7.52.0 Name: librepo -Version: 1.14.2 +Version: 1.15.1 Release: %{anolis_release}%{?dist} Summary: Repodata downloading library -License: LGPLv2+ +License: LGPL-2.1-or-later URL: https://github.com/rpm-software-management/librepo Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz @@ -17,14 +18,15 @@ BuildRequires: cmake BuildRequires: gcc BuildRequires: check-devel BuildRequires: doxygen -BuildRequires: pkgconfig(glib-2.0) +BuildRequires: pkgconfig(glib-2.0) >= 2.28 BuildRequires: gpgme-devel BuildRequires: libattr-devel -BuildRequires: libcurl-devel +BuildRequires: libcurl-devel >= %{libcurl_version} BuildRequires: pkgconfig(libxml-2.0) BuildRequires: pkgconfig(libcrypto) BuildRequires: pkgconfig(openssl) -Requires: libcurl + +Requires: libcurl >= %{libcurl_version} %description A library providing C and Python (libcURL like) API to downloading repository @@ -60,7 +62,7 @@ Conflicts: python3-dnf < %{dnf_conflict} Python 3 bindings for the librepo library. %prep -%autosetup -p1 +%autosetup -n %{name}-%{version} -p1 %build %cmake -DWITH_ZCHUNK=OFF @@ -72,22 +74,30 @@ Python 3 bindings for the librepo library. %install %cmake_install +%generate_compatibility_deps + %files %license COPYING %{_libdir}/%{name}.so.* %files doc -%doc README.md +%doc README.md AUTHORS %files devel %{_libdir}/%{name}.so %{_libdir}/pkgconfig/%{name}.pc %{_includedir}/%{name}/ +%dir %{abidir} +%{abidir}/_librepo.dump +%{abidir}/librepo.dump %files -n python3-%{name} %{python3_sitearch}/%{name}/ %changelog +* Mon Feb 13 2023 Jing Zhang - 1.15.1-1 +- update to 1.15.1 + * Sat Oct 08 2022 mgb01105731 - 1.14.2-2 - add doc package