diff --git a/librepo-1.17.0-gpgme-1.23.2.patch b/librepo-1.17.0-gpgme-1.23.2.patch new file mode 100644 index 0000000..d85700e --- /dev/null +++ b/librepo-1.17.0-gpgme-1.23.2.patch @@ -0,0 +1,24 @@ +diff -Nru librepo-1.17.0.orig/CMakeLists.txt librepo-1.17.0/CMakeLists.txt +--- librepo-1.17.0.orig/CMakeLists.txt 2024-02-08 09:39:02.000000000 +0100 ++++ librepo-1.17.0/CMakeLists.txt 2024-02-08 14:30:16.989931649 +0100 +@@ -37,7 +37,7 @@ + FIND_PACKAGE(CURL 7.52.0 REQUIRED) + + IF (USE_GPGME) +- FIND_PACKAGE(Gpgme REQUIRED) ++ PKG_SEARCH_MODULE(GPGME REQUIRED gpgme) + IF (ENABLE_SELINUX) + PKG_CHECK_MODULES(SELINUX REQUIRED libselinux) + ENDIF(ENABLE_SELINUX) +diff -Nru librepo-1.17.0.orig/librepo/CMakeLists.txt librepo-1.17.0/librepo/CMakeLists.txt +--- librepo-1.17.0.orig/librepo/CMakeLists.txt 2024-02-08 09:39:02.000000000 +0100 ++++ librepo-1.17.0/librepo/CMakeLists.txt 2024-02-08 14:30:36.775970283 +0100 +@@ -70,7 +70,7 @@ + ${GLIB2_LIBRARIES} + ) + IF (USE_GPGME) +- TARGET_LINK_LIBRARIES(librepo ${GPGME_VANILLA_LIBRARIES}) ++ TARGET_LINK_LIBRARIES(librepo ${GPGME_LIBRARIES}) + IF (ENABLE_SELINUX) + TARGET_LINK_LIBRARIES(librepo ${SELINUX_LIBRARIES}) + ENDIF(ENABLE_SELINUX) diff --git a/librepo.spec b/librepo.spec index 4f29861..0f86acf 100644 --- a/librepo.spec +++ b/librepo.spec @@ -1,5 +1,5 @@ Name: librepo -Version: 1.16.0 +Version: 1.17.0 Release: 1mamba Summary: A library providing C and Python API for downloading packages and linux repository metadata in rpm-md format Group: System/Libraries @@ -7,18 +7,18 @@ Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://rpm-software-management.github.io/librepo/ -## GITSOURCE https://github.com/rpm-software-management/librepo.git 1.8.1 Source: https://github.com/rpm-software-management/librepo.git/%{version}/librepo-%{version}.tar.bz2 +Patch0: librepo-1.17.0-gpgme-1.23.2.patch License: LGPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel -BuildRequires: libassuan-devel BuildRequires: libcurl-devel BuildRequires: libglib-devel -BuildRequires: libgpg-error-devel BuildRequires: libgpgme-devel BuildRequires: libopenssl-devel BuildRequires: libpython3-devel +BuildRequires: libpython311-devel +BuildRequires: libselinux-devel BuildRequires: libxml2-devel BuildRequires: libzck-devel ## AUTOBUILDREQ-END @@ -48,6 +48,7 @@ This package contains the Python 3 bindings for %{name}. %prep %setup -q +%patch 0 -p1 %build %cmake -d build \ @@ -84,6 +85,9 @@ This package contains the Python 3 bindings for %{name}. %doc README.md %changelog +* Thu Feb 08 2024 Automatic Build System 1.17.0-1mamba +- automatic version update by autodist + * Sat Sep 02 2023 Automatic Build System 1.16.0-1mamba - automatic version update by autodist