summaryrefslogtreecommitdiffstats
path: root/atoum.spec
diff options
context:
space:
mode:
Diffstat (limited to 'atoum.spec')
-rw-r--r--atoum.spec17
1 files changed, 8 insertions, 9 deletions
diff --git a/atoum.spec b/atoum.spec
index a779d87..7117c76 100644
--- a/atoum.spec
+++ b/atoum.spec
@@ -12,7 +12,7 @@
Name: atoum
Version: 3.2.0
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: PHP Unit Testing framework
Group: Development/Libraries
@@ -20,7 +20,8 @@ License: BSD
URL: http://atoum.org
Source0: https://github.com/%{name}/%{name}/archive/%{gh_commit}/%{name}-%{version}-%{gh_short}.tar.gz
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Patch0: 754.patch
+
BuildArch: noarch
BuildRequires: php(language) >= 5.6
@@ -109,6 +110,7 @@ Optional dependency:
%prep
%setup -qn %{name}-%{gh_commit}
+%patch0 -p1
rm resources/configurations/.gitignore
rm scripts/git/.tag tests/units/classes/scripts/git/.tag
@@ -121,7 +123,6 @@ sed -i bin/%{name} \
%install
-rm -rf %{buildroot}
# create needed directories
mkdir -p %{buildroot}%{_datadir}/%{name}
mkdir -p %{buildroot}%{_bindir}
@@ -142,7 +143,7 @@ export PHPRC=$(pwd)/php.ini
ret=0
for cmd in php php56 php70 php71 php72; do
if which $cmd; then
- $cmd runner.php --use-light-report --max-children-number 4 --directories . || ret=1
+ $cmd runner.php --use-dot-report --max-children-number 4 --directories . || ret=1
fi
done
exit $ret
@@ -151,12 +152,7 @@ exit $ret
%endif
-%clean
-rm -rf %{buildroot}
-
-
%files
-%defattr(-,root,root,-)
%{!?_licensedir:%global license %%doc}
%license LICENSE
%doc ABOUT *.md
@@ -167,6 +163,9 @@ rm -rf %{buildroot}
%changelog
+* Tue Oct 3 2017 Remi Collet <remi@remirepo.net> - 3.2.0-2
+- test build for https://github.com/atoum/atoum/pull/754
+
* Thu Sep 7 2017 Remi Collet <remi@remirepo.net> - 3.2.0-1
- Update to 3.2.0