summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2013-09-29 19:45:27 +0200
committerRemi Collet <fedora@famillecollet.com>2013-09-29 19:45:27 +0200
commit16644566bc6e9df706756ed749c7682d81c22fa5 (patch)
tree50174a29cc4593fff922d917847f932d804169c6
parent8f500aae388c79a7eeb55c7469764230bd531679 (diff)
php-PhpOption: 1.3.0 (backport)
-rw-r--r--php-PhpOption.spec21
1 files changed, 14 insertions, 7 deletions
diff --git a/php-PhpOption.spec b/php-PhpOption.spec
index 26e1e8a..1bbc953 100644
--- a/php-PhpOption.spec
+++ b/php-PhpOption.spec
@@ -1,7 +1,7 @@
%global github_owner schmittjoh
%global github_name php-option
-%global github_version 1.2.0
-%global github_commit 24e55357ced5bb041da1416711737b9e144505b4
+%global github_version 1.3.0
+%global github_commit 1c7e8016289d17d83ced49c56d0f266fd0568941
%global lib_name PhpOption
%global php_min_ver 5.3.0
@@ -19,13 +19,13 @@ Source0: %{url}/archive/%{github_commit}/%{name}-%{github_version}-%{githu
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
# For tests
-BuildRequires: php-common >= %{php_min_ver}
+BuildRequires: php(language) >= %{php_min_ver}
BuildRequires: php-pear(pear.phpunit.de/PHPUnit)
# For tests: phpci
BuildRequires: php-spl
-Requires: php-common >= %{php_min_ver}
-# phpci
+Requires: php(language) >= %{php_min_ver}
+# phpcompatinfo
Requires: php-spl
%description
@@ -53,8 +53,8 @@ how he consumes these methods.
%prep
%setup -q -n %{github_name}-%{github_commit}
-# Rewrite tests' bootstrap (which uses Composer autoloader) with simple
-# autoloader that uses include path
+# Rewrite tests' bootstrap (which uses Composer autoloader)
+# with simple autoloader that uses include path( cat <<'AUTOLOAD'
( cat <<'AUTOLOAD'
<?php
spl_autoload_register(function ($class) {
@@ -84,6 +84,13 @@ cp -rp src/%{lib_name} %{buildroot}%{_datadir}/php/
%{_datadir}/php/%{lib_name}
%changelog
+* Sun Sep 28 2013 Remi Collet <RPMS@famillecollet.com> 1.3.0-1
+- backport 1.3.0 for remi repo
+
+* Sat Sep 28 2013 Shawn Iwinski <shawn.iwinski@gmail.com> 1.3.0-1
+- Updated to 1.3.0
+- Other minor updates
+
* Tue Apr 2 2013 Remi Collet <RPMS@famillecollet.com> 1.2.0-1
- backport 1.2.0 for remi repo