[packages/php-facebook-sdk] keep BR deps package based, to ensure extension deps don't get mixed when building

glen glen at pld-linux.org
Wed Aug 8 08:41:22 CEST 2012


commit bdae7029e202449c5513ee1e5af06c9bf95eb1b8
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Wed Aug 8 09:41:19 2012 +0300

    keep BR deps package based, to ensure extension deps don't get mixed when building

 php-facebook-sdk.spec | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/php-facebook-sdk.spec b/php-facebook-sdk.spec
index f7318cc..68380db 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:	2
+Release:	3
 License:	Apache v2.0
 Group:		Development/Languages/PHP
 Source0:	https://github.com/facebook/facebook-php-sdk/tarball/v%{version}#/%{name}-%{version}.tgz
@@ -16,12 +16,12 @@ 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)


More information about the pld-cvs-commit mailing list