From 8eb568427e1359dd16a4e3a79c8211a17a51a773 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 23 Oct 2013 07:35:34 +0200 Subject: php-pecl-zip: change from fedora --- php-pecl-zip-dev.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/php-pecl-zip-dev.spec b/php-pecl-zip-dev.spec index b8930b4..19d7ef2 100644 --- a/php-pecl-zip-dev.spec +++ b/php-pecl-zip-dev.spec @@ -19,7 +19,12 @@ Summary(fr): Une extension de gestion des ZIP Name: php-pecl-zip Version: 1.12.1 Release: 2%{?dist}.1 +%if %{with_libzip} License: PHP +%else +# Zip extension is PHP, Libzip library is BSD +License: PHP and BSD +%endif Group: Development/Languages URL: http://pecl.php.net/package/zip @@ -35,9 +40,8 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: php-devel %if %{with_libzip} BuildRequires: pkgconfig(libzip) >= 0.11.1 -%else -BuildRequires: zlib-devel %endif +BuildRequires: zlib-devel BuildRequires: php-pear Requires(post): %{_bindir}/pecl -- cgit