[php-phpunit-PHPUnit-Story] cleanups
Remi Collet
remi at fedoraproject.org
Tue Apr 2 14:45:23 UTC 2013
commit 2ac928cbf3769a960fc6da3a8375de8454e650e3
Author: Remi Collet <remi at fedoraproject.org>
Date: Tue Apr 2 16:45:12 2013 +0200
cleanups
php-phpunit-PHPUnit-Story.spec | 11 ++---------
1 files changed, 2 insertions(+), 9 deletions(-)
---
diff --git a/php-phpunit-PHPUnit-Story.spec b/php-phpunit-PHPUnit-Story.spec
index 9ed4f96..3a4792e 100644
--- a/php-phpunit-PHPUnit-Story.spec
+++ b/php-phpunit-PHPUnit-Story.spec
@@ -13,15 +13,14 @@ License: BSD
URL: http://www.phpunit.de
Source0: http://%{pear_channel}/get/%{pear_name}-%{version}.tgz
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
-BuildRequires: php(language) >= 5.2.7
+BuildRequires: php(language) >= 5.3.0
BuildRequires: php-pear(PEAR) >= 1.9.4
BuildRequires: php-channel(%{pear_channel})
Requires(post): %{__pear}
Requires(postun): %{__pear}
-Requires: php(language) >= 5.2.7
+Requires: php(language) >= 5.3.0
Requires: php-spl
Requires: php-pear(PEAR) >= 1.9.4
Requires: php-channel(%{pear_channel})
@@ -46,7 +45,6 @@ cd %{pear_name}-%{version}
%install
cd %{pear_name}-%{version}
-rm -rf %{buildroot}
%{__pear} install --nodeps --packagingroot %{buildroot} %{name}.xml
# Clean up unnecessary files
@@ -57,10 +55,6 @@ mkdir -p %{buildroot}%{pear_xmldir}
install -pm 644 %{name}.xml %{buildroot}%{pear_xmldir}
-%clean
-rm -rf %{buildroot}
-
-
%post
%{__pear} install --nodeps --soft --force --register-only \
%{pear_xmldir}/%{name}.xml >/dev/null || :
@@ -73,7 +67,6 @@ fi
%files
-%defattr(-,root,root,-)
%doc %{pear_docdir}/%{pear_name}
%{pear_xmldir}/%{name}.xml
%{pear_phpdir}/PHPUnit/Extensions/Story
More information about the scm-commits
mailing list