[php-horde-Horde-Smtp] cleanups
Remi Collet
remi at fedoraproject.org
Tue Jan 21 16:19:22 UTC 2014
commit fac36f96ad1ab47c864dbb8b8453c6c3e5aac007
Author: Remi Collet <remi at fedoraproject.org>
Date: Tue Jan 21 17:19:18 2014 +0100
cleanups
php-horde-Horde-Smtp.spec | 9 +--------
1 files changed, 1 insertions(+), 8 deletions(-)
---
diff --git a/php-horde-Horde-Smtp.spec b/php-horde-Horde-Smtp.spec
index a1cefd8..1d8db57 100644
--- a/php-horde-Horde-Smtp.spec
+++ b/php-horde-Horde-Smtp.spec
@@ -7,7 +7,7 @@
# Please, preserve the changelog entries
#
%{!?pear_metadir: %global pear_metadir %{pear_phpdir}}
-%{!?__pear: %{expand: %%global __pear %{_bindir}/pear}}
+%{!?__pear: %global __pear %{_bindir}/pear}
%global pear_name Horde_Smtp
%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
@@ -77,7 +76,6 @@ cd %{pear_name}-%{version}
%install
-rm -rf %{buildroot}
cd %{pear_name}-%{version}
%{__pear} install --nodeps --packagingroot %{buildroot} %{name}.xml
@@ -99,10 +97,6 @@ phpunit \
.
-%clean
-rm -rf %{buildroot}
-
-
%post
%{__pear} install --nodeps --soft --force --register-only \
%{pear_xmldir}/%{name}.xml >/dev/null || :
@@ -115,7 +109,6 @@ fi
%files
-%defattr(-,root,root,-)
%doc %{pear_docdir}/%{pear_name}
%{pear_xmldir}/%{name}.xml
%{pear_phpdir}/Horde/Smtp
More information about the scm-commits
mailing list