[php-pear-HTTP-Request2] add requires on all extensions (and drop old pecl requires)
Remi Collet
remi at fedoraproject.org
Mon Dec 3 09:39:22 UTC 2012
commit 2a53a13bb78581130383a14e200d44f5518d6830
Author: Remi Collet <remi at fedoraproject.org>
Date: Mon Dec 3 10:38:59 2012 +0100
add requires on all extensions (and drop old pecl requires)
php-pear-HTTP-Request2.spec | 20 ++++++++++++++------
1 files changed, 14 insertions(+), 6 deletions(-)
---
diff --git a/php-pear-HTTP-Request2.spec b/php-pear-HTTP-Request2.spec
index bd51b87..b944964 100644
--- a/php-pear-HTTP-Request2.spec
+++ b/php-pear-HTTP-Request2.spec
@@ -1,10 +1,11 @@
+%{!?pear_metadir: %global pear_metadir %{pear_phpdir}}
%{!?__pear: %{expand: %%global __pear %{_bindir}/pear}}
%global pear_name HTTP_Request2
-%global with_tests 1
+%global with_tests %{?_with_tests:1}%{!?_with_tests:0}
Name: php-pear-HTTP-Request2
Version: 2.1.1
-Release: 4%{?dist}
+Release: 5%{?dist}
Summary: Provides an easy way to perform HTTP requests
Group: Development/Libraries
@@ -27,9 +28,13 @@ Requires(postun): %{__pear}
Provides: php-pear(%{pear_name}) = %{version}
Requires: php-pear(Net_URL2) >= 2.0.0
Requires: php-pear(PEAR) >= 1.5.4
-# Optional dependencies from pci result
-Requires: php-mbstring >= 5.2.0
-Requires: php-pecl(Fileinfo)
+Requires: php-curl
+Requires: php-date
+Requires: php-fileinfo
+Requires: php-mbstring
+Requires: php-pcre
+Requires: php-spl
+Requires: php-zlib
%description
PHP5 rewrite of HTTP_Request package. Provides cleaner API and pluggable
@@ -67,7 +72,7 @@ cd %{pear_name}-%{version}
sed -i -e 's/\r//' %{buildroot}%{pear_docdir}/%{pear_name}/examples/upload-rapidshare.php
# Clean up unnecessary files
-rm -rf %{buildroot}%{pear_phpdir}/.??*
+rm -rf %{buildroot}%{pear_metadir}/.??*
# Install XML package description
mkdir -p %{buildroot}%{pear_xmldir}
@@ -114,6 +119,9 @@ fi
%changelog
+* Mon Dec 03 2012 Remi Collet <remi at fedoraproject.org> - 2.1.1-5
+- add requires on all extensions
+
* Sun Aug 19 2012 Remi Collet <remi at fedoraproject.org> - 2.1.1-4
- rebuilt for new pear_datadir
More information about the scm-commits
mailing list