summaryrefslogtreecommitdiffstats
path: root/php-ocramius-instantiator.spec
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2014-10-06 13:38:36 +0200
committerRemi Collet <fedora@famillecollet.com>2014-10-06 13:38:36 +0200
commite652c9e88c9438559cc4fb885a14aeb6b3d43cc2 (patch)
tree3feb69ec560bdde343659d68b66279ac31f392fc /php-ocramius-instantiator.spec
parente4103861a5115994e2ce7930692ab72a10ab2ae1 (diff)
php-ocramius-instantiator: cleanup
Diffstat (limited to 'php-ocramius-instantiator.spec')
-rw-r--r--php-ocramius-instantiator.spec20
1 files changed, 4 insertions, 16 deletions
diff --git a/php-ocramius-instantiator.spec b/php-ocramius-instantiator.spec
index 60d7577..8b6d054 100644
--- a/php-ocramius-instantiator.spec
+++ b/php-ocramius-instantiator.spec
@@ -21,7 +21,7 @@
Name: php-ocramius-instantiator
Version: 1.1.4
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Instantiate objects in PHP without invoking their constructors
Group: Development/Libraries
@@ -80,21 +80,6 @@ cp -pr src/* %{buildroot}%{_datadir}/php
--output autoload.php \
src tests %{_datadir}/php/LazyMap
-if [ -d /usr/share/php/PHPUnit ] \
- && ! grep -q Doctrine /usr/share/php/PHPUnit/Autoload.php
-then
- # Hack PHPUnit 4.2 autoloader to not use system Instantiator
- mkdir PHPUnit
- sed -e '/Instantiator/d' \
- -e 's:dirname(__FILE__):"/usr/share/php/PHPUnit":' \
- /usr/share/php/PHPUnit/Autoload.php \
- >PHPUnit/Autoload.php
-fi
-
-sed -e 's/colors="true"//' \
- -e '/log/d' \
- phpunit.xml.dist >phpunit.xml
-
: Run test suite
%{_bindir}/phpunit \
--bootstrap autoload.php \
@@ -117,6 +102,9 @@ rm -rf %{buildroot}
%changelog
+* Mon Oct 6 2014 Remi Collet <remi@fedoraproject.org> - 1.1.4-2
+- cleanup and test build
+
* Sun Oct 5 2014 Remi Collet <remi@fedoraproject.org> - 1.1.4-1
- update to 1.1.4