diff options
author | Remi Collet <fedora@famillecollet.com> | 2012-01-27 16:26:42 +0100 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2012-01-27 16:26:42 +0100 |
commit | 77746f2ac32095e84cd3bcb95c282cbb5d7aed53 (patch) | |
tree | 368c1abbfc3c027a3a4b14ddf0415a9df2db0683 /libzip.spec | |
parent | 5bb48dbd2b5181860ba4efd4645e089f2ae5ec19 (diff) |
libzip 0.10 with patch from spot
Diffstat (limited to 'libzip.spec')
-rw-r--r-- | libzip.spec | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/libzip.spec b/libzip.spec index 2d5d9f7..01873f5 100644 --- a/libzip.spec +++ b/libzip.spec @@ -1,6 +1,3 @@ -# Fedora Review Request #393041 -# https://bugzilla.redhat.com/show_bug.cgi?id=393041 - Name: libzip2 Version: 0.10 Release: 1%{?dist} @@ -11,10 +8,9 @@ License: BSD URL: http://www.nih.at/libzip/index.html Source0: http://www.nih.at/libzip/libzip-%{version}.tar.bz2 -Patch0: libzip-php.patch +Patch0: libzip-0.10-php.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - BuildRequires: automake libtool BuildRequires: zlib-devel Requires: %{name}-libs%{?_isa} = %{version}-%{release} @@ -66,9 +62,6 @@ rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p' find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' -# Need to check this, for multilib -mv $RPM_BUILD_ROOT%{_libdir}/libzip/include/zipconf.h $RPM_BUILD_ROOT%{_includedir} - %clean rm -rf $RPM_BUILD_ROOT @@ -93,8 +86,9 @@ rm -rf $RPM_BUILD_ROOT %files devel %defattr(-,root,root,-) -%{_includedir}/zip*.h +%{_includedir}/zip.h %{_libdir}/libzip.so +%{_libdir}/libzip/include/zipconf.h %{_libdir}/pkgconfig/libzip.pc %{_mandir}/man3/*zip* |