commit d6c463f62659ef7cfc19d66b3541d0d27d82a593 Author: Shawn Iwinski shawn.iwinski@gmail.com Date: Fri Nov 30 16:19:42 2012 -0500
Updated to upstream version 2.0.19
.gitignore | 1 + php-symfony2-DomCrawler.spec | 16 +++++++++++----- sources | 1 + 3 files changed, 13 insertions(+), 5 deletions(-) --- diff --git a/.gitignore b/.gitignore index a26d685..f899d79 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /DomCrawler-2.0.16.tgz /DomCrawler-2.0.17.tgz /DomCrawler-2.0.18.tgz +/DomCrawler-2.0.19.tgz diff --git a/php-symfony2-DomCrawler.spec b/php-symfony2-DomCrawler.spec index 1b08fe3..5d09587 100644 --- a/php-symfony2-DomCrawler.spec +++ b/php-symfony2-DomCrawler.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-DomCrawler -Version: 2.0.18 +Version: 2.0.19 Release: 1%{?dist} Summary: Symfony2 %{pear_name} Component
@@ -48,14 +49,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@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@gmail.com 2.0.18-1 - Updated to upstream version 2.0.18
diff --git a/sources b/sources index f716d57..8fa60d5 100644 --- a/sources +++ b/sources @@ -2,3 +2,4 @@ c835bef905d7c2708db92d6df1fa5258 DomCrawler-2.0.15.tgz 9fe3c004f4c5d82ae9e68f7e32ec99dd DomCrawler-2.0.16.tgz 13ca2b25a5bf9fc2a91398792fe5bf01 DomCrawler-2.0.17.tgz 591204e51f30cf9a45ed0ab6f448694d DomCrawler-2.0.18.tgz +e53bab40c43c15045e554c53741ab75e DomCrawler-2.0.19.tgz