[php-pecl-yaml] PHP 5.4.0 Build

Remi Collet remi at fedoraproject.org
Fri Jan 20 18:24:22 UTC 2012


commit 31016b8ab0ebbe4d5d2a30ca6538b2478e3630d7
Author: remi <fedora at famillecollet.com>
Date:   Fri Jan 20 19:23:54 2012 +0100

    PHP 5.4.0 Build

 php-pecl-yaml.spec |   16 +++++++++++-----
 1 files changed, 11 insertions(+), 5 deletions(-)
---
diff --git a/php-pecl-yaml.spec b/php-pecl-yaml.spec
index e9d2a29..4e07859 100644
--- a/php-pecl-yaml.spec
+++ b/php-pecl-yaml.spec
@@ -5,7 +5,7 @@
 
 Name:           php-pecl-yaml
 Version:        1.0.1
-Release:        5%{?dist}
+Release:        6%{?dist}
 Summary:        Support for YAML 1.1 serialization using the LibYAML library
 Group:          Development/Languages
 
@@ -25,10 +25,12 @@ Requires(postun):   %{__pecl}
 
 Provides:       php-pecl(%{pecl_name}) = %{version}
 
-%{?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
 The YAML PHP Extension provides a wrapper to the LibYAML library. It gives the
@@ -110,6 +112,10 @@ fi
 
 
 %changelog
+* Thu Jan 19 2012 Remi Collet <remi at fedoraproject.org> - 1.0.1-6
+- build against php 5.4
+- fix filters
+
 * Sat Jan 14 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.0.1-5
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
 


More information about the scm-commits mailing list