diff options
author | Remi Collet <fedora@famillecollet.com> | 2014-01-08 19:14:42 +0100 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2014-01-08 19:14:42 +0100 |
commit | 0a822d2a1209d9318559165fa7fb1dc513a07b73 (patch) | |
tree | 47a0a9d2515b49ebbe6622569652cd9bcd512fe7 /php-nrk-Predis.spec | |
parent | f33e1516c61b4f8d1fde13e74d7bc9c13ed06be7 (diff) |
php-nrk-Predis: test build (for upcoming 0.8.5)
Diffstat (limited to 'php-nrk-Predis.spec')
-rw-r--r-- | php-nrk-Predis.spec | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/php-nrk-Predis.spec b/php-nrk-Predis.spec index 1132fb6..50ab74f 100644 --- a/php-nrk-Predis.spec +++ b/php-nrk-Predis.spec @@ -18,8 +18,8 @@ %endif Name: php-nrk-Predis -Version: 0.8.4 -Release: 1%{?dist} +Version: 0.8.5 +Release: 0%{?dist} Summary: PHP client library for Redis Group: Development/Libraries @@ -27,9 +27,6 @@ License: MIT URL: http://%{pear_channel} Source0: http://%{pear_channel}/get/%{pear_name}-%{version}.tgz -# https://github.com/nrk/predis/issues/126 -Source2: https://raw.github.com/nrk/predis/master/autoload.php - BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: php(language) >= 5.3.2 @@ -86,8 +83,6 @@ install -pm 644 %{name}.xml %{buildroot}%{pear_xmldir} %check %if %{with_tests} -cd %{pear_name}-%{version} -cp %{SOURCE2} . # Launch redis server mkdir -p {run,log,lib}/redis @@ -98,7 +93,9 @@ sed -e "s:/var:$PWD:" \ # Run the test Suite ret=0 -phpunit . || ret=1 +pushd %{buildroot}%{pear_testdir}/%{pear_name} +phpunit --include-path=%{buildroot}%{pear_phpdir} || ret=1 +popd # Cleanup if [ -f run/redis/redis.pid ]; then @@ -135,10 +132,13 @@ fi %doc %{pear_docdir}/%{pear_name} %{pear_xmldir}/%{name}.xml %{pear_phpdir}/%{pear_name} -%{pear_testdir}/Predis +%{pear_testdir}/%{pear_name} %changelog +* Wed Jan 8 2014 Remi Collet <remi@fedoraproject.org> - 0.8.5-0 +- Update to 0.8.5 (test build) + * Sun Jul 28 2013 Remi Collet <remi@fedoraproject.org> - 0.8.4-1 - Update to 0.8.4 |