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

Nick Bebout nb at fedoraproject.org
Wed Dec 12 21:43:08 UTC 2012


commit 0f08769f1c2219e6c00ae56899af023c1257aa3a
Author: Nick Bebout <nb at fedoraproject.org>
Date:   Wed Dec 12 15:43:00 2012 -0600

    Update to 2.0.1

 .gitignore               |    1 +
 php-horde-Horde-Cli.spec |   18 +++++++++++-------
 sources                  |    2 +-
 3 files changed, 13 insertions(+), 8 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 1e1b22e..a52b27b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 /Horde_Cli-1.0.4.tgz
+/Horde_Cli-2.0.1.tgz
diff --git a/php-horde-Horde-Cli.spec b/php-horde-Horde-Cli.spec
index c845558..5c39718 100644
--- a/php-horde-Horde-Cli.spec
+++ b/php-horde-Horde-Cli.spec
@@ -1,9 +1,10 @@
 %{!?__pear: %{expand: %%global __pear %{_bindir}/pear}}
+%{!?pear_metadir: %global pear_metadir %{pear_phpdir}}
 %global pear_name Horde_Cli
 
 Name:           php-horde-Horde-Cli
-Version:        1.0.4
-Release:        2%{?dist}
+Version:        2.0.1
+Release:        1%{?dist}
 Summary:        Horde Command Line Interface API
 
 Group:          Development/Libraries
@@ -12,18 +13,18 @@ URL:            http://pear.horde.org
 Source0:        http://pear.horde.org/get/%{pear_name}-%{version}.tgz
 
 BuildArch:      noarch
-BuildRequires:  php-pear >= 1.7.0
+BuildRequires:  php-pear(PEAR) >= 1.7.0
 BuildRequires:  php-channel(pear.horde.org)
 BuildRequires:  gettext
 
 Requires(post): %{__pear}
 Requires(postun): %{__pear}
-Requires:       php-pear(pear.horde.org/Horde_Support) < 2.0.0
-Requires:       php-pear(pear.horde.org/Horde_Translation) < 2.0.0
+Requires:       php-pear(pear.horde.org/Horde_Support) >= 2.0.0
+Requires:       php-pear(pear.horde.org/Horde_Translation) >= 2.0.0
 Requires:       php-pear(PEAR) >= 1.7.0
 Requires:       php-channel(pear.horde.org)
 Requires:       php-pcre php-session
-Requires:       php-common >= 5.2.0
+Requires:       php-common >= 5.3.0
 
 Provides:       php-pear(pear.horde.org/%{pear_name}) = %{version}
 
@@ -59,7 +60,7 @@ cd %{pear_name}-%{version}
 PHPRC=../php.ini %{__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}
@@ -88,6 +89,9 @@ fi
 %dir %{pear_datadir}/Horde_Cli/locale/*/LC_MESSAGES
 
 %changelog
+* Wed Dec 12 2012 Nick Bebout <nb at fedoraproject.org> - 2.0.1-1
+- Update to 2.0.1
+
 * Mon Jun 25 2012 Nick Bebout <nb at fedoraproject.org> - 1.0.4-2
 - Fix requires
 
diff --git a/sources b/sources
index 5433c61..f009582 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-18630e80162d0d71a9add8a3ffb693eb  Horde_Cli-1.0.4.tgz
+8e0b0520d62d15b07d6cf9944cf17114  Horde_Cli-2.0.1.tgz


More information about the scm-commits mailing list