[packages/php-smushit] - use virtual php extension deps (to be independant of php version) - release 2 (by relup.sh)
glen
glen at pld-linux.org
Tue Aug 7 16:14:11 CEST 2012
commit 66480c4141e15a22ad0010346e7d20e10d00ed1f
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Tue Aug 7 17:14:10 2012 +0300
- use virtual php extension deps (to be independant of php version)
- release 2 (by relup.sh)
php-smushit.spec | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/php-smushit.spec b/php-smushit.spec
index 9197fb3..16a03df 100644
--- a/php-smushit.spec
+++ b/php-smushit.spec
@@ -4,18 +4,18 @@
Summary: A PHP client for the Yahoo! Smush.it web service
Name: php-%{pkgname}
Version: 1.1
-Release: 1
+Release: 2
License: MIT
Group: Development/Languages/PHP
Source0: https://github.com/davgothic/SmushIt/tarball/master#/%{name}-%{version}.tgz
# Source0-md5: cc287b37ecd39b0bdc5b54a648061199
URL: https://github.com/davgothic/SmushIt
BuildRequires: rpmbuild(macros) >= 1.553
+Requires: php(curl)
+Requires: php(json)
+Requires: php(pcre)
+Requires: php(spl)
Requires: php-common >= 4:%{php_min_version}
-Requires: php-curl
-Requires: php-json
-Requires: php-pcre
-Requires: php-spl
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
More information about the pld-cvs-commit
mailing list