summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php-horde-Horde-Mime-Viewer.spec17
1 files changed, 7 insertions, 10 deletions
diff --git a/php-horde-Horde-Mime-Viewer.spec b/php-horde-Horde-Mime-Viewer.spec
index c209830..8a47d8d 100644
--- a/php-horde-Horde-Mime-Viewer.spec
+++ b/php-horde-Horde-Mime-Viewer.spec
@@ -4,7 +4,7 @@
%global pear_channel pear.horde.org
Name: php-horde-Horde-Mime-Viewer
-Version: 2.0.0
+Version: 2.0.1
Release: 1%{?dist}
Summary: Horde MIME Viewer Library
@@ -18,7 +18,7 @@ Source1: find-lang.sh
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
-BuildRequires: php-pear
+BuildRequires: php-pear(PEAR) >= 1.7.0
BuildRequires: php-channel(%{pear_channel})
BuildRequires: gettext
BuildRequires: php-pear(%{pear_channel}/Horde_Role) >= 1.0.0
@@ -33,6 +33,7 @@ Requires: php-libxml
Requires: php-pcre
Requires: php-spl
Requires: php-xsl
+Requires: php-pear(PEAR) >= 1.7.0
Requires: php-channel(%{pear_channel})
Requires: php-pear(%{pear_channel}/Horde_Role) >= 1.0.0
Requires: php-pear(%{pear_channel}/Horde_Browser) >= 2.0.0
@@ -59,9 +60,7 @@ Provides: php-pear(%{pear_channel}/%{pear_name}) = %{version}
Provides rendering drivers for MIME data.
%prep
-%setup -q -c -T
-tar xif %{SOURCE0}
-
+%setup -q -c
cd %{pear_name}-%{version}
# Don't install .po and .pot files
@@ -84,7 +83,6 @@ done
%install
cd %{pear_name}-%{version}
-rm -rf %{buildroot}
%{__pear} install --nodeps --packagingroot %{buildroot} %{name}.xml
# Clean up unnecessary files
@@ -101,10 +99,6 @@ sh %{SOURCE1} %{buildroot} %{pear_name}
%endif
-%clean
-rm -rf %{buildroot}
-
-
%post
%{__pear} install --nodeps --soft --force --register-only \
%{pear_xmldir}/%{name}.xml >/dev/null || :
@@ -134,6 +128,9 @@ fi
%changelog
+* Wed Nov 7 2012 Remi Collet <RPMS@FamilleCollet.com> - 2.0.1-1
+- Update to 2.0.1 for remi repo
+
* Sun Nov 4 2012 Remi Collet <RPMS@FamilleCollet.com> - 2.0.0-1
- Initial package