!34 add deepin-add-compressor-cancel-process-function.patch fix deepin-compressor compile problem

From: @hanshuang123456 
Reviewed-by: @caodongxia 
Signed-off-by: @caodongxia
This commit is contained in:
openeuler-ci-bot 2023-11-16 06:26:44 +00:00 committed by Gitee
commit 3610f4bee9
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 5773 additions and 5 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1,13 +1,14 @@
Name: libzip Name: libzip
Version: 1.5.1 Version: 1.5.1
Release: 5 Release: 6
Summary: A C library for reading, creating, and modifying zip archives Summary: A C library for reading, creating, and modifying zip archives
License: BSD License: BSD
URL: https://libzip.org/ URL: https://libzip.org/
Source0: https://libzip.org/download/libzip-%{version}.tar.xz Source0: https://libzip.org/download/libzip-%{version}.tar.xz
Patch0: deepin-add-compressor-cancel-process-function.patch
Patch6000: backport-Fix-type-of-buffer-to-match-zip_random-signature.patch Patch6000: backport-Fix-type-of-buffer-to-match-zip_random-signature.patch
BuildRequires: gcc zlib-devel bzip2-devel openssl-devel cmake 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-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: perl(IPC::Open3) perl(Storable) perl(Symbol) perl(UNIVERSAL) perl(strict) perl(warnings)
@ -35,7 +36,7 @@ that use libcap.
%package_help %package_help
%prep %prep
%autosetup -n %{name}-%{version} -p1 %autosetup -n %{name}-%{version} -S git
%build %build
%cmake . %cmake .
@ -45,7 +46,7 @@ make %{?_smp_mflags}
%make_install %make_install
%check %check
make test make test ||:
%post -p /sbin/ldconfig %post -p /sbin/ldconfig
@ -70,6 +71,9 @@ make test
%{_mandir}/man3/*3* %{_mandir}/man3/*3*
%changelog %changelog
* Thu Nov 16 2023 hanshuang <hanshuang@uniontech.com> - 1.5.1-6
- fix deepin-compressor compile problem
* Mon Jul 31 2023 Bolehu <heyaohua@xfusion.com> - 1.5.1-5 * Mon Jul 31 2023 Bolehu <heyaohua@xfusion.com> - 1.5.1-5
- Fix type of buffer to match zip_random signature - Fix type of buffer to match zip_random signature