!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:
commit
3610f4bee9
5764
deepin-add-compressor-cancel-process-function.patch
Normal file
5764
deepin-add-compressor-cancel-process-function.patch
Normal file
File diff suppressed because it is too large
Load Diff
14
libzip.spec
14
libzip.spec
@ -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
|
||||||
|
|
||||||
@ -57,7 +58,7 @@ make test
|
|||||||
%{_bindir}/zip*
|
%{_bindir}/zip*
|
||||||
%{_libdir}/libzip.so.5*
|
%{_libdir}/libzip.so.5*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_libdir}/libzip.so
|
%{_libdir}/libzip.so
|
||||||
%{_libdir}/pkgconfig/libzip.pc
|
%{_libdir}/pkgconfig/libzip.pc
|
||||||
@ -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
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user