Compare commits
1 commit
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3eace57eba |
3 changed files with 19 additions and 10 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -3,3 +3,5 @@
|
||||||
/php-phpunitgoodpractices-traits-1.5.1-10d22ad.tgz
|
/php-phpunitgoodpractices-traits-1.5.1-10d22ad.tgz
|
||||||
/php-phpunitgoodpractices-traits-1.6.0-d3d74de.tgz
|
/php-phpunitgoodpractices-traits-1.6.0-d3d74de.tgz
|
||||||
/php-phpunitgoodpractices-traits-1.7.0-d7864f7.tgz
|
/php-phpunitgoodpractices-traits-1.7.0-d7864f7.tgz
|
||||||
|
/php-phpunitgoodpractices-polyfill-1.2.0-1613c59.tgz
|
||||||
|
/php-phpunitgoodpractices-traits-1.8.0-7bdb460.tgz
|
||||||
|
|
|
||||||
|
|
@ -7,8 +7,9 @@
|
||||||
# Please, preserve the changelog entries
|
# Please, preserve the changelog entries
|
||||||
#
|
#
|
||||||
|
|
||||||
# Github
|
# Polyfill
|
||||||
%global gh_commit f7c9b779e5c14ad37d27b108f2a370bb3c0312e8
|
# https://github.com/PHPUnitGoodPractices/polyfill/releases
|
||||||
|
%global gh_commit 1613c59be473c6b238c119607de820b9274c81fd
|
||||||
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
|
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
|
||||||
%global gh_owner PHPUnitGoodPractices
|
%global gh_owner PHPUnitGoodPractices
|
||||||
%global gh_project polyfill
|
%global gh_project polyfill
|
||||||
|
|
@ -21,16 +22,16 @@
|
||||||
%global php_home %{_datadir}/php
|
%global php_home %{_datadir}/php
|
||||||
%global with_tests 0%{!?_without_tests:1}
|
%global with_tests 0%{!?_without_tests:1}
|
||||||
# Traits
|
# Traits
|
||||||
%global tr_commit d7864f7d8eb9ee2e84eebc45baf3eace73ce2c4b
|
# https://github.com/PHPUnitGoodPractices/Traits/releases
|
||||||
|
%global tr_commit 7bdb460da0f9d4cfa2f11ca1ecb69a6d7f126925
|
||||||
%global tr_short %(c=%{tr_commit}; echo ${c:0:7})
|
%global tr_short %(c=%{tr_commit}; echo ${c:0:7})
|
||||||
%global tr_version 1.7.0
|
%global tr_version 1.8.0
|
||||||
|
|
||||||
Name: php-%{pk_vendor}-%{pk_project}
|
Name: php-%{pk_vendor}-%{pk_project}
|
||||||
Version: 1.1.0
|
Version: 1.2.0
|
||||||
Release: 5%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Lacking future-compat polyfills for PHPUnit
|
Summary: Lacking future-compat polyfills for PHPUnit
|
||||||
|
|
||||||
Group: Development/Tools
|
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://github.com/%{gh_owner}/%{gh_project}
|
URL: https://github.com/%{gh_owner}/%{gh_project}
|
||||||
# git snapshot to get upstream test suite (none for now)
|
# git snapshot to get upstream test suite (none for now)
|
||||||
|
|
@ -53,7 +54,7 @@ BuildRequires: php-fedora-autoloader-devel
|
||||||
# "php": "^5.5 || ^7.0",
|
# "php": "^5.5 || ^7.0",
|
||||||
# "phpunit/phpunit": ""~4.0.0 || ~4.1.0 || ~4.2.0 || ~4.3.0 || ~4.4.0 || ~4.5.0 || ~4.6.0 || ~4.8.0 || ~5.3.0 || ~5.4.0 || ~5.5.0 || ~5.6.0 || ~5.7.0 || ~6.0.0 || ~6.1.0 || ~6.2.0 || ~6.3.0 || ~6.4.0 || ~6.5.0 || ~7.0.0 || ~7.1.0 || ~7.2.6 || ~7.3.0 || ~7.4.0 || ~7.5.0"
|
# "phpunit/phpunit": ""~4.0.0 || ~4.1.0 || ~4.2.0 || ~4.3.0 || ~4.4.0 || ~4.5.0 || ~4.6.0 || ~4.8.0 || ~5.3.0 || ~5.4.0 || ~5.5.0 || ~5.6.0 || ~5.7.0 || ~6.0.0 || ~6.1.0 || ~6.2.0 || ~6.3.0 || ~6.4.0 || ~6.5.0 || ~7.0.0 || ~7.1.0 || ~7.2.6 || ~7.3.0 || ~7.4.0 || ~7.5.0"
|
||||||
Requires: php(language) >= 5.5
|
Requires: php(language) >= 5.5
|
||||||
Requires: (phpunit7 or phpunit6 or php-phpunit-PHPUnit)
|
Requires: (phpunit8 or phpunit7 or phpunit6 or php-phpunit-PHPUnit)
|
||||||
# From phpcompatinfo report for version 1.0.0
|
# From phpcompatinfo report for version 1.0.0
|
||||||
# nothing
|
# nothing
|
||||||
# Autoloader
|
# Autoloader
|
||||||
|
|
@ -87,6 +88,7 @@ require_once '%{php_home}/Fedora/Autoloader/autoload.php';
|
||||||
if (!class_exists('PHPUnit\\Framework\\TestCase')) { // Call outside of phpunit command
|
if (!class_exists('PHPUnit\\Framework\\TestCase')) { // Call outside of phpunit command
|
||||||
\Fedora\Autoloader\Dependencies::required([
|
\Fedora\Autoloader\Dependencies::required([
|
||||||
[
|
[
|
||||||
|
'%{php_home}/PHPUnit8/autoload.php',
|
||||||
'%{php_home}/PHPUnit7/autoload.php',
|
'%{php_home}/PHPUnit7/autoload.php',
|
||||||
'%{php_home}/PHPUnit6/autoload.php',
|
'%{php_home}/PHPUnit6/autoload.php',
|
||||||
'%{php_home}/PHPUnit/Autoload.php',
|
'%{php_home}/PHPUnit/Autoload.php',
|
||||||
|
|
@ -140,6 +142,11 @@ if (!class_exists("PHPUnitGoodPractices\\Traits\\PHPUnitVersionRetriever")) {
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Mar 26 2019 Remi Collet <remi@remirepo.net> - 1.2.0-1
|
||||||
|
- update phpunitgoodpractices/polyfill to 1.2.0
|
||||||
|
- update phpunitgoodpractices/traits to 1.8.0
|
||||||
|
- allow PHPUnit 8
|
||||||
|
|
||||||
* Sat Dec 29 2018 Remi Collet <remi@remirepo.net> - 1.1.0-5
|
* Sat Dec 29 2018 Remi Collet <remi@remirepo.net> - 1.1.0-5
|
||||||
- update phpunitgoodpractices/traits to 1.7.0
|
- update phpunitgoodpractices/traits to 1.7.0
|
||||||
|
|
||||||
|
|
|
||||||
4
sources
4
sources
|
|
@ -1,2 +1,2 @@
|
||||||
SHA512 (php-phpunitgoodpractices-polyfill-1.1.0-f7c9b77.tgz) = a79effb99ddd092ab89a6b734ecac53f0458b480535b7801ae74b645a38331dbde3365f702395c3589e6582749fc839c02db32b74fe6d2e89080065d1402395a
|
SHA512 (php-phpunitgoodpractices-polyfill-1.2.0-1613c59.tgz) = 2c2494f948a3fb235c474fbcb7d70530a06c5973f1616aa0291094dc197ca42874aeee38563479d8e538f4fbebcebc84da114db2a51b4593f129913e14409afb
|
||||||
SHA512 (php-phpunitgoodpractices-traits-1.7.0-d7864f7.tgz) = 63bdfd5a2666f9c954da540f38aa07c8928219913497b83741654b3b5442d82ec324446b14be5927cd2a720ebcaae95c68d13cd34fdfecdd35074dcf0352cb77
|
SHA512 (php-phpunitgoodpractices-traits-1.8.0-7bdb460.tgz) = 00e74a5fc639e718370d238259d2e3727197d5893e91915082eab83776b1d76682e62157fd873eb383e312182a8ca1e3093fe547d3e34fd6ef6d9632768bd289
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue