summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gitignore7
-rw-r--r--php-phpunit-PHP-CodeCoverage.spec19
2 files changed, 15 insertions, 11 deletions
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/php-phpunit-PHP-CodeCoverage.spec b/php-phpunit-PHP-CodeCoverage.spec
index 5454f5e..f58f953 100644
--- a/php-phpunit-PHP-CodeCoverage.spec
+++ b/php-phpunit-PHP-CodeCoverage.spec
@@ -8,7 +8,7 @@
#
%global bootstrap 0
-%global gh_commit 09e2277d14ea467e5a984010f501343ef29ffc69
+%global gh_commit ef7b2f56815df854e66ceaee8ebe9393ae36a40d
#global gh_date 20150924
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
%global gh_owner sebastianbergmann
@@ -17,7 +17,7 @@
%global pear_name PHP_CodeCoverage
%global pear_channel pear.phpunit.de
%global major 4.0
-%global minor 7
+%global minor 8
%global specrel 1
%if %{bootstrap}
%global with_tests 0%{?_with_tests:1}
@@ -27,7 +27,7 @@
Name: php-phpunit-PHP-CodeCoverage
Version: %{major}.%{minor}
-Release: %{?gh_date:0.%{specrel}.%{?prever}%{!?prever:%{gh_date}git%{gh_short}}}%{!?gh_date:%{specrel}}%{?dist}
+Release: %{?gh_date:1%{specrel}.%{?prever}%{!?prever:%{gh_date}git%{gh_short}}}%{!?gh_date:%{specrel}}%{?dist}
Summary: PHP code coverage information
Group: Development/Libraries
@@ -35,7 +35,6 @@ License: BSD
URL: https://github.com/%{gh_owner}/%{gh_project}
Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit}/%{gh_project}-%{version}-%{gh_short}.tar.gz
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: php(language) >= 5.6
BuildRequires: php-fedora-autoloader-devel
@@ -118,7 +117,6 @@ EOF
%install
-rm -rf %{buildroot}
# Restore PSR-0 tree
mkdir -p %{buildroot}%{php_home}/SebastianBergmann
cp -pr src %{buildroot}%{php_home}/SebastianBergmann/CodeCoverage
@@ -163,10 +161,6 @@ exit $ret
%endif
-%clean
-rm -rf %{buildroot}
-
-
%post
if [ -x %{_bindir}/pear ]; then
%{_bindir}/pear uninstall --nodeps --ignore-errors --register-only \
@@ -175,15 +169,18 @@ fi
%files
-%defattr(-,root,root,-)
%{!?_licensedir:%global license %%doc}
%license LICENSE
-%doc CONTRIBUTING.md README.md composer.json
+%doc README.md
+%doc composer.json
%doc ChangeLog-%{major}.md
%{php_home}/SebastianBergmann/CodeCoverage
%changelog
+* Sun Apr 2 2017 Remi Collet <remi@remirepo.net> - 4.0.8-1
+- Update to 4.0.8
+
* Wed Mar 1 2017 Remi Collet <remi@fedoraproject.org> - 4.0.7-1
- Update to 4.0.7