summaryrefslogtreecommitdiffstats
path: root/libzip.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2017-09-04 14:32:16 +0200
committerRemi Collet <remi@remirepo.net>2017-09-04 14:32:16 +0200
commit5b19eac57862a6d70171f6ecece29875bede771b (patch)
treee5d4607d3ea9bb6a9a61468d370b95b7813b39d2 /libzip.spec
parent567edc7578b28b882e7cb3b3ef19211515b7f48d (diff)
v1.3.0
Diffstat (limited to 'libzip.spec')
-rw-r--r--libzip.spec19
1 files changed, 12 insertions, 7 deletions
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 <remi@fedoraproject.org> - 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 <remi@fedoraproject.org> - 1.2.0-1
- update to 1.2.0
- rename to libzip5 for new soname