[packages/librepo] - updated to 1.21.1

qboosh qboosh at pld-linux.org
Sat Sep 19 21:14:07 CEST 2026


commit 639b70b375294ebc1c0c0051a7dc3e9a4690e9ea
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat Sep 19 21:14:22 2026 +0200

    - updated to 1.21.1

 librepo.spec            | 10 +++++-----
 sphinx_executable.patch |  9 ++++-----
 2 files changed, 9 insertions(+), 10 deletions(-)
---
diff --git a/librepo.spec b/librepo.spec
index c46cd13..7d56b44 100644
--- a/librepo.spec
+++ b/librepo.spec
@@ -6,13 +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.20.0
+Version:	1.21.1
 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:	0a9c8dec0890caf67f96a680fb74ea15
+# Source0-md5:	c6a70ac38545776fe2a36849427e887c
 Patch1:		%{name}-gpgme-pkgconfig.patch
 Patch2:		sphinx_executable.patch
 URL:		http://rpm-software-management.github.io/librepo/
@@ -146,11 +146,11 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc README.md
-%attr(755,root,root) %{_libdir}/librepo.so.0
+%{_libdir}/librepo.so.0
 
 %files devel
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/librepo.so
+%{_libdir}/librepo.so
 %{_includedir}/librepo
 %{_pkgconfigdir}/librepo.pc
 
@@ -164,7 +164,7 @@ rm -rf $RPM_BUILD_ROOT
 %files -n python3-librepo
 %defattr(644,root,root,755)
 %dir %{py3_sitedir}/librepo
-%attr(755,root,root) %{py3_sitedir}/librepo/_librepo.so
+%{py3_sitedir}/librepo/_librepo.so
 %{py3_sitedir}/librepo/__init__.py
 %{py3_sitedir}/librepo/__pycache__
 
diff --git a/sphinx_executable.patch b/sphinx_executable.patch
index 32397ed..8ddf9c2 100644
--- a/sphinx_executable.patch
+++ b/sphinx_executable.patch
@@ -1,10 +1,9 @@
-diff -urNp -x '*.orig' librepo-1.8.1.org/doc/python/CMakeLists.txt librepo-1.8.1/doc/python/CMakeLists.txt
---- librepo-1.8.1.org/doc/python/CMakeLists.txt	2017-09-01 17:45:17.000000000 +0200
-+++ librepo-1.8.1/doc/python/CMakeLists.txt	2021-03-05 22:44:35.207770924 +0100
+--- librepo-1.21.1/doc/python/CMakeLists.txt.orig	2026-09-09 09:53:37.000000000 +0200
++++ librepo-1.21.1/doc/python/CMakeLists.txt	2026-09-19 21:04:58.993188899 +0200
 @@ -1,5 +1,5 @@
  ADD_CUSTOM_TARGET (doc-python
--    PYTHONPATH=${CMAKE_BINARY_DIR}/librepo/python/ sphinx-build -E -b html
-+    PYTHONPATH=${CMAKE_BINARY_DIR}/librepo/python/ ${SPHINX_EXECUTABLE} -E -b html
+-    LD_LIBRARY_PATH=${CMAKE_BINARY_DIR}/librepo PYTHONPATH=${CMAKE_BINARY_DIR}/librepo/python sphinx-build -E -b html
++    LD_LIBRARY_PATH=${CMAKE_BINARY_DIR}/librepo PYTHONPATH=${CMAKE_BINARY_DIR}/librepo/python ${SPHINX_EXECUTABLE} -E -b html
                    ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR}
                    COMMENT "Building Python API documentation with Sphinx")
  
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/librepo.git/commitdiff/639b70b375294ebc1c0c0051a7dc3e9a4690e9ea



More information about the pld-cvs-commit mailing list