[php-horde-Horde-Service-Gravatar] cleanup

Remi Collet remi at fedoraproject.org
Tue Jul 22 07:31:03 UTC 2014


commit a2cd08ed0c16854d0fd0d72f843978e0881194e2
Author: Remi Collet <remi at fedoraproject.org>
Date:   Tue Jul 22 09:30:31 2014 +0200

    cleanup

 php-horde-Horde-Service-Gravatar.spec |    7 -------
 1 files changed, 0 insertions(+), 7 deletions(-)
---
diff --git a/php-horde-Horde-Service-Gravatar.spec b/php-horde-Horde-Service-Gravatar.spec
index e5cdbcf..e841fc3 100644
--- a/php-horde-Horde-Service-Gravatar.spec
+++ b/php-horde-Horde-Service-Gravatar.spec
@@ -22,7 +22,6 @@ License:        LGPLv2
 URL:            http://pear.horde.org/
 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.0
 BuildRequires:  php-pear(PEAR) >= 1.7.0
@@ -68,7 +67,6 @@ cd %{pear_name}-%{version}
 
 %install
 cd %{pear_name}-%{version}
-rm -rf %{buildroot}
 %{__pear} install --nodeps --packagingroot %{buildroot} %{name}.xml
 
 # Clean up unnecessary files
@@ -92,10 +90,6 @@ phpunit \
 %endif
 
 
-%clean
-rm -rf %{buildroot}
-
-
 %post
 %{__pear} install --nodeps --soft --force --register-only \
     %{pear_xmldir}/%{name}.xml >/dev/null || :
@@ -108,7 +102,6 @@ fi
 
 
 %files
-%defattr(-,root,root,-)
 %doc %{pear_docdir}/%{pear_name}
 %{pear_xmldir}/%{name}.xml
 %dir %{pear_phpdir}/Horde/Service/


More information about the scm-commits mailing list