Update to 1.10.1
This commit is contained in:
parent
8765b6f729
commit
c893d6a992
BIN
libzip-1.10.1.tar.xz
Normal file
BIN
libzip-1.10.1.tar.xz
Normal file
Binary file not shown.
Binary file not shown.
32
libzip.spec
32
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 <liyanan61@h-partners.com> - 1.10.1-1
|
||||
- Update to 1.10.1
|
||||
|
||||
* Fri Jul 29 2022 liukuo <liukuo@kylinos.cn> - 1.9.2-1
|
||||
- Update to 1.9.2
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user