diff options
Diffstat (limited to 'php-JsonSchema.spec')
-rw-r--r-- | php-JsonSchema.spec | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/php-JsonSchema.spec b/php-JsonSchema.spec index bd154bc..5f09374 100644 --- a/php-JsonSchema.spec +++ b/php-JsonSchema.spec @@ -2,7 +2,7 @@ # # Fedora spec file for php-JsonSchema # -# Copyright (c) 2012-2016 Shawn Iwinski <shawn.iwinski@gmail.com> +# Copyright (c) 2012-2018 Shawn Iwinski <shawn.iwinski@gmail.com> # # License: MIT # http://opensource.org/licenses/MIT @@ -16,7 +16,11 @@ %global github_commit cc84765fb7317f6b07bd8ac78364747f95b86341 %global github_short %(c=%{github_commit}; echo ${c:0:7}) +%if 0%{?fedora} < 24 && 0%{?rhel} < 8 +%global with_script 1 +%else %global with_script 0 +%endif # Upstream recommends 5.3.29, ignored as test suite pass with 5.3.3 in RHEL-6 %global php_min_ver 5.3.2 @@ -29,7 +33,7 @@ Name: php-%{lib_name} Version: %{github_version} -Release: 6%{?dist} +Release: 10%{?dist} Summary: PHP implementation of JSON schema Group: Development/Libraries @@ -135,7 +139,7 @@ require '%{buildroot}%{phpdir}/%{lib_name}/autoload.php'; EOF ret=0 -for cmd in php php56 php70 php71 php72; do +for cmd in php php70 php71 php72 php73; do if which $cmd; then $cmd %{_bindir}/phpunit --verbose || ret=1 fi @@ -157,6 +161,9 @@ exit $ret %changelog +* Sun Dec 9 2018 Remi Collet <remi@remirepo.net> - 1.6.1-10 +- cleanup for EL-8 + * Wed May 10 2017 Remi Collet <remi@remirepo.net> - 1.6.1-6 - switch to fedora/autoloader - run test suite against PHP SCLs when available |