Compare commits
No commits in common. "rawhide" and "f41" have entirely different histories.
1 changed files with 11 additions and 16 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
# remirepo/fedora spec file for php-phpdocumentor-reflection-common2
|
# remirepo/fedora spec file for php-phpdocumentor-reflection-common2
|
||||||
#
|
#
|
||||||
# Copyright (c) 2017-2025 Remi Collet, Shawn Iwinski
|
# Copyright (c) 2017-2021 Remi Collet, Shawn Iwinski
|
||||||
#
|
#
|
||||||
# License: MIT
|
# License: MIT
|
||||||
# http://opensource.org/licenses/MIT
|
# http://opensource.org/licenses/MIT
|
||||||
|
|
@ -28,7 +28,7 @@
|
||||||
|
|
||||||
Name: php-%{composer_vendor}-%{composer_project}%{major}
|
Name: php-%{composer_vendor}-%{composer_project}%{major}
|
||||||
Version: %{github_version}
|
Version: %{github_version}
|
||||||
Release: 15%{?github_release}%{?dist}
|
Release: 12%{?github_release}%{?dist}
|
||||||
Summary: Common reflection classes used by phpdocumentor
|
Summary: Common reflection classes used by phpdocumentor
|
||||||
|
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
|
|
@ -44,15 +44,19 @@ BuildArch: noarch
|
||||||
%if %{with_tests}
|
%if %{with_tests}
|
||||||
## composer.json
|
## composer.json
|
||||||
BuildRequires: php(language) >= %{php_min_ver}
|
BuildRequires: php(language) >= %{php_min_ver}
|
||||||
BuildRequires: phpunit9
|
BuildRequires: phpunit7
|
||||||
%endif
|
## phpcompatinfo (computed from version 2.0.0)
|
||||||
|
BuildRequires: php-pcre
|
||||||
|
BuildRequires: php-spl
|
||||||
## Autoloader
|
## Autoloader
|
||||||
BuildRequires: php-fedora-autoloader-devel
|
BuildRequires: php-fedora-autoloader-devel
|
||||||
|
%endif
|
||||||
|
|
||||||
# composer.json
|
# composer.json
|
||||||
Requires: php(language) >= %{php_min_ver}
|
Requires: php(language) >= %{php_min_ver}
|
||||||
# phpcompatinfo (computed from version 2.0.0)
|
# phpcompatinfo (computed from version 2.0.0)
|
||||||
# only pcre and spl
|
Requires: php-pcre
|
||||||
|
Requires: php-spl
|
||||||
# Autoloader
|
# Autoloader
|
||||||
Requires: php-composer(fedora/autoloader)
|
Requires: php-composer(fedora/autoloader)
|
||||||
|
|
||||||
|
|
@ -87,10 +91,10 @@ touch vendor/autoload.php
|
||||||
|
|
||||||
: Upstream tests
|
: Upstream tests
|
||||||
RETURN_CODE=0
|
RETURN_CODE=0
|
||||||
for PHP_EXEC in php php81 php82 php83 php84; do
|
for PHP_EXEC in php php73 php74 php80; do
|
||||||
if which $PHP_EXEC; then
|
if which $PHP_EXEC; then
|
||||||
$PHP_EXEC -d auto_prepend_file=$BOOTSTRAP \
|
$PHP_EXEC -d auto_prepend_file=$BOOTSTRAP \
|
||||||
%{_bindir}/phpunit9 --no-coverage || RETURN_CODE=1
|
%{_bindir}/phpunit7 --no-coverage --verbose || RETURN_CODE=1
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
exit $RETURN_CODE
|
exit $RETURN_CODE
|
||||||
|
|
@ -116,15 +120,6 @@ exit $RETURN_CODE
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.0-15
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
|
|
||||||
|
|
||||||
* Thu Jun 26 2025 Remi Collet <remi@remirepo.net> - 2.2.0-14
|
|
||||||
- switch to phpunit9
|
|
||||||
|
|
||||||
* Sat Jan 18 2025 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.0-13
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
|
|
||||||
|
|
||||||
* Fri Jul 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.0-12
|
* Fri Jul 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.0-12
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue