From c8701d4117ed90b6f554c3edc261d4f900e0b0b4 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Sun, 23 Sep 2012 15:04:32 +0200 Subject: sync with rawhide + update to 1.3.2 --- php-phpunit-File-Iterator.spec | 43 +++++++++++++++++++++++++++++++----------- 1 file changed, 32 insertions(+), 11 deletions(-) (limited to 'php-phpunit-File-Iterator.spec') diff --git a/php-phpunit-File-Iterator.spec b/php-phpunit-File-Iterator.spec index 8d91cfc..736e2a1 100644 --- a/php-phpunit-File-Iterator.spec +++ b/php-phpunit-File-Iterator.spec @@ -3,7 +3,7 @@ %global channel pear.phpunit.de Name: php-phpunit-File-Iterator -Version: 1.3.1 +Version: 1.3.2 Release: 1%{?dist} Summary: FilterIterator implementation that filters files based on a list of suffixes @@ -14,8 +14,10 @@ Source0: http://pear.phpunit.de/get/%{pear_name}-%{version}.tgz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch -BuildRequires: php-pear >= 1:1.9.2 +BuildRequires: php-pear(PEAR) >= 1.9.2 BuildRequires: php-channel(%{channel}) + +Requires: php-pear(PEAR) >= 1.9.2 Requires: php-channel(%{channel}) Requires: php-common >= 5.2.7 Requires(post): %{__pear} @@ -29,8 +31,8 @@ FilterIterator implementation that filters files based on a list of suffixes. %prep %setup -q -c -[ -f package2.xml ] || %{__mv} package.xml package2.xml -%{__mv} package2.xml %{pear_name}-%{version}/%{name}.xml +mv package.xml %{pear_name}-%{version}/%{name}.xml + %build cd %{pear_name}-%{version} @@ -38,21 +40,21 @@ cd %{pear_name}-%{version} %install +rm -rf %{buildroot} cd %{pear_name}-%{version} -%{__rm} -rf $RPM_BUILD_ROOT -%{__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_phpdir}/.??* # 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} %clean -%{__rm} -rf $RPM_BUILD_ROOT +rm -rf %{buildroot} %post @@ -69,14 +71,33 @@ fi %files %defattr(-,root,root,-) -%doc %{pear_docdir}/%{pear_name} %{pear_xmldir}/%{name}.xml %{pear_phpdir}/File +%doc %{pear_docdir}/%{pear_name} + + %changelog +* Sun Sep 23 2012 Remi Collet - 1.3.2-1 +- upstream 1.3.2 + +* Sat Jul 21 2012 Fedora Release Engineering - 1.3.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Tue Jan 17 2012 Remi Collet - 1.3.1-1 +- Version 1.3.1 (stable) - API 1.3.0 (stable) +- unmacro current command +- remove pear version hack + * Mon Jan 16 2012 Remi Collet - 1.3.1-1 - upstream 1.3.1 +* Sat Jan 14 2012 Fedora Release Engineering - 1.3.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Wed Nov 2 2011 Christof Damian - 1.3.0-1 +- upstream 1.3.0 + * Tue Nov 01 2011 Remi Collet - 1.3.0-1 - upstream 1.3.0 -- cgit