|
|
@ -13,8 +13,7 @@
|
|
|
|
%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.0
|
|
|
|
%global github_commit addebaa1443049934a64377862227bbbeb3385dc
|
|
|
|
%global github_commit 6075ef68a27dbd9d94a583c2da08a1ae02347a12
|
|
|
|
%global github_release .rc1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%global composer_vendor fedora
|
|
|
|
%global composer_vendor fedora
|
|
|
|
%global composer_project autoloader
|
|
|
|
%global composer_project autoloader
|
|
|
@ -33,7 +32,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
Name: php-%{composer_vendor}-%{composer_project}
|
|
|
|
Name: php-%{composer_vendor}-%{composer_project}
|
|
|
|
Version: %{github_version}
|
|
|
|
Version: %{github_version}
|
|
|
|
Release: 0.1%{?github_release}%{?dist}
|
|
|
|
Release: 1%{?github_release}%{?dist}
|
|
|
|
Summary: Fedora Autoloader
|
|
|
|
Summary: Fedora Autoloader
|
|
|
|
|
|
|
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
Group: Development/Libraries
|
|
|
@ -122,7 +121,7 @@ find tests -type f -print0 | xargs -0 sed -i 's/extends TestCase/extends \\PHPUn
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
RETURN_CODE=0
|
|
|
|
RETURN_CODE=0
|
|
|
|
for PHP_EXEC in php %{?rhel:php54 php55} php56 php70 php71; do
|
|
|
|
for PHP_EXEC in php %{?rhel:php54 php55} php56 php70 php71 php72; do
|
|
|
|
if [ "php" == "$PHP_EXEC" ] || which $PHP_EXEC; then
|
|
|
|
if [ "php" == "$PHP_EXEC" ] || which $PHP_EXEC; then
|
|
|
|
$PHP_EXEC \
|
|
|
|
$PHP_EXEC \
|
|
|
|
-d include_path=.:%{buildroot}%{phpdir}:%{phpdir}:%{_datadir}/pear \
|
|
|
|
-d include_path=.:%{buildroot}%{phpdir}:%{phpdir}:%{_datadir}/pear \
|
|
|
@ -150,8 +149,11 @@ exit $RETURN_CODE
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
* Tue Mar 28 2017 Shawn Iwinski <shawn@iwin.ski> - 1.0.0-0.1.rc1
|
|
|
|
* Thu May 04 2017 Shawn Iwinski <shawn@iwin.ski> - 1.0.0-1
|
|
|
|
- Update to 1.0.0
|
|
|
|
- Update to 1.0.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Mar 28 2017 Shawn Iwinski <shawn@iwin.ski> - 1.0.0-0.1.rc1
|
|
|
|
|
|
|
|
- Update to 1.0.0-rc1
|
|
|
|
- Test with SCLs if available
|
|
|
|
- Test with SCLs if available
|
|
|
|
- Add fedora2 template relying on include_path
|
|
|
|
- Add fedora2 template relying on include_path
|
|
|
|
|
|
|
|
|
|
|
|