[php-phpunit-diff] cleanups

Remi Collet remi at fedoraproject.org
Tue Oct 22 13:59:09 UTC 2013


commit bdedc5fd5fb16a7295ccac7737bb7356b74afc4d
Author: Remi Collet <remi at fedoraproject.org>
Date:   Tue Oct 22 15:59:02 2013 +0200

    cleanups

 php-phpunit-diff.spec |    8 --------
 1 files changed, 0 insertions(+), 8 deletions(-)
---
diff --git a/php-phpunit-diff.spec b/php-phpunit-diff.spec
index 8de4632..97cc443 100644
--- a/php-phpunit-diff.spec
+++ b/php-phpunit-diff.spec
@@ -21,7 +21,6 @@ License:        BSD
 URL:            https://github.com/sebastianbergmann/diff
 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
@@ -59,7 +58,6 @@ cd %{pear_name}-%{version}
 
 
 %install
-rm -rf %{buildroot}
 cd %{pear_name}-%{version}
 %{__pear} install --nodeps --packagingroot %{buildroot} %{name}.xml
 
@@ -71,10 +69,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 || :
@@ -87,14 +81,12 @@ fi
 
 
 %files
-%defattr(-,root,root,-)
 %doc %{pear_docdir}/%{pear_name}
 %{pear_xmldir}/%{name}.xml
 %dir %{pear_phpdir}/SebastianBergmann
 %{pear_phpdir}/SebastianBergmann/%{pear_name}
 
 
-
 %changelog
 * Sun Oct 20 2013 Remi Collet <remi at fedoraproject.org> - 1.1.0-2
 - rename to lowercase


More information about the scm-commits mailing list