packages: php-facebook-athenaeum/php-facebook-athenaeum.spec - hash dep was...

glen glen at pld-linux.org
Wed May 26 11:57:42 CEST 2010


Author: glen                         Date: Wed May 26 09:57:42 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- hash dep was bogus; rel 1

---- Files affected:
packages/php-facebook-athenaeum:
   php-facebook-athenaeum.spec (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: packages/php-facebook-athenaeum/php-facebook-athenaeum.spec
diff -u packages/php-facebook-athenaeum/php-facebook-athenaeum.spec:1.3 packages/php-facebook-athenaeum/php-facebook-athenaeum.spec:1.4
--- packages/php-facebook-athenaeum/php-facebook-athenaeum.spec:1.3	Mon Dec 21 14:36:09 2009
+++ packages/php-facebook-athenaeum/php-facebook-athenaeum.spec	Wed May 26 11:57:37 2010
@@ -1,9 +1,10 @@
 # $Revision$, $Date$
 %define		php_min_version 5.2
+%include	/usr/lib/rpm/macros.php
 Summary:	Tools to extend library services to Facebook users through Facebook applications
 Name:		php-facebook-athenaeum
 Version:	0.1.8
-Release:	0.8
+Release:	1
 License:	Apache v2.0
 Group:		Development/Languages/PHP
 Source0:	http://facebook-athenaeum.googlecode.com/files/fb-athenaeum-%{version}.tar.gz
@@ -13,7 +14,6 @@
 Requires:	php-common >= 4:%{php_min_version}
 Patch0:		json-dep.patch
 #Requires:	php-date
-Requires:	php-hash
 Requires:	php-json
 Requires:	php-pcre
 Requires:	php-simplexml
@@ -22,15 +22,14 @@
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 # bad depsolver
-%define		_noautopeardep	pear(facebookapi_php5_restlib.php)
+%define		_noautopear	pear(facebookapi_php5_restlib.php)
 
 # exclude optional php dependencies
-%define		_noautophpreq	php(curl)
+%define		_noautophp	php-curl
 
-# we don't want php(xxx) being resolved to php-xxx
-%define		_noautoreqdep	php(.*)
+# put it together for rpmbuild
+%define		_noautoreq	%{?_noautophp} %{?_noautopear}
 
-%define		_noautoreq	%{_noautophpreq} %{_noautopeardep}
 
 %description
 Facebook Athenaeum provides libraries an easy to implement Facebook
@@ -65,6 +64,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.4  2010/05/26 09:57:37  glen
+- hash dep was bogus; rel 1
+
 Revision 1.3  2009/12/21 13:36:09  glen
 - curl is optional
 - remove pear based JSON for older php, force php 5.2
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/php-facebook-athenaeum/php-facebook-athenaeum.spec?r1=1.3&r2=1.4&f=u



More information about the pld-cvs-commit mailing list