|
|
|
@ -12,8 +12,8 @@
|
|
|
|
|
|
|
|
|
|
%global github_owner php-fedora
|
|
|
|
|
%global github_name autoloader
|
|
|
|
|
%global github_version 0.1.1
|
|
|
|
|
%global github_commit 816e4e59061c592f7480a00c6cd9c16067811c1e
|
|
|
|
|
%global github_version 0.1.2
|
|
|
|
|
%global github_commit 35f7b52f4682276620369bc4bc1a3a5fef93faad
|
|
|
|
|
|
|
|
|
|
%global composer_vendor fedora
|
|
|
|
|
%global composer_project autoloader
|
|
|
|
@ -72,6 +72,7 @@ required and optional dependencies.
|
|
|
|
|
%package devel
|
|
|
|
|
|
|
|
|
|
Summary: %{name} devel
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
|
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
Requires: php-composer(theseer/autoload) >= %{phpab_min_ver}
|
|
|
|
@ -98,6 +99,7 @@ sed "s#___AUTOLOAD_PATH___#'%{phpdir}/Fedora/Autoloader'#" \
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
|
|
|
|
|
: Main
|
|
|
|
|
mkdir -p %{buildroot}%{phpdir}/Fedora/Autoloader/Test
|
|
|
|
|
cp -rp src/* %{buildroot}%{phpdir}/Fedora/Autoloader/
|
|
|
|
@ -110,6 +112,7 @@ cp -p res/phpab/fedora.php.tpl %{buildroot}%{phpab_template_dir}/
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
%if %{with_tests}
|
|
|
|
|
: Run upstream test suite
|
|
|
|
|
%{_bindir}/phpunit --verbose
|
|
|
|
|
%else
|
|
|
|
|
: Tests skipped
|
|
|
|
@ -130,6 +133,9 @@ cp -p res/phpab/fedora.php.tpl %{buildroot}%{phpab_template_dir}/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Fri Oct 21 2016 Remi Collet <remi@fedoraproject.org> - 0.1.2-1
|
|
|
|
|
- update to 0.1.2
|
|
|
|
|
|
|
|
|
|
* Wed Oct 19 2016 Shawn Iwinski <shawn@iwin.ski> - 0.1.1-1
|
|
|
|
|
- Update to 0.1.1
|
|
|
|
|
- Fix phpab template
|
|
|
|
|