From 5b19eac57862a6d70171f6ecece29875bede771b Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 4 Sep 2017 14:32:16 +0200 Subject: v1.3.0 --- libzip.spec | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) (limited to 'libzip.spec') diff --git a/libzip.spec b/libzip.spec index ac1db43..96e5285 100644 --- a/libzip.spec +++ b/libzip.spec @@ -27,7 +27,7 @@ Name: %{libname} %else Name: %{libname}%{soname} %endif -Version: 1.2.0 +Version: 1.3.0 Release: 1%{?dist} Group: System Environment/Libraries Summary: C library for reading, creating, and modifying zip archives @@ -38,18 +38,18 @@ Source0: http://www.nih.at/libzip/libzip-%{version}.tar.xz # to handle multiarch headers, ex from mysql-devel package Source1: zipconf.h -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: zlib-devel +BuildRequires: bzip2-devel # Needed to run the test suite # find regress/ -type f | /usr/lib/rpm/perl.req # find regress/ -type f | /usr/lib/rpm/perl.prov BuildRequires: perl BuildRequires: perl(Cwd) -BuildRequires: perl(Data::Dumper) BuildRequires: perl(File::Copy) BuildRequires: perl(File::Path) BuildRequires: perl(Getopt::Long) BuildRequires: perl(IPC::Open3) +BuildRequires: perl(Storable) BuildRequires: perl(Symbol) BuildRequires: perl(UNIVERSAL) BuildRequires: perl(strict) @@ -132,7 +132,6 @@ make %{?_smp_mflags} %install - make install DESTDIR=%{buildroot} INSTALL='install -p' ## unpackaged files @@ -152,6 +151,10 @@ ln -s ../%{_lib}/libzip/include/zipconf.h \ %check %if %{with_tests} +if [ %{__isa_bits} -lt 64 ]; then + export XFAIL_TESTS="encryption-nonrandom-aes128.test encryption-nonrandom-aes192.test encryption-nonrandom-aes256.test" +fi + make check %else : Test suite disabled @@ -163,20 +166,17 @@ make check %files -%defattr(-,root,root,-) %{!?_licensedir:%global license %%doc} %license LICENSE %{_libdir}/libzip.so.%{soname}* %files tools -%defattr(-,root,root,-) %{_bindir}/zipcmp %{_bindir}/zipmerge %{_bindir}/ziptool %{_mandir}/man1/zip* %files devel -%defattr(-,root,root,-) %doc API-CHANGES AUTHORS THANKS *.md %{_includedir}/zip.h %{_includedir}/zipconf*.h @@ -190,6 +190,11 @@ make check %changelog +* Mon Sep 4 2017 Remi Collet - 1.3.0-1 +- update to 1.3.0 +- add dependency on bzip2 library +- ignore 3 tests failing on 32-bit + * Sun Feb 19 2017 Remi Collet - 1.2.0-1 - update to 1.2.0 - rename to libzip5 for new soname -- cgit