[php-horde-Horde-Date] Update to 2.0.1

Nick Bebout nb at fedoraproject.org
Wed Dec 12 21:16:36 UTC 2012


commit 71edfebe59df17864dee85c8b721857699be1d98
Author: Nick Bebout <nb at fedoraproject.org>
Date:   Wed Dec 12 15:16:29 2012 -0600

    Update to 2.0.1

 .gitignore                |    1 +
 php-horde-Horde-Date.spec |   22 +++++++++++++---------
 sources                   |    2 +-
 3 files changed, 15 insertions(+), 10 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index ad84190..383635a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 /Horde_Date-1.0.11.tgz
+/Horde_Date-2.0.1.tgz
diff --git a/php-horde-Horde-Date.spec b/php-horde-Horde-Date.spec
index af62e43..1051ced 100644
--- a/php-horde-Horde-Date.spec
+++ b/php-horde-Horde-Date.spec
@@ -1,10 +1,11 @@
 %{!?__pear: %{expand: %%global __pear %{_bindir}/pear}}
+%{!?pear_metadir: %global pear_metadir %{pear_phpdir}}
 %global pear_name Horde_Date
 %global pear_channel pear.horde.org
 
 Name:           php-horde-Horde-Date
-Version:        1.0.11
-Release:        3%{?dist}
+Version:        2.0.1
+Release:        1%{?dist}
 Summary:        Horde Date package
 
 Group:          Development/Libraries
@@ -14,17 +15,17 @@ Source0:        http://pear.horde.org/get/%{pear_name}-%{version}.tgz
 
 BuildArch:      noarch
 
-BuildRequires:  php-pear >= 1:1.4.9-1.2
+BuildRequires:  php-pear(PEAR) >= 1.7.0
 BuildRequires:  php-channel(%{pear_channel})
 BuildRequires:  gettext
 
 Requires(post): %{__pear}
 Requires(postun): %{__pear}
-Requires:       php-pear(%{pear_channel}/Horde_Nls) < 2.0.0
-Requires:       php-pear(%{pear_channel}/Horde_Translation) < 2.0.0
-Requires:       php-pear(%{pear_channel}/Horde_Exception) < 2.0.0
-Requires:       php-pear(%{pear_channel}/Horde_Util) < 2.0.0
-Requires:       php-common >= 5.2.0
+Requires:       php-pear(%{pear_channel}/Horde_Nls) >= 2.0.0
+Requires:       php-pear(%{pear_channel}/Horde_Translation) >= 2.0.0
+Requires:       php-pear(%{pear_channel}/Horde_Exception) >= 2.0.0
+Requires:       php-common >= 5.3.0
+Requires:       php-pear(PEAR) >= 1.7.0
 
 Provides:       php-pear(%{pear_channel}/%{pear_name}) = %{version}
 
@@ -58,7 +59,7 @@ cd %{pear_name}-%{version}
 %{__pear} install --nodeps --packagingroot $RPM_BUILD_ROOT %{name}.xml
 
 # Clean up unnecessary files
-rm -rf $RPM_BUILD_ROOT%{pear_phpdir}/.??*
+rm -rf $RPM_BUILD_ROOT%{pear_metadir}/.??*
 
 # Install XML package description
 mkdir -p $RPM_BUILD_ROOT%{pear_xmldir}
@@ -89,6 +90,9 @@ fi
 
 
 %changelog
+* Wed Dec 12 2012 Nick Bebout <nb at fedoraproject.org> - 2.0.1-1
+- Update to 2.0.1
+
 * Sun Aug 19 2012 Remi Collet <remi at fedoraproject.org> - 1.0.11-3
 - rebuilt for new pear_datadir
 
diff --git a/sources b/sources
index 0c52d6c..30fafeb 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-ff48ed46c8bfd4817fa7590ba0a5eb72  Horde_Date-1.0.11.tgz
+f615963a53efb1c41e68caa2df512a8e  Horde_Date-2.0.1.tgz


More information about the scm-commits mailing list