[php-horde-Horde-Pack] cleanups
Remi Collet
remi at fedoraproject.org
Tue Jan 21 16:36:12 UTC 2014
commit fc32722480736a2aaf6e965307fa18102c9c0c16
Author: Remi Collet <remi at fedoraproject.org>
Date: Tue Jan 21 17:36:22 2014 +0100
cleanups
php-horde-Horde-Pack.spec | 9 +--------
1 files changed, 1 insertions(+), 8 deletions(-)
---
diff --git a/php-horde-Horde-Pack.spec b/php-horde-Horde-Pack.spec
index d29f49d..c8d935b 100644
--- a/php-horde-Horde-Pack.spec
+++ b/php-horde-Horde-Pack.spec
@@ -7,7 +7,7 @@
# Please, preserve the changelog entries
#
%{!?pear_metadir: %global pear_metadir %{pear_phpdir}}
-%{!?__pear: %global __pear %{_bindir}/pear}
+%{!?__pear: %global __pear %{_bindir}/pear}
%global pear_name Horde_Pack
%global pear_channel pear.horde.org
@@ -21,7 +21,6 @@ License: LGPLv2
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
@@ -73,7 +72,6 @@ cd %{pear_name}-%{version}
%install
-rm -rf %{buildroot}
cd %{pear_name}-%{version}
%{__pear} install --nodeps --packagingroot %{buildroot} %{name}.xml
@@ -94,10 +92,6 @@ phpunit \
.
-%clean
-rm -rf %{buildroot}
-
-
%post
%{__pear} install --nodeps --soft --force --register-only \
%{pear_xmldir}/%{name}.xml >/dev/null || :
@@ -110,7 +104,6 @@ fi
%files
-%defattr(-,root,root,-)
%doc %{pear_docdir}/%{pear_name}
%{pear_xmldir}/%{name}.xml
%{pear_phpdir}/Horde/Pack
More information about the scm-commits
mailing list