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 --- .gitignore | 7 +++++++ phinx.spec | 10 +--------- 2 files changed, 8 insertions(+), 9 deletions(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..1ab5c4f --- /dev/null +++ b/.gitignore @@ -0,0 +1,7 @@ +package-*.xml +*.tgz +*.tar.gz +*.tar.xz +*.tar.xz.asc +*.src.rpm +*/*rpm 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