diff options
-rw-r--r-- | php-PhpOption.spec | 21 |
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 |