[packages/librepo] - updated to 1.20.0
qboosh
qboosh at pld-linux.org
Mon Jul 21 06:28:02 CEST 2025
commit 881dc6695790b21c81bdfc8bac7476d3e993789e
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Mon Jul 21 06:29:42 2025 +0200
- updated to 1.20.0
librepo-link.patch | 11 -----------
librepo.spec | 12 +++++-------
2 files changed, 5 insertions(+), 18 deletions(-)
---
diff --git a/librepo.spec b/librepo.spec
index b8fdde6..c46cd13 100644
--- a/librepo.spec
+++ b/librepo.spec
@@ -6,14 +6,13 @@
Summary: Library for downloading Linux repository metadata and packages
Summary(pl.UTF-8): Biblioteka do pobierania metadanych repozytoriów oraz pakietów dla Linuksa
Name: librepo
-Version: 1.18.1
-Release: 4
+Version: 1.20.0
+Release: 1
License: GPL v2+
Group: Libraries
#Source0Download: https://github.com/rpm-software-management/librepo/releases
Source0: https://github.com/rpm-software-management/librepo/archive/%{version}/%{name}-%{version}.tar.gz
-# Source0-md5: e33261fe05dd8beea6fd97c3ff3def48
-Patch0: %{name}-link.patch
+# Source0-md5: 0a9c8dec0890caf67f96a680fb74ea15
Patch1: %{name}-gpgme-pkgconfig.patch
Patch2: sphinx_executable.patch
URL: http://rpm-software-management.github.io/librepo/
@@ -29,7 +28,7 @@ BuildRequires: libxml2-devel >= 2.0
BuildRequires: openssl-devel
BuildRequires: pkgconfig
BuildRequires: rpm-build >= 4.6
-BuildRequires: rpmbuild(macros) >= 1.742
+BuildRequires: rpmbuild(macros) >= 2.047
%if %{with python3}
BuildRequires: python3-devel >= 1:3
BuildRequires: python3-modules >= 1:3
@@ -107,7 +106,6 @@ Dokumentacja API do wiązań Pythona do librepo.
%prep
%setup -q
-%patch -P 0 -p1
%patch -P 1 -p1
%patch -P 2 -p1
@@ -115,7 +113,7 @@ Dokumentacja API do wiązań Pythona do librepo.
install -d build
cd build
%cmake .. \
- %{cmake_on_off apidocs ENABLE_DOCS} \
+ -DENABLE_DOCS=%{__ON_OFF apidocs} \
%if %{with python3}
-DPYTHON_DESIRED=3 \
-DPYTHON_INSTALL_DIR="%{py3_sitedir}" \
diff --git a/librepo-link.patch b/librepo-link.patch
deleted file mode 100644
index 0c86f7a..0000000
--- a/librepo-link.patch
+++ /dev/null
@@ -1,11 +0,0 @@
-diff -urNp -x '*.orig' librepo-1.13.0.org/librepo/CMakeLists.txt librepo-1.13.0/librepo/CMakeLists.txt
---- librepo-1.13.0.org/librepo/CMakeLists.txt 2021-02-03 00:12:04.000000000 +0100
-+++ librepo-1.13.0/librepo/CMakeLists.txt 2021-03-14 01:01:38.088147093 +0100
-@@ -52,6 +52,7 @@ TARGET_LINK_LIBRARIES(librepo
- ${CURL_LIBRARY}
- ${LIBCRYPTO_LIBRARIES}
- ${GLIB2_LIBRARIES}
-+ crypto
- )
- IF (USE_GPGME)
- TARGET_LINK_LIBRARIES(librepo ${GPGME_VANILLA_LIBRARIES})
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/librepo.git/commitdiff/881dc6695790b21c81bdfc8bac7476d3e993789e
More information about the pld-cvs-commit
mailing list