summaryrefslogtreecommitdiffstats
path: root/phinx.spec
diff options
context:
space:
mode:
Diffstat (limited to 'phinx.spec')
-rw-r--r--phinx.spec10
1 files changed, 1 insertions, 9 deletions
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