[php-horde-Horde-Data] update to 2.0.4
Remi Collet
remi at fedoraproject.org
Sun Jun 2 07:16:34 UTC 2013
commit d18fdc9f205449b6b47d44f30858a95657e3bb0f
Author: Remi Collet <remi at fedoraproject.org>
Date: Sun Jun 2 09:16:19 2013 +0200
update to 2.0.4
.gitignore | 2 ++
php-horde-Horde-Data.spec | 29 ++++++++++++++++++-----------
sources | 2 +-
3 files changed, 21 insertions(+), 12 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index b775772..2a15085 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,3 @@
+*spec~
/Horde_Data-2.0.3.tgz
+/Horde_Data-2.0.4.tgz
diff --git a/php-horde-Horde-Data.spec b/php-horde-Horde-Data.spec
index 1061bad..d890abc 100644
--- a/php-horde-Horde-Data.spec
+++ b/php-horde-Horde-Data.spec
@@ -4,8 +4,8 @@
%global pear_channel pear.horde.org
Name: php-horde-Horde-Data
-Version: 2.0.3
-Release: 3%{?dist}
+Version: 2.0.4
+Release: 1%{?dist}
Summary: Horde Data API
Group: Development/Libraries
@@ -14,6 +14,7 @@ URL: http://pear.horde.org
Source0: http://%{pear_channel}/get/%{pear_name}-%{version}.tgz
BuildArch: noarch
+BuildRequires: php(language) >= 5.3.0
BuildRequires: php-pear(PEAR) >= 1.7.0
BuildRequires: php-channel(%{pear_channel})
BuildRequires: gettext
@@ -22,26 +23,26 @@ BuildRequires: php-pear(%{pear_channel}/Horde_Test) >= 2.1.0
Requires(post): %{__pear}
Requires(postun): %{__pear}
-Requires: php-common >= 5.3.0
+Requires: php(language) >= 5.3.0
Requires: php-date
Requires: php-pcre
Requires: php-spl
Requires: php-pear(PEAR) >= 1.7.0
Requires: php-channel(%{pear_channel})
Requires: php-pear(%{pear_channel}/Horde_Browser) >= 2.0.0
-Conflicts: php-pear(%{pear_channel}/Horde_Browser) >= 3.0.0
+Requires: php-pear(%{pear_channel}/Horde_Browser) < 3.0.0
Requires: php-pear(%{pear_channel}/Horde_Exception) >= 2.0.0
-Conflicts: php-pear(%{pear_channel}/Horde_Exception) >= 3.0.0
+Requires: php-pear(%{pear_channel}/Horde_Exception) < 3.0.0
Requires: php-pear(%{pear_channel}/Horde_Icalendar) >= 2.0.0
-Conflicts: php-pear(%{pear_channel}/Horde_Icalendar) >= 3.0.0
+Requires: php-pear(%{pear_channel}/Horde_Icalendar) < 3.0.0
Requires: php-pear(%{pear_channel}/Horde_Mail) >= 2.0.0
-Conflicts: php-pear(%{pear_channel}/Horde_Mail) >= 3.0.0
+Requires: php-pear(%{pear_channel}/Horde_Mail) < 3.0.0
Requires: php-pear(%{pear_channel}/Horde_Mime) >= 2.0.0
-Conflicts: php-pear(%{pear_channel}/Horde_Mime) >= 3.0.0
+Requires: php-pear(%{pear_channel}/Horde_Mime) < 3.0.0
Requires: php-pear(%{pear_channel}/Horde_Translation) >= 2.0.0
-Conflicts: php-pear(%{pear_channel}/Horde_Translation) >= 3.0.0
+Requires: php-pear(%{pear_channel}/Horde_Translation) < 3.0.0
Requires: php-pear(%{pear_channel}/Horde_Util) >= 2.0.0
-Conflicts: php-pear(%{pear_channel}/Horde_Util) >= 3.0.0
+Requires: php-pear(%{pear_channel}/Horde_Util) < 3.0.0
Provides: php-pear(%{pear_channel}/%{pear_name}) = %{version}
@@ -95,9 +96,10 @@ done | tee ../%{pear_name}.lang
%check
+src=$(pwd)/%{pear_name}-%{version}
cd %{pear_name}-%{version}/test/$(echo %{pear_name} | sed -e s:_:/:g)
phpunit \
- -d include_path=%{buildroot}%{pear_phpdir}:.:%{pear_phpdir} \
+ -d include_path=$src/lib:.:%{pear_phpdir} \
-d date.timezone=UTC \
.
@@ -124,6 +126,11 @@ fi
%changelog
+* Fri May 31 2013 Remi Collet <remi at fedoraproject.org> - 2.0.4-1
+- Update to 2.0.4
+- switch from Conflicts to Requires
+- modernize %%check
+
* Tue Mar 26 2013 Nick Bebout <nb at fedoraproject.org> - 2.0.3-3
- Update for review
diff --git a/sources b/sources
index cd7a9df..b369104 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-b767a7bca3db1b6efa2e930bb60f489d Horde_Data-2.0.3.tgz
+690012eec5189ec9847872af75ca98cd Horde_Data-2.0.4.tgz
More information about the scm-commits
mailing list