summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2013-10-23 07:35:34 +0200
committerRemi Collet <fedora@famillecollet.com>2013-10-23 07:35:34 +0200
commit8eb568427e1359dd16a4e3a79c8211a17a51a773 (patch)
tree04f7533212fd6684ba175196317d4b2213f8c56c
parentf95d2397983c79ce8c647afd0d3fe0d6f8c298b5 (diff)
php-pecl-zip: change from fedora
-rw-r--r--php-pecl-zip-dev.spec8
1 files 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