[packages/libzip] Up to 1.10.1
arekm
arekm at pld-linux.org
Fri Oct 6 13:05:53 CEST 2023
commit 6690ceed6ac95f942a86b922ac0e77f1187d7b3f
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Fri Oct 6 12:07:54 2023 +0200
Up to 1.10.1
libzip-pc.patch | 5 +++--
libzip.spec | 4 ++--
2 files changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/libzip.spec b/libzip.spec
index 61940a2..02750c0 100644
--- a/libzip.spec
+++ b/libzip.spec
@@ -5,12 +5,12 @@
Summary: C library for reading, creating, and modifying zip archives
Summary(pl.UTF-8): Biblioteka C do odczytu, zapisu i modyfikacji archiwów zip
Name: libzip
-Version: 1.8.0
+Version: 1.10.1
Release: 1
License: BSD
Group: Libraries
Source0: https://libzip.org/download/%{name}-%{version}.tar.xz
-# Source0-md5: c0448fb7be85bc1caa87bc2fe5ab5ff8
+# Source0-md5: c577238633c52af43b42b2bdc62f1e9e
Patch0: %{name}-pc.patch
URL: https://libzip.org/
BuildRequires: bzip2-devel
diff --git a/libzip-pc.patch b/libzip-pc.patch
index 6478d81..604158f 100644
--- a/libzip-pc.patch
+++ b/libzip-pc.patch
@@ -1,10 +1,11 @@
--- libzip-1.8.0/CMakeLists.txt.orig 2021-06-18 18:08:29.000000000 +0200
+++ libzip-1.8.0/CMakeLists.txt 2022-04-11 18:02:41.493156907 +0200
-@@ -303,6 +303,7 @@ string(REGEX REPLACE "-lOpenSSL::Crypto"
- string(REGEX REPLACE "-lZLIB::ZLIB" "-lz" LIBS ${LIBS})
+@@ -356,6 +356,7 @@ string(REGEX REPLACE "-lOpenSSL::Crypto"
+ string(REGEX REPLACE "-lZLIB::ZLIB" ${zlib_link_name} LIBS ${LIBS})
string(REGEX REPLACE "-lGnuTLS::GnuTLS" "-lgnutls" LIBS ${LIBS})
string(REGEX REPLACE "-lNettle::Nettle" "-lnettle" LIBS ${LIBS})
+string(REGEX REPLACE "-lZstd::Zstd" "-lzstd" LIBS ${LIBS})
configure_file(libzip.pc.in libzip.pc @ONLY)
if(LIBZIP_DO_INSTALL)
install(FILES ${PROJECT_BINARY_DIR}/libzip.pc DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig)
+
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/libzip.git/commitdiff/6690ceed6ac95f942a86b922ac0e77f1187d7b3f
More information about the pld-cvs-commit
mailing list