|
|
|
@ -94,7 +94,9 @@ Provides needed tools to build other packages:
|
|
|
|
|
%prep
|
|
|
|
|
%setup -qn %{github_name}-%{github_commit}
|
|
|
|
|
|
|
|
|
|
: Set autoload path in phpab template
|
|
|
|
|
: Set autoload path in phpab templates
|
|
|
|
|
sed "s#___AUTOLOAD_PATH___#'Fedora/Autoloader'#" \
|
|
|
|
|
res/phpab/fedora.php.tpl >res/phpab/fedora2.php.tpl
|
|
|
|
|
sed "s#___AUTOLOAD_PATH___#'%{phpdir}/Fedora/Autoloader'#" \
|
|
|
|
|
-i res/phpab/fedora.php.tpl
|
|
|
|
|
|
|
|
|
@ -110,7 +112,7 @@ cp -rp src/* %{buildroot}%{phpdir}/Fedora/Autoloader/
|
|
|
|
|
|
|
|
|
|
: Devel
|
|
|
|
|
mkdir -p %{buildroot}%{phpab_template_dir}
|
|
|
|
|
cp -p res/phpab/fedora.php.tpl %{buildroot}%{phpab_template_dir}/
|
|
|
|
|
cp -p res/phpab/fedora*.php.tpl %{buildroot}%{phpab_template_dir}/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
@ -144,13 +146,14 @@ exit $RETURN_CODE
|
|
|
|
|
%files devel
|
|
|
|
|
%doc *.md
|
|
|
|
|
%doc composer.json
|
|
|
|
|
%{phpab_template_dir}/fedora.php.tpl
|
|
|
|
|
%{phpab_template_dir}/fedora*.php.tpl
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Mon Mar 13 2017 Shawn Iwinski <shawn@iwin.ski> - 1.0.0-0.1.rc1
|
|
|
|
|
- Update to 1.0.0
|
|
|
|
|
- Test with SCLs if available
|
|
|
|
|
- add fedora2 template relying on include_path
|
|
|
|
|
|
|
|
|
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.1-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|