[php-shout] PHP 5.4.0 Build

Remi Collet remi at fedoraproject.org
Fri Jan 20 18:27:38 UTC 2012


commit 014d86daff1f611ac56422542f8added1c40a9c2
Author: remi <fedora at famillecollet.com>
Date:   Fri Jan 20 19:27:09 2012 +0100

    PHP 5.4.0 Build

 php-shout.spec |   17 +++++++++++------
 1 files changed, 11 insertions(+), 6 deletions(-)
---
diff --git a/php-shout.spec b/php-shout.spec
index 126f1b6..d53ba30 100644
--- a/php-shout.spec
+++ b/php-shout.spec
@@ -1,9 +1,9 @@
 %global php_apiver %((echo 0; php -i 2>/dev/null | sed -n 's/^PHP API => //p') | tail -1)
-%global php_extdi %(php-config --extension-dir 2>/dev/null || echo "undefined")
+%global php_extdir %(php-config --extension-dir 2>/dev/null || echo "undefined")
 
 Name:           php-shout
 Version:        0.9.2
-Release:        9%{?dist}
+Release:        10%{?dist}
 Summary:        PHP module for communicating with Icecast servers
 
 Group:          Development/Languages
@@ -24,10 +24,11 @@ Requires:       php(api) = %{php_core_api}
 Requires: php-api = %{php_apiver}
 %endif
 
-%{?filter_setup:
-%filter_provides_in %{php_extdir}/.*\.so$
-%filter_setup
-}
+# RPM 4.8
+%{?filter_provides_in: %filter_provides_in %{php_extdir}/.*\.so$}
+%{?filter_setup}
+# RPM 4.9
+%global __provides_exclude_from %{?__provides_exclude_from:%__provides_exclude_from|}%{php_extdir}/.*\\.so$
 
 
 %description
@@ -81,6 +82,10 @@ rm -rf %{buildroot}
 
 
 %changelog
+* Thu Jan 19 2012 Remi Collet <remi at fedoraproject.org> - 0.9.2-10
+- build against php 5.4
+- fix filters
+
 * Sat Jan 14 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.9.2-9
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
 


More information about the scm-commits mailing list