diff --git a/.gitignore b/.gitignore index 6d41cc2..6a23e26 100644 --- a/.gitignore +++ b/.gitignore @@ -65,3 +65,4 @@ /librepo-1.14.4.tar.gz /librepo-1.15.1.tar.gz /librepo-1.15.2.tar.gz +/librepo-1.16.0.tar.gz diff --git a/librepo.spec b/librepo.spec index 026fe65..166bfae 100644 --- a/librepo.spec +++ b/librepo.spec @@ -8,10 +8,16 @@ %bcond_without zchunk %endif +%if 0%{?fedora} >= 39 +%bcond_with use_gpgme +%else +%bcond_without use_gpgme +%endif + %global dnf_conflict 2.8.8 Name: librepo -Version: 1.15.2 +Version: 1.16.0 Release: 1%{?dist} Summary: Repodata downloading library @@ -24,7 +30,11 @@ BuildRequires: gcc BuildRequires: check-devel BuildRequires: doxygen BuildRequires: pkgconfig(glib-2.0) >= 2.66 +%if %{with use_gpgme} BuildRequires: gpgme-devel +%else +BuildRequires: pkgconfig(rpm) >= 4.18.0 +%endif BuildRequires: libattr-devel BuildRequires: libcurl-devel >= %{libcurl_version} BuildRequires: pkgconfig(libxml-2.0) @@ -66,7 +76,9 @@ Python 3 bindings for the librepo library. %autosetup -p1 %build -%cmake %{!?with_zchunk:-DWITH_ZCHUNK=OFF} +%cmake \ + -DWITH_ZCHUNK=%{?with_zchunk:ON}%{!?with_zchunk:OFF} \ + -DUSE_GPGME=%{?with_use_gpgme:ON}%{!?with_use_gpgme:OFF} %cmake_build %check @@ -96,6 +108,10 @@ Python 3 bindings for the librepo library. %{python3_sitearch}/%{name}/ %changelog +* Fri Sep 01 2023 Jan Kolarik - 1.16.0-1 +- Update to 1.16.0 +- Implement OpenPGP using librpm API + * Tue Aug 01 2023 Jan Kolarik - 1.15.2-1 - Update to 1.15.2 - Fixes and optimizations in header files diff --git a/sources b/sources index bc0cfef..89bfe82 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (librepo-1.15.2.tar.gz) = a124071b025120a4daf13b9146c940b97342937d8613680f90da45ce8f7255b8621b20fcc97942cc149cda3f9caf20144c2137f7aa660d5ea84a3b504d7a07e4 +SHA512 (librepo-1.16.0.tar.gz) = 0ccae96fe4919e501e4da00f61e8fdd5a04a400d4317187b781104c4f9648a692c1f589a7cfa5f63a0b38594eb9b2fa0944e9dfbb9930d7462b93a7219d9784d