[php-horde-imp] cleanup

Remi Collet remi at fedoraproject.org
Tue Apr 29 05:03:00 UTC 2014


commit 21847be23cd7b448f5e27abe565f4928af55708a
Author: Remi Collet <remi at fedoraproject.org>
Date:   Tue Apr 29 07:01:00 2014 +0200

    cleanup

 php-horde-imp.spec |    7 -------
 1 files changed, 0 insertions(+), 7 deletions(-)
---
diff --git a/php-horde-imp.spec b/php-horde-imp.spec
index 8c8b4c1..86634f9 100644
--- a/php-horde-imp.spec
+++ b/php-horde-imp.spec
@@ -22,7 +22,6 @@ License:        GPLv2 and MIT
 URL:            http://www.horde.org/apps/imp
 Source0:        http://%{pear_channel}/get/%{pear_name}-%{version}.tgz
 
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
 BuildRequires:  gettext
 BuildRequires:  php(language) >= 5.3.0
@@ -177,7 +176,6 @@ done
 
 %install
 cd %{pear_name}-%{version}
-rm -rf %{buildroot}
 %{__pear} install --nodeps --packagingroot %{buildroot} %{name}.xml
 
 # Clean up unnecessary files
@@ -213,10 +211,6 @@ phpunit\
     .
 
 
-%clean
-rm -rf %{buildroot}
-
-
 %post
 %{__pear} install --nodeps --soft --force --register-only \
     %{pear_xmldir}/%{name}.xml >/dev/null || :
@@ -229,7 +223,6 @@ fi
 
 
 %files -f %{pear_name}.lang
-%defattr(-,root,root,-)
 %doc %{pear_docdir}/%{pear_name}
 %{pear_xmldir}/%{name}.xml
 %config(noreplace) %{_sysconfdir}/httpd/conf.d/%{name}.conf


More information about the scm-commits mailing list