Update to 1.0.0

- Test with SCLs if available
epel9
Shawn Iwinski 8 years ago
parent cd2414ad97
commit 82b5d580b0

1
.gitignore vendored

@ -2,3 +2,4 @@
/php-fedora-autoloader-0.1.2-35f7b52f4682276620369bc4bc1a3a5fef93faad.tar.gz /php-fedora-autoloader-0.1.2-35f7b52f4682276620369bc4bc1a3a5fef93faad.tar.gz
/php-fedora-autoloader-0.2.0-acadcf9f2511ac7b777117eb66728f95faabbe99.tar.gz /php-fedora-autoloader-0.2.0-acadcf9f2511ac7b777117eb66728f95faabbe99.tar.gz
/php-fedora-autoloader-0.2.1-98d5a2ec9389686eec8e185c1d0495ef1a6a75c3.tar.gz /php-fedora-autoloader-0.2.1-98d5a2ec9389686eec8e185c1d0495ef1a6a75c3.tar.gz
/php-fedora-autoloader-1.0.0-a71e31e6342b74dd3a4816ac04a05e2a8560228c.tar.gz

@ -1,8 +1,8 @@
# #
# Fedora spec file for php-fedora-autoloader # Fedora spec file for php-fedora-autoloader
# #
# Copyright (c) 2016 Shawn Iwinski <shawn@iwin.ski> # Copyright (c) 2016-2017 Shawn Iwinski <shawn@iwin.ski>
# Remi Collet <remi@fedoraproject.org> # Remi Collet <remi@fedoraproject.org>
# #
# License: MIT # License: MIT
# http://opensource.org/licenses/MIT # http://opensource.org/licenses/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 0.2.1 %global github_version 1.0.0
%global github_commit 98d5a2ec9389686eec8e185c1d0495ef1a6a75c3 %global github_commit a71e31e6342b74dd3a4816ac04a05e2a8560228c
%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: 3%{?github_release}%{?dist} Release: 1%{?github_release}%{?dist}
Summary: Fedora Autoloader Summary: Fedora Autoloader
Group: Development/Libraries Group: Development/Libraries
@ -49,13 +49,15 @@ BuildRequires: php(language) >= %{php_min_ver}
BuildRequires: php-composer(phpunit/phpunit) BuildRequires: php-composer(phpunit/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 0.2.1) ## phpcompatinfo (computed from version 1.0.0)
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 0.2.1) # phpcompatinfo (computed from version 1.0.0)
Requires: php-ctype
Requires: php-spl Requires: php-spl
# Composer # Composer
@ -112,11 +114,17 @@ cp -p res/phpab/fedora.php.tpl %{buildroot}%{phpab_template_dir}/
%check %check
%if %{with_tests} %if %{with_tests}
%{_bindir}/php \ RETURN_CODE=0
-d include_path=.:%{buildroot}%{phpdir}:%{phpdir}:%{_datadir}/pear \ for PHP_EXEC in php %{?rhel:php54 php55} php56 php70 php71; do
%{_bindir}/phpunit \ if which $PHP_EXEC; then
--bootstrap %{buildroot}%{phpdir}/Fedora/Autoloader/autoload.php \ $PHP_EXEC \
--verbose -d include_path=.:%{buildroot}%{phpdir}:%{phpdir}:%{_datadir}/pear \
%{_bindir}/phpunit \
--bootstrap %{buildroot}%{phpdir}/Fedora/Autoloader/autoload.php \
--verbose
fi
done
exit $RETURN_CODE
%else %else
: Tests skipped : Tests skipped
%endif %endif
@ -135,6 +143,10 @@ cp -p res/phpab/fedora.php.tpl %{buildroot}%{phpab_template_dir}/
%changelog %changelog
* Mon Mar 13 2017 Shawn Iwinski <shawn@iwin.ski> - 1.0.0-1
- Update to 1.0.0
- Test with SCLs if available
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.1-3 * Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild

@ -1 +1 @@
9c83cafdce843fa87bca8850ccf16a34 php-fedora-autoloader-0.2.1-98d5a2ec9389686eec8e185c1d0495ef1a6a75c3.tar.gz SHA512 (php-fedora-autoloader-1.0.0-a71e31e6342b74dd3a4816ac04a05e2a8560228c.tar.gz) = f0ab072e455df4fbb666fc9876236aa84dae4ce918abdc301118b9550db06904fb579d02f3267c8c20890ab652e13f4f1a2b0cc806e343e8211f8123558ded66

Loading…
Cancel
Save