From 2fb9f620b55a50369ba1ea2ebe12d16ab1543620 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 6 Jun 2017 07:36:47 +0200 Subject: v0.8.1 --- phinx.spec | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'phinx.spec') diff --git a/phinx.spec b/phinx.spec index f2e7abc..79b6c82 100644 --- a/phinx.spec +++ b/phinx.spec @@ -31,7 +31,6 @@ Source0: %{name}-%{version}-%{?gh_short}.tgz Source1: %{name}-autoload.php Source2: makesrc.sh -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch %if %{with_tests} BuildRequires: php(language) >= 5.4 @@ -105,8 +104,6 @@ EOF %install -rm -rf %{buildroot} - : Library mkdir -p %{buildroot}%{_datadir}/php cp -pr src/%{psr0} %{buildroot}%{_datadir}/php/%{psr0} @@ -132,7 +129,7 @@ sed -e '/_ENABLED/s/true/false/;/SQLITE_ENABLED/s/false/true/' \ : Run upstream test suite ret=0 -for cmd in php56 php70 php71 php; do +for cmd in php php56 php70 php71 php72; do if which $cmd; then $cmd %{_bindir}/phpunit --no-coverage --verbose || ret=1 fi @@ -143,12 +140,7 @@ exit $ret %endif -%clean -rm -rf %{buildroot} - - %files -%defattr(-,root,root,-) %{!?_licensedir:%global license %%doc} %license LICENSE %doc composer.json -- cgit