summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2014-11-25 15:00:11 +0100
committerRemi Collet <fedora@famillecollet.com>2014-11-25 15:00:11 +0100
commit9bef1b4e054d81b20f0034e9bc83d294c2b4c161 (patch)
treec8604df7b615c463a3b3822b9db754cd309ef39d
parent5736ce8e21eff86e4508fd232d92eef89b924466 (diff)
php-theseer-autoload: cleanup
-rw-r--r--php-theseer-autoload.spec11
1 files changed, 6 insertions, 5 deletions
diff --git a/php-theseer-autoload.spec b/php-theseer-autoload.spec
index fe57b20..f4f040b 100644
--- a/php-theseer-autoload.spec
+++ b/php-theseer-autoload.spec
@@ -38,13 +38,14 @@ BuildRequires: %{_bindir}/phpunit
Requires: php(language) >= 5.3.1
Requires: php-composer(theseer/directoryscanner) >= 1.3.0
Requires: php-pear(components.ez.no/ConsoleTools) >= 1.6
-# From phpcompatinfo report for version 1.16.0
-Requires: php-openssl
-Requires: php-phar
-Requires: php-tokenizer
+# From phpcompatinfo report for version 1.16.1
Requires: php-date
Requires: php-json
+Requires: php-openssl
+Requires: php-phar
Requires: php-spl
+Requires: php-tokenizer
+# Optional xdebug
Provides: php-pear(%{pear_channel}/%{pear_name}) = %{version}
Provides: php-composer(theseer/autoload) = %{version}
@@ -85,7 +86,7 @@ require 'TheSeer/DirectoryScanner/autoload.php';
require 'TheSeer/Autoload/autoload.php';
EOF
-phpunit --include-path=%{buildroot}%{pear_phpdir}
+phpunit --include-path=%{buildroot}%{_datadir}/php
%clean