diff options
Diffstat (limited to 'php-zetacomponents-graph.spec')
-rw-r--r-- | php-zetacomponents-graph.spec | 22 |
1 files changed, 6 insertions, 16 deletions
diff --git a/php-zetacomponents-graph.spec b/php-zetacomponents-graph.spec index b36fb20..628b4e4 100644 --- a/php-zetacomponents-graph.spec +++ b/php-zetacomponents-graph.spec @@ -1,6 +1,6 @@ # remirepo/fedora spec file for php-zetacomponents-graph # -# Copyright (c) 2015-2017 Remi Collet +# Copyright (c) 2015-2019 Remi Collet # License: CC-BY-SA # http://creativecommons.org/licenses/by-sa/4.0/ # @@ -17,10 +17,9 @@ Name: php-%{gh_owner}-%{cname} Version: 1.5.2 -Release: 5%{?dist} +Release: 12%{?dist} Summary: Zeta Graph Component -Group: Development/Libraries License: ASL 2.0 URL: http://zetacomponents.org/ Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit}/%{gh_project}-%{version}-%{gh_short}.tar.gz @@ -30,7 +29,6 @@ Patch0: %{name}-pr16.patch # Upstream Patch1: %{name}-upstream.patch -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: %{_bindir}/phpab %if %{with_tests} @@ -73,7 +71,6 @@ Documentation is available in the %{name}-doc package. %package doc Summary: Documentation for %{name} -Group: Documentation # For License Requires: %{name} = %{version}-%{release} @@ -105,7 +102,6 @@ EOF %install -rm -rf %{buildroot} mkdir -p %{buildroot}%{ezcdir}/autoload : The library @@ -124,6 +120,7 @@ cat <<EOF | tee vendor/autoload.php <?php require '%{ezcdir}/UnitTest/autoloader.php'; require '%{buildroot}%{ezcdir}/%{gh_project}/autoloader.php'; +class_alias('PHPUnit_Framework_Constraint', 'PHPUnit\\Framework\\Constraint'); EOF : Ignore test with erratic result @@ -132,21 +129,12 @@ sed -e 's/testBarChartWithSingleDataPointNumericAxis/SKIP_testBarChartWithSingle : Run test test suite %{_bindir}/phpunit - -if which php70; then - php70 %{_bindir}/phpunit -fi %else : Test suite disabled %endif -%clean -rm -rf %{buildroot} - - %files -%defattr(-,root,root,-) %{!?_licensedir:%global license %%doc} %license LICENSE* CREDITS %doc ChangeLog @@ -155,11 +143,13 @@ rm -rf %{buildroot} %{ezcdir}/%{gh_project} %files doc -%defattr(-,root,root,-) %doc docs design %changelog +* Wed Sep 11 2019 Remi Collet <remi@remimrepo.net> - 1.5.2-12 +- fix FTBFS #1736437 + * Mon Feb 29 2016 Remi Collet <remi@fedoraproject.org> - 1.5.2-5 - add BR glibc-langpack-en, glibc-langpack-de for test suite FTBFS detected by Koschei |