[php-phpunit-Version] cleanups

Remi Collet remi at fedoraproject.org
Fri Apr 5 13:05:17 UTC 2013


commit 8823f0b366afb7ae93c196867039c7dcbb45806c
Author: Remi Collet <remi at fedoraproject.org>
Date:   Fri Apr 5 15:05:07 2013 +0200

    cleanups

 php-phpunit-Version.spec |    9 +--------
 1 files changed, 1 insertions(+), 8 deletions(-)
---
diff --git a/php-phpunit-Version.spec b/php-phpunit-Version.spec
index dae965b..a39fe90 100644
--- a/php-phpunit-Version.spec
+++ b/php-phpunit-Version.spec
@@ -13,7 +13,6 @@ 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.3.3
 BuildRequires:  php-pear(PEAR) >= 1.9.4
@@ -47,7 +46,6 @@ cd %{pear_name}-%{version}
 
 
 %install
-rm -rf %{buildroot}
 cd %{pear_name}-%{version}
 %{__pear} install --nodeps --packagingroot %{buildroot} %{name}.xml
 
@@ -59,10 +57,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 || :
@@ -75,7 +69,6 @@ fi
 
 
 %files
-%defattr(-,root,root,-)
 %doc %{pear_docdir}/%{pear_name}
 %{pear_xmldir}/%{name}.xml
 %dir %{pear_phpdir}/SebastianBergmann
@@ -83,5 +76,5 @@ fi
 
 
 %changelog
-* Thu Apr  4 2013 Remi Collet <RPMS at FamilleCollet.com> - 1.0.0-1
+* Thu Apr  4 2013 Remi Collet <remi at fedoraproject.org> - 1.0.0-1
 - initial package


More information about the scm-commits mailing list