update to 1.2.0
soname bump to 5 temporarily keep libzip.so.4
This commit is contained in:
parent
079248a18d
commit
94a4bd1e88
1
.gitignore
vendored
1
.gitignore
vendored
@ -9,3 +9,4 @@ libzip-0.9.3.tar.bz2
|
||||
/libzip-1.1.1.tar.xz
|
||||
/libzip-1.1.2.tar.xz
|
||||
/libzip-1.1.3.tar.xz
|
||||
/libzip-1.2.0.tar.xz
|
||||
|
||||
19
libzip.spec
19
libzip.spec
@ -2,8 +2,8 @@
|
||||
%global with_tests 0%{!?_without_tests:1}
|
||||
|
||||
Name: libzip
|
||||
Version: 1.1.3
|
||||
Release: 2%{?dist}
|
||||
Version: 1.2.0
|
||||
Release: 0%{?dist}
|
||||
Summary: C library for reading, creating, and modifying zip archives
|
||||
|
||||
License: BSD
|
||||
@ -12,6 +12,9 @@ Source0: http://www.nih.at/libzip/libzip-%{version}.tar.xz
|
||||
# to handle multiarch headers, ex from mysql-devel package
|
||||
Source1: zipconf.h
|
||||
|
||||
# specific AES crypto for WinZip compatibility
|
||||
Provides: bundled(gladman-fcrypt)
|
||||
|
||||
BuildRequires: zlib-devel
|
||||
# Needed to run the test suite
|
||||
# find regress/ -type f | /usr/lib/rpm/perl.req
|
||||
@ -26,6 +29,8 @@ BuildRequires: perl(Symbol)
|
||||
BuildRequires: perl(UNIVERSAL)
|
||||
BuildRequires: perl(strict)
|
||||
BuildRequires: perl(warnings)
|
||||
# TODO remove this - Hack to not break buildroot
|
||||
BuildRequires: libzip
|
||||
|
||||
|
||||
%description
|
||||
@ -90,6 +95,9 @@ ln -s ../%{_lib}/libzip/include/zipconf.h \
|
||||
%{buildroot}%{_includedir}/zipconf.h
|
||||
%endif
|
||||
|
||||
# TODO remove this - Hack to not break buildroot
|
||||
cp -p %{_libdir}/libzip.so.4.0.0 %{buildroot}%{_libdir}
|
||||
ln -s libzip.so.4.0.0 %{buildroot}%{_libdir}/libzip.so.4
|
||||
|
||||
%check
|
||||
%if %{with_tests}
|
||||
@ -105,6 +113,8 @@ make check
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
%{_libdir}/libzip.so.5*
|
||||
# TODO remove this - Hack to not break buildroot
|
||||
%{_libdir}/libzip.so.4*
|
||||
|
||||
%files tools
|
||||
@ -127,6 +137,11 @@ make check
|
||||
|
||||
|
||||
%changelog
|
||||
* Tue Feb 28 2017 Remi Collet <remi@fedoraproject.org> - 1.2.0-0
|
||||
- update to 1.2.0
|
||||
- soname bump to 5
|
||||
- temporarily keep libzip.so.4
|
||||
|
||||
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.3-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user