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

Shawn Iwinski siwinski at fedoraproject.org
Fri Nov 30 21:19:23 UTC 2012


commit 2d1c35a5fbaff2ef958c068eaa4a34456781a75e
Author: Shawn Iwinski <shawn.iwinski at gmail.com>
Date:   Fri Nov 30 16:19:20 2012 -0500

    Updated to upstream version 2.0.19

 .gitignore                            |    1 +
 php-symfony2-DependencyInjection.spec |   16 +++++++++++-----
 sources                               |    1 +
 3 files changed, 13 insertions(+), 5 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 1216025..9f81a4b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@
 /DependencyInjection-2.0.16.tgz
 /DependencyInjection-2.0.17.tgz
 /DependencyInjection-2.0.18.tgz
+/DependencyInjection-2.0.19.tgz
diff --git a/php-symfony2-DependencyInjection.spec b/php-symfony2-DependencyInjection.spec
index 5d70d14..b101aec 100644
--- a/php-symfony2-DependencyInjection.spec
+++ b/php-symfony2-DependencyInjection.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-DependencyInjection
-Version:          2.0.18
+Version:          2.0.19
 Release:          1%{?dist}
 Summary:          Symfony2 %{pear_name} Component
 
@@ -56,14 +57,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
@@ -85,6 +86,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 f37ab9a..e7736b3 100644
--- a/sources
+++ b/sources
@@ -2,3 +2,4 @@
 baff72f3f01d16f6a1691c1552f6ecfe  DependencyInjection-2.0.16.tgz
 afcacc38e4d4fbb6ff00e9afa79abaf5  DependencyInjection-2.0.17.tgz
 56b17f73e4417ff676e21317808fe30d  DependencyInjection-2.0.18.tgz
+135b13ab5c31d29243ad7f66eede5edd  DependencyInjection-2.0.19.tgz


More information about the scm-commits mailing list