|
|
@ -1,7 +1,7 @@
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# Fedora spec file for php-fedora-autoloader
|
|
|
|
# Fedora spec file for php-fedora-autoloader
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# Copyright (c) 2016-2017 Shawn Iwinski <shawn@iwin.ski>
|
|
|
|
# Copyright (c) 2016-2020 Shawn Iwinski <shawn@iwin.ski>
|
|
|
|
# Remi Collet <remi@fedoraproject.org>
|
|
|
|
# Remi Collet <remi@fedoraproject.org>
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# License: MIT
|
|
|
|
# License: MIT
|
|
|
@ -12,8 +12,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
%global github_owner php-fedora
|
|
|
|
%global github_owner php-fedora
|
|
|
|
%global github_name autoloader
|
|
|
|
%global github_name autoloader
|
|
|
|
%global github_version 1.0.0
|
|
|
|
%global github_version 1.0.1
|
|
|
|
%global github_commit 6075ef68a27dbd9d94a583c2da08a1ae02347a12
|
|
|
|
%global github_commit 7cd61b5a927c8f446df8e820aa288434e18a7f0c
|
|
|
|
|
|
|
|
|
|
|
|
%global composer_vendor fedora
|
|
|
|
%global composer_vendor fedora
|
|
|
|
%global composer_project autoloader
|
|
|
|
%global composer_project autoloader
|
|
|
@ -32,7 +32,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
Name: php-%{composer_vendor}-%{composer_project}
|
|
|
|
Name: php-%{composer_vendor}-%{composer_project}
|
|
|
|
Version: %{github_version}
|
|
|
|
Version: %{github_version}
|
|
|
|
Release: 8%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: Fedora Autoloader
|
|
|
|
Summary: Fedora Autoloader
|
|
|
|
|
|
|
|
|
|
|
|
License: MIT
|
|
|
|
License: MIT
|
|
|
@ -53,14 +53,14 @@ BuildRequires: php(language) >= %{php_min_ver}
|
|
|
|
BuildRequires: %{phpunit}
|
|
|
|
BuildRequires: %{phpunit}
|
|
|
|
BuildRequires: php-composer(theseer/autoload) >= %{phpab_min_ver}
|
|
|
|
BuildRequires: php-composer(theseer/autoload) >= %{phpab_min_ver}
|
|
|
|
BuildRequires: php-pear
|
|
|
|
BuildRequires: php-pear
|
|
|
|
## phpcompatinfo (computed from version 1.0.0)
|
|
|
|
## phpcompatinfo (computed from version 1.0.1)
|
|
|
|
BuildRequires: php-ctype
|
|
|
|
BuildRequires: php-ctype
|
|
|
|
BuildRequires: php-spl
|
|
|
|
BuildRequires: php-spl
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
# composer.json
|
|
|
|
# composer.json
|
|
|
|
Requires: php(language) >= %{php_min_ver}
|
|
|
|
Requires: php(language) >= %{php_min_ver}
|
|
|
|
# phpcompatinfo (computed from version 1.0.0)
|
|
|
|
# phpcompatinfo (computed from version 1.0.1)
|
|
|
|
Requires: php-ctype
|
|
|
|
Requires: php-ctype
|
|
|
|
Requires: php-spl
|
|
|
|
Requires: php-spl
|
|
|
|
|
|
|
|
|
|
|
@ -120,7 +120,7 @@ cp -p res/phpab/fedora*.php.tpl %{buildroot}%{phpab_template_dir}/
|
|
|
|
%check
|
|
|
|
%check
|
|
|
|
%if %{with_tests}
|
|
|
|
%if %{with_tests}
|
|
|
|
RETURN_CODE=0
|
|
|
|
RETURN_CODE=0
|
|
|
|
for PHP_EXEC in "php %{phpunit}" %{?rhel:php54 php55 php56} php70 "php71 %{_bindir}/phpunit6" "php72 %{_bindir}/phpunit6" "php73 %{_bindir}/phpunit6"; do
|
|
|
|
for PHP_EXEC in "php %{phpunit}" %{?rhel:php54 php55 php56} php70 "php71 %{_bindir}/phpunit6" "php72 %{_bindir}/phpunit6" "php73 %{_bindir}/phpunit6" "php74 %{_bindir}/phpunit6"; do
|
|
|
|
set $PHP_EXEC
|
|
|
|
set $PHP_EXEC
|
|
|
|
if [ "php" == "$1" ] || which $PHP_EXEC; then
|
|
|
|
if [ "php" == "$1" ] || which $PHP_EXEC; then
|
|
|
|
$1 -d include_path=.:%{buildroot}%{phpdir}:%{phpdir}:%{_datadir}/pear \
|
|
|
|
$1 -d include_path=.:%{buildroot}%{phpdir}:%{phpdir}:%{_datadir}/pear \
|
|
|
@ -148,6 +148,9 @@ exit $RETURN_CODE
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Wed Feb 12 2020 Shawn Iwinski <shawn@iwin.ski> - 1.0.1-1
|
|
|
|
|
|
|
|
- Update to 1.0.1 (RHBZ #1802372)
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-8
|
|
|
|
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|