[packages/php-facebook-sdk] - 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:07:05 CEST 2012
commit 3bfa792ac4287c71c4b32a164f2cc5433d74d33e
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Tue Aug 7 17:07:04 2012 +0300
- use virtual php extension deps (to be independant of php version)
- release 2 (by relup.sh)
php-facebook-sdk.spec | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/php-facebook-sdk.spec b/php-facebook-sdk.spec
index b934835..f7318cc 100644
--- a/php-facebook-sdk.spec
+++ b/php-facebook-sdk.spec
@@ -7,7 +7,7 @@
Summary: PHP SDK for the Facebook API
Name: php-facebook-sdk
Version: 3.1.1
-Release: 1
+Release: 2
License: Apache v2.0
Group: Development/Languages/PHP
Source0: https://github.com/facebook/facebook-php-sdk/tarball/v%{version}#/%{name}-%{version}.tgz
@@ -16,18 +16,18 @@ URL: https://github.com/facebook/facebook-php-sdk
BuildRequires: rpm-php-pearprov >= 4.4.2-11
BuildRequires: rpmbuild(macros) >= 1.461
%if %{with tests}
+BuildRequires: php(curl)
+BuildRequires: php(hash)
+BuildRequires: php(json)
+BuildRequires: php(session)
BuildRequires: php-PHPUnit >= 3.5
-BuildRequires: php-curl
-BuildRequires: php-hash
-BuildRequires: php-json
BuildRequires: php-pecl-xdebug
-BuildRequires: php-session
%endif
+Requires: php(curl)
+Requires: php(hash)
+Requires: php(json)
+Requires: php(session)
Requires: php-common >= 4:%{php_min_version}
-Requires: php-curl
-Requires: php-hash
-Requires: php-json
-Requires: php-session
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
More information about the pld-cvs-commit
mailing list