update to 1.2.0

soname bump to 5
temporarily keep libzip.so.4
This commit is contained in:
Remi Collet 2017-02-28 09:00:28 +01:00
parent 079248a18d
commit 94a4bd1e88
3 changed files with 19 additions and 3 deletions

1
.gitignore vendored
View File

@ -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

View File

@ -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

View File

@ -1 +1 @@
f7196e2fbae93d7e1f843aedee9bdf40 libzip-1.1.3.tar.xz
SHA512 (libzip-1.2.0.tar.xz) = 1ba8626d72e6b47f735568afaf007d1e18beb3ebedf6b69a6b575f9e04d3b84550371191a89be153f8fcedb4a8eac2f996e141da95cdbb52380b6283cc99cf8b