From e652c9e88c9438559cc4fb885a14aeb6b3d43cc2 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 6 Oct 2014 13:38:36 +0200 Subject: php-ocramius-instantiator: cleanup --- php-ocramius-instantiator.spec | 20 ++++---------------- 1 file changed, 4 insertions(+), 16 deletions(-) (limited to 'php-ocramius-instantiator.spec') 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 - 1.1.4-2 +- cleanup and test build + * Sun Oct 5 2014 Remi Collet - 1.1.4-1 - update to 1.1.4 -- cgit