[php-horde-Horde-Oauth] cleanups

Remi Collet remi at fedoraproject.org
Mon Jan 13 15:32:44 UTC 2014


commit 53dcc9454faa629ffdf1617047c9b9eb12221660
Author: Remi Collet <remi at fedoraproject.org>
Date:   Mon Jan 13 16:32:47 2014 +0100

    cleanups

 php-horde-Horde-Oauth.spec |    7 -------
 1 files changed, 0 insertions(+), 7 deletions(-)
---
diff --git a/php-horde-Horde-Oauth.spec b/php-horde-Horde-Oauth.spec
index 589c441..432938b 100644
--- a/php-horde-Horde-Oauth.spec
+++ b/php-horde-Horde-Oauth.spec
@@ -13,7 +13,6 @@ License:        BSD
 URL:            http://%{pear_channel}
 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
@@ -53,7 +52,6 @@ cd %{pear_name}-%{version}
 
 
 %install
-rm -rf %{buildroot}
 cd %{pear_name}-%{version}
 %{__pear} install --nodeps --packagingroot %{buildroot} %{name}.xml
 
@@ -65,10 +63,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 || :
@@ -81,7 +75,6 @@ fi
 
 
 %files
-%defattr(-,root,root,-)
 %doc %{pear_docdir}/%{pear_name}
 %{pear_xmldir}/%{name}.xml
 %{pear_phpdir}/Horde/Oauth


More information about the scm-commits mailing list