summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2017-03-14 07:43:30 +0100
committerRemi Collet <fedora@famillecollet.com>2017-03-14 07:43:30 +0100
commite34c2c36d5fe9d98dc48cc0e9a612e29318c19b1 (patch)
treee04c3e24564fdc6504c2acaffb7e9e7a7cf62dd1
parent693281d872909274127c3b8005d78a0853592b5b (diff)
php-phpunit-comparator: fix autoloader
-rw-r--r--php-phpunit-comparator.spec7
1 files changed, 6 insertions, 1 deletions
diff --git a/php-phpunit-comparator.spec b/php-phpunit-comparator.spec
index 39ec08a..e775862 100644
--- a/php-phpunit-comparator.spec
+++ b/php-phpunit-comparator.spec
@@ -22,7 +22,7 @@
Name: php-phpunit-comparator
Version: 1.2.4
-Release: 1%{?dist}
+Release: 1%{?dist}.1
Summary: Compare PHP values for equality
Group: Development/Libraries
@@ -74,6 +74,8 @@ Autoloader: %{php_home}/%{ns_vendor}/%{ns_project}/autoload.php
phpab --template fedora --output src/autoload.php src
# Rely on include_path as in PHPUnit dependencies
+sed -e 's:/usr/share/php/::' -i src/autoload.php
+
cat <<EOF | tee -a src/autoload.php
// Dependencies' autoloaders
@@ -131,6 +133,9 @@ rm -rf %{buildroot}
%changelog
+* Tue Mar 14 2017 Remi Collet <remi@fedoraproject.org> - 1.2.4-1.1
+- fix autoloader to rely on include_path for fedora/autoloader
+
* Sun Jan 29 2017 Remi Collet <remi@fedoraproject.org> - 1.2.4-1
- update to 1.2.4