diff options
| author | Remi Collet <remi@remirepo.net> | 2024-07-08 09:04:26 +0200 | 
|---|---|---|
| committer | Remi Collet <remi@php.net> | 2024-07-08 09:04:26 +0200 | 
| commit | cf16460daef12e6d2346bfeb0bcdf3282fbd0cea (patch) | |
| tree | 22e02c308285bf7414070a204c4a2693d448a499 | |
| parent | d36dd4c77ea53076981a1b9727117e301869945a (diff) | |
raise dependency on PHP 7.1
| -rw-r--r-- | composer.json | 17 | ||||
| -rw-r--r-- | php-justinrainbow-json-schema5.spec | 21 | 
2 files changed, 18 insertions, 20 deletions
| diff --git a/composer.json b/composer.json index fcacd40..8c32267 100644 --- a/composer.json +++ b/composer.json @@ -27,18 +27,13 @@          }      ],      "require": { -        "php": ">=5.3.3" +        "php": ">=7.1"      },      "require-dev": {          "friendsofphp/php-cs-fixer": "~2.2.20||~2.15.1",          "json-schema/json-schema-test-suite": "1.2.0",          "phpunit/phpunit": "^4.8.35"      }, -    "extra": { -        "branch-alias": { -            "dev-master": "5.0.x-dev" -        } -    },      "autoload": {          "psr-4": {              "JsonSchema\\": "src/JsonSchema/" @@ -67,10 +62,10 @@          "bin/validate-json"      ],      "scripts": { -        "coverage": "phpunit --coverage-text", -        "style-check": "php-cs-fixer fix --dry-run --verbose --diff", -        "style-fix": "php-cs-fixer fix --verbose", -        "test": "phpunit", -        "testOnly": "phpunit --colors --filter" +        "coverage": "@php phpunit --coverage-text", +        "style-check": "@php php-cs-fixer fix --dry-run --verbose --diff", +        "style-fix": "@php php-cs-fixer fix --verbose", +        "test": "@php phpunit", +        "testOnly": "@php phpunit --colors --filter"      }  } diff --git a/php-justinrainbow-json-schema5.spec b/php-justinrainbow-json-schema5.spec index d3ce35f..89c4f3d 100644 --- a/php-justinrainbow-json-schema5.spec +++ b/php-justinrainbow-json-schema5.spec @@ -1,6 +1,6 @@  # remirepo/fedora spec file for php-justinrainbow-json-schema5  # -# Copyright (c) 2016-2023 Remi Collet +# Copyright (c) 2016-2024 Remi Collet  # License: CC-BY-SA-4.0  # http://creativecommons.org/licenses/by-sa/4.0/  # @@ -14,7 +14,7 @@  %bcond_without       tests  %endif -%global gh_commit    fbbe7e5d79f618997bc3332a6f49246036c45793 +%global gh_commit    feb2ca6dd1cebdaf1ed60a4c8de2e53ce11c4fd8  %global gh_short     %(c=%{gh_commit}; echo ${c:0:7})  %global gh_owner     justinrainbow  %global gh_project   json-schema @@ -34,7 +34,7 @@  %global eolv2        0  Name:           php-%{gh_owner}-%{gh_project}%{major} -Version:        5.2.13 +Version:        5.3.0  Release:        1%{?dist}  Summary:        A library to validate a json schema  License:        MIT @@ -52,7 +52,7 @@ Patch0:         %{name}-rpm.patch  BuildArch:      noarch  %if %{with tests}  # For tests -BuildRequires:  php(language) >= 5.3.3 +BuildRequires:  php(language) >= 7.1  BuildRequires:  php-curl  BuildRequires:  php-date  BuildRequires:  php-filter @@ -72,8 +72,8 @@ BuildRequires:  composer  %endif  # From composer.json, "require": { -#        "php": ">=5.3.3" -Requires:       php(language) >= 5.3.3 +#        "php": ">=7.1" +Requires:       php(language) >= 7.1  # From phpcompatinfo report for version 4.0.1  Requires:       php-curl  Requires:       php-date @@ -163,7 +163,7 @@ php bin/validate-json-test \  : Upstream test suite  ret=0 -for cmd in php php80 php81 php82 php83; do +for cmd in php php81 php82 php83; do    if which $cmd; then     $cmd -d memory_limit=1G %{_bindir}/phpunit -d memory_limit=1G --verbose || ret=1    fi @@ -175,8 +175,7 @@ exit $ret  %files -# remirepo:1 -%{!?_licensedir:%global license %%doc} +%global license %%doc  %license LICENSE  %doc composer.json  %doc *.md @@ -186,6 +185,10 @@ exit $ret  %changelog +* Mon Jul  8 2024 Remi Collet <remi@remirepo.net> - 5.3.0-1 +- update to 5.3.0 +- raise dependency on PHP 7.1 +  * Thu Sep 28 2023 Remi Collet <remi@remirepo.net> - 5.2.13-1  - update to 5.2.13  - disable test suite | 
