v1.2.0
This commit is contained in:
parent
c4ea872bb3
commit
55b1445df1
3 changed files with 11 additions and 7 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -1,2 +1,3 @@
|
|||
/php-phpdocumentor-type-resolver1-1.0.1-2e32a6d48972b2c1976ed5d8967145b6cec4a4a9.tar.gz
|
||||
/php-phpdocumentor-type-resolver1-1.1.0-7462d5f123dfc080dfdf26897032a6513644fc95.tar.gz
|
||||
/php-phpdocumentor-type-resolver1-1.2.0-30441f2752e493c639526b215ed81d54f369d693.tar.gz
|
||||
|
|
|
|||
|
|
@ -10,8 +10,8 @@
|
|||
|
||||
%global github_owner phpDocumentor
|
||||
%global github_name TypeResolver
|
||||
%global github_version 1.1.0
|
||||
%global github_commit 7462d5f123dfc080dfdf26897032a6513644fc95
|
||||
%global github_version 1.2.0
|
||||
%global github_commit 30441f2752e493c639526b215ed81d54f369d693
|
||||
|
||||
%global composer_vendor phpdocumentor
|
||||
%global composer_project type-resolver
|
||||
|
|
@ -30,7 +30,7 @@
|
|||
%global reflection_common_max_ver 3
|
||||
|
||||
# Build using "--without tests" to disable tests
|
||||
%global with_tests 0%{!?_without_tests:1}
|
||||
%bcond_without tests
|
||||
|
||||
%{!?phpdir: %global phpdir %{_datadir}/php}
|
||||
|
||||
|
|
@ -50,7 +50,7 @@ Source1: makesrc.sh
|
|||
|
||||
BuildArch: noarch
|
||||
# Tests
|
||||
%if %{with_tests}
|
||||
%if %{with tests}
|
||||
## composer.json
|
||||
BuildRequires: php(language) >= %{php_min_ver}
|
||||
BuildRequires: phpunit8
|
||||
|
|
@ -122,7 +122,7 @@ cp -rp src/* %{buildroot}%{phpdir}/phpDocumentor/Reflection%{ns_major}/
|
|||
|
||||
|
||||
%check
|
||||
%if %{with_tests}
|
||||
%if %{with tests}
|
||||
: Create tests bootstrap
|
||||
cat <<'BOOTSTRAP' | tee bootstrap.php
|
||||
<?php
|
||||
|
|
@ -140,7 +140,7 @@ sed 's#vendor/mockery/mockery/library/Mockery#%{phpdir}/Mockery1#' phpunit.xml.d
|
|||
|
||||
: Upstream tests
|
||||
RETURN_CODE=0
|
||||
for cmdarg in php php72 php73 "php74 %{_bindir}/phpunit9"; do
|
||||
for cmdarg in php php72 php73 php74 php80; do
|
||||
if which $cmdarg; then
|
||||
set $cmdarg
|
||||
$1 -d auto_prepend_file=$PWD/bootstrap.php \
|
||||
|
|
@ -167,6 +167,9 @@ exit $RETURN_CODE
|
|||
|
||||
|
||||
%changelog
|
||||
* Tue Jun 23 2020 Remi Collet <remi@remirepo.net> - 1.2.0-1
|
||||
- update to 1.2.0
|
||||
|
||||
* Tue Mar 3 2020 Remi Collet <remi@remirepo.net> - 1.1.0-1
|
||||
- update to 1.1.0
|
||||
- raise dependency on PHP 7.2
|
||||
|
|
|
|||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
SHA512 (php-phpdocumentor-type-resolver1-1.1.0-7462d5f123dfc080dfdf26897032a6513644fc95.tar.gz) = fec8952e21fad7fe24fb1580afea2a694ddfaa5b6247675fc737bdd17e8420b9d53ca66588c29cf46c5e812b910d9ee9052b9e85c8f0de12d049806f7d3c7e4a
|
||||
SHA512 (php-phpdocumentor-type-resolver1-1.2.0-30441f2752e493c639526b215ed81d54f369d693.tar.gz) = 821d828fbcf2c891a216196804b2d827aecf13498ae5be9e8682b8857248dae3e78f1c3d412abb6739386d73919558c0a13ed5851006c901e00ee9d8d024364d
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue