summaryrefslogtreecommitdiffstats
path: root/libzip.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2017-10-06 12:51:39 +0200
committerRemi Collet <remi@remirepo.net>2017-10-06 12:51:39 +0200
commit77498584e1c906b6055a024f9e0cdae3b4632719 (patch)
treeff5f7f4c462e2e3deed4042238fb9bddcbe401b9 /libzip.spec
parent5b19eac57862a6d70171f6ecece29875bede771b (diff)
test build
Diffstat (limited to 'libzip.spec')
-rw-r--r--libzip.spec12
1 files changed, 8 insertions, 4 deletions
diff --git a/libzip.spec b/libzip.spec
index 96e5285..61aec08 100644
--- a/libzip.spec
+++ b/libzip.spec
@@ -28,7 +28,7 @@ Name: %{libname}
Name: %{libname}%{soname}
%endif
Version: 1.3.0
-Release: 1%{?dist}
+Release: 2%{?dist}
Group: System Environment/Libraries
Summary: C library for reading, creating, and modifying zip archives
@@ -38,6 +38,9 @@ Source0: http://www.nih.at/libzip/libzip-%{version}.tar.xz
# to handle multiarch headers, ex from mysql-devel package
Source1: zipconf.h
+# Upstream for 32-bit test suite
+Patch0: 9879affbbdec684adb343b331f47f06788681e3b.patch
+
BuildRequires: zlib-devel
BuildRequires: bzip2-devel
# Needed to run the test suite
@@ -116,6 +119,7 @@ The %{name}-tools package provides command line tools split off %{name}:
%prep
%setup -q -n %{libname}-%{version}
+%patch0 -p1
# Avoid lib64 rpaths (FIXME: recheck this on newer releases)
%if "%{_libdir}" != "/usr/lib"
@@ -151,9 +155,6 @@ 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
@@ -190,6 +191,9 @@ make check
%changelog
+* Fri Oct 6 2017 Remi Collet <remi@fedoraproject.org> - 1.3.0-2
+- test build
+
* Mon Sep 4 2017 Remi Collet <remi@fedoraproject.org> - 1.3.0-1
- update to 1.3.0
- add dependency on bzip2 library