[php-horde-Horde-Feed] cleanups

Remi Collet remi at fedoraproject.org
Wed Apr 3 13:18:53 UTC 2013


commit e6c2f4e31af6daa07e2f9f10cf9474a1a87a72bd
Author: Remi Collet <remi at fedoraproject.org>
Date:   Wed Apr 3 15:18:43 2013 +0200

    cleanups

 php-horde-Horde-Feed.spec |    9 ++-------
 1 files changed, 2 insertions(+), 7 deletions(-)
---
diff --git a/php-horde-Horde-Feed.spec b/php-horde-Horde-Feed.spec
index 8fd0339..dc2c46b 100644
--- a/php-horde-Horde-Feed.spec
+++ b/php-horde-Horde-Feed.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
@@ -26,8 +25,10 @@ BuildRequires:  php-pear(%{pear_channel}/Horde_Http) >= 2.0.0
 Requires(post): %{__pear}
 Requires(postun): %{__pear}
 Requires:       php(language) >= 5.3.0
+Requires:       php-date
 Requires:       php-dom
 Requires:       php-libxml
+Requires:       php-spl
 Requires:       php-pear(PEAR) >= 1.7.0
 Requires:       php-pear(%{pear_channel}/Horde_Exception) >= 2.0.0
 Conflicts:      php-pear(%{pear_channel}/Horde_Exception) >= 3.0.0
@@ -56,7 +57,6 @@ cd %{pear_name}-%{version}
 
 
 %install
-rm -rf %{buildroot}
 cd %{pear_name}-%{version}
 %{__pear} install --nodeps --packagingroot %{buildroot} %{name}.xml
 
@@ -83,10 +83,6 @@ phpunit \
     .
 
 
-%clean
-rm -rf %{buildroot}
-
-
 %post
 %{__pear} install --nodeps --soft --force --register-only \
     %{pear_xmldir}/%{name}.xml >/dev/null || :
@@ -99,7 +95,6 @@ fi
 
 
 %files
-%defattr(-,root,root,-)
 %doc %{pear_docdir}/%{pear_name}
 %{pear_xmldir}/%{name}.xml
 %{pear_phpdir}/Horde/Feed


More information about the scm-commits mailing list