diff --git a/libzip-1.10.1.tar.xz b/libzip-1.10.1.tar.xz new file mode 100644 index 0000000..7341dd2 Binary files /dev/null and b/libzip-1.10.1.tar.xz differ diff --git a/libzip-1.9.2.tar.xz b/libzip-1.9.2.tar.xz deleted file mode 100644 index 44a4f4b..0000000 Binary files a/libzip-1.9.2.tar.xz and /dev/null differ diff --git a/libzip.spec b/libzip.spec index be269b0..969e021 100644 --- a/libzip.spec +++ b/libzip.spec @@ -1,14 +1,12 @@ Name: libzip -Version: 1.9.2 +Version: 1.10.1 Release: 1 Summary: A C library for reading, creating, and modifying zip archives License: BSD-3-Clause URL: https://libzip.org/ Source0: https://libzip.org/download/libzip-%{version}.tar.xz -BuildRequires: gcc zlib-devel bzip2-devel openssl-devel cmake -BuildRequires: perl-interpreter perl(Cwd) perl(File::Copy) perl(File::Path) perl(Getopt::Long) -BuildRequires: perl(IPC::Open3) perl(Storable) perl(Symbol) perl(UNIVERSAL) perl(strict) perl(warnings) +BuildRequires: gcc zlib-devel bzip2-devel openssl-devel cmake xz-devel libzstd-devel cmake mandoc Provides: libzip-tools = %{version}-%{release} Provides: libzip-tools%{?_isa} = %{version}-%{release} @@ -32,9 +30,24 @@ that use libcap. %prep %autosetup -n %{name}-%{version} -p1 +rm INSTALL.md +sed -e '/clone-fs-/d' -i regress/CMakeLists.txt %build -%cmake . +%cmake \ + -DENABLE_COMMONCRYPTO:BOOL=OFF \ + -DENABLE_GNUTLS:BOOL=OFF \ + -DENABLE_MBEDTLS:BOOL=OFF \ + -DENABLE_OPENSSL:BOOL=ON \ + -DENABLE_WINDOWS_CRYPTO:BOOL=OFF \ + -DENABLE_BZIP2:BOOL=ON \ + -DENABLE_LZMA:BOOL=ON \ + -DENABLE_ZSTD:BOOL=ON \ + -DBUILD_TOOLS:BOOL=ON \ + -DBUILD_REGRESS:BOOL=ON \ + -DBUILD_EXAMPLES:BOOL=OFF \ + -DBUILD_DOC:BOOL=ON + make %{?_smp_mflags} %install @@ -52,11 +65,7 @@ make test %license LICENSE %{_bindir}/zip* %{_libdir}/libzip.so.5* -%{_libdir}/cmake/libzip/libzip-config-version.cmake -%{_libdir}/cmake/libzip/libzip-config.cmake -%{_libdir}/cmake/libzip/libzip-targets-noconfig.cmake -%{_libdir}/cmake/libzip/libzip-targets.cmake - +%{_libdir}/cmake/libzip/* %files devel %defattr(-,root,root) @@ -72,6 +81,9 @@ make test %changelog +* Wed Dec 27 2023 liyanan - 1.10.1-1 +- Update to 1.10.1 + * Fri Jul 29 2022 liukuo - 1.9.2-1 - Update to 1.9.2