summaryrefslogtreecommitdiffstats
path: root/php-horde-Horde-Role.spec
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2012-11-05 20:07:15 +0100
committerRemi Collet <fedora@famillecollet.com>2012-11-05 20:07:15 +0100
commit0d836e66295e96af6831519afd6f96db9d552df5 (patch)
tree2a63189885136ae9b193de93365e9a08d9be99ae /php-horde-Horde-Role.spec
parent92caef5a40160a2cce9c90ec2ab431d34ddfeff0 (diff)
php-horde-Horde-Role: cleanups
Diffstat (limited to 'php-horde-Horde-Role.spec')
-rw-r--r--php-horde-Horde-Role.spec21
1 files changed, 10 insertions, 11 deletions
diff --git a/php-horde-Horde-Role.spec b/php-horde-Horde-Role.spec
index d8c4ef8..3ef649f 100644
--- a/php-horde-Horde-Role.spec
+++ b/php-horde-Horde-Role.spec
@@ -5,7 +5,7 @@
Name: php-horde-Horde-Role
Version: 1.0.0
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: PEAR installer role used to install Horde components
Group: Development/Libraries
@@ -20,6 +20,7 @@ BuildRequires: php-channel(%{pear_channel})
Requires(post): %{__pear}
Requires(postun): %{__pear}
+Requires: php(language) >= 5.2.0
Requires: php-pear(PEAR)
Requires: php-channel(%{pear_channel})
@@ -27,8 +28,10 @@ Provides: php-pear(%{pear_channel}/%{pear_name}) = %{version}
%description
-This package provides a method for PEAR to install Horde components into a
-base Horde installation.
+This package provides a method for PEAR to install Horde components into
+the base Horde installation.
+
+System default Horde installation directory is %{_datadir}/horde.
%prep
@@ -49,8 +52,6 @@ cd %{pear_name}-%{version}
%install
-rm -rf %{buildroot}
-
# Horde web files location
mkdir -p %{buildroot}%{_datadir}/horde
@@ -69,10 +70,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 || :
@@ -99,6 +96,8 @@ fi
%changelog
-* Sun Nov 4 2012 Remi Collet <RPMS@FamilleCollet.com> - 1.0.0-1
-- Initial package
+* Mon Nov 5 2012 Remi Collet <remi@fedoraproject.org> - 1.0.0-2
+- cleaups
+* Sun Nov 4 2012 Remi Collet <remi@fedoraproject.org> - 1.0.0-1
+- Initial package