[php-symfony2-Config/f16] Updated to upstream version 2.0.19

Shawn Iwinski siwinski at fedoraproject.org
Fri Nov 30 21:17:29 UTC 2012


commit 533054923301eacfaeb7942f55f33c73e5f68368
Author: Shawn Iwinski <shawn.iwinski at gmail.com>
Date:   Fri Nov 30 16:17:27 2012 -0500

    Updated to upstream version 2.0.19

 .gitignore               |    1 +
 php-symfony2-Config.spec |   16 +++++++++++-----
 sources                  |    1 +
 3 files changed, 13 insertions(+), 5 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 9929228..f49b66b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,3 +4,4 @@
 /Config-2.0.16.tgz
 /Config-2.0.17.tgz
 /Config-2.0.18.tgz
+/Config-2.0.19.tgz
diff --git a/php-symfony2-Config.spec b/php-symfony2-Config.spec
index 9e686c1..fedf37c 100644
--- a/php-symfony2-Config.spec
+++ b/php-symfony2-Config.spec
@@ -1,10 +1,11 @@
 %{!?__pear: %{expand: %%global __pear %{_bindir}/pear}}
+%{!?pear_metadir: %global pear_metadir %{pear_phpdir}}
 
 %global pear_channel pear.symfony.com
 %global pear_name    %(echo %{name} | sed -e 's/^php-symfony2-//' -e 's/-/_/g')
 
 Name:             php-symfony2-Config
-Version:          2.0.18
+Version:          2.0.19
 Release:          1%{?dist}
 Summary:          Symfony2 %{pear_name} Component
 
@@ -46,14 +47,14 @@ mv package.xml %{pear_name}-%{version}/%{name}.xml
 
 %install
 cd %{pear_name}-%{version}
-%{__pear} install --nodeps --packagingroot $RPM_BUILD_ROOT %{name}.xml
+%{__pear} install --nodeps --packagingroot %{buildroot} %{name}.xml
 
 # Clean up unnecessary files
-rm -rf $RPM_BUILD_ROOT%{pear_phpdir}/.??*
+rm -rf %{buildroot}%{pear_metadir}/.??*
 
 # Install XML package description
-mkdir -p $RPM_BUILD_ROOT%{pear_xmldir}
-install -pm 644 %{name}.xml $RPM_BUILD_ROOT%{pear_xmldir}
+mkdir -p %{buildroot}%{pear_xmldir}
+install -pm 644 %{name}.xml %{buildroot}%{pear_xmldir}
 
 
 %post
@@ -77,6 +78,11 @@ fi
 
 
 %changelog
+* Fri Nov 30 2012 Shawn Iwinski <shawn.iwinski at gmail.com> 2.0.19-1
+- Updated to upstream version 2.0.19
+- Added "%%global pear_metadir" and usage in %%install
+- Changed RPM_BUILD_ROOT to %%{buildroot}
+
 * Sun Nov 11 2012 Shawn Iwinski <shawn.iwinski at gmail.com> 2.0.18-1
 - Updated to upstream version 2.0.18
 
diff --git a/sources b/sources
index a9cd503..5ace35a 100644
--- a/sources
+++ b/sources
@@ -2,3 +2,4 @@
 a31b33a4b7c76ea5b56a70c8be99c1ee  Config-2.0.16.tgz
 5c49065b2afe1228ae3754f0f55e6248  Config-2.0.17.tgz
 9c47d3c59888cf2df6b5a053321213ff  Config-2.0.18.tgz
+674321a3a88dc696abab593135a464a6  Config-2.0.19.tgz


More information about the scm-commits mailing list