summaryrefslogtreecommitdiffstats
path: root/libzip.spec
diff options
context:
space:
mode:
Diffstat (limited to 'libzip.spec')
-rw-r--r--libzip.spec16
1 files changed, 14 insertions, 2 deletions
diff --git a/libzip.spec b/libzip.spec
index ec70cf8..60db008 100644
--- a/libzip.spec
+++ b/libzip.spec
@@ -26,8 +26,8 @@ Name: %{libname}-last
%else
Name: %{libname}
%endif
-Version: 1.0.1
-Release: 3%{?dist}
+Version: 1.1
+Release: 1%{?dist}
Group: System Environment/Libraries
Summary: C library for reading, creating, and modifying zip archives
@@ -37,6 +37,9 @@ Source0: http://www.nih.at/libzip/libzip-%{version}.tar.xz
# to handle multiarch headers, ex from mysql-devel package
Source1: zipconf.h
+# fix undefined optopt
+Patch0: %{libname}-build.patch
+
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: zlib-devel
# Needed to run the test suite
@@ -97,11 +100,14 @@ Obsoletes: %{libname}-last-tools <= %{version}
The %{name}-tools package provides command line tools split off %{name}:
- zipcmp
- zipmerge
+- ziptool
%prep
%setup -q -n %{libname}-%{version}
+%patch0 -p0 -b .build
+
# Avoid lib64 rpaths (FIXME: recheck this on newer releases)
%if "%{_libdir}" != "/usr/lib"
sed -i -e 's|"/lib /usr/lib|"/%{_lib} %{_libdir}|' configure
@@ -157,6 +163,7 @@ make check
%defattr(-,root,root,-)
%{_bindir}/zipcmp
%{_bindir}/zipmerge
+%{_bindir}/ziptool
%{_mandir}/man1/zip*
%files devel
@@ -174,6 +181,11 @@ make check
%changelog
+* Thu Jan 28 2016 Remi Collet <remi@fedoraproject.org> - 1.1-1
+- update to 1.1
+- new ziptool command
+- add fix for undefined optopt in ziptool.c (upstream)
+
* Thu Jan 14 2016 Remi Collet <remi@fedoraproject.org> - 1.0.1-3
- libzip obsoletes libzip-last