diff options
author | Remi Collet <remi@remirepo.net> | 2018-12-09 08:29:06 +0100 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2018-12-09 08:29:06 +0100 |
commit | c37c5252a5c188679680f20be900fb16d4e1e119 (patch) | |
tree | ce3a3e9c3f22c5a1b0067668510ed56120acecf6 | |
parent | a73586155a3e6f421f7ba2a19dd40a6fe2935e2c (diff) |
cleanup for EL-8
-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 |