From b609da71918a79462f3d56d153a2b6039b70fb72 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 14 Mar 2017 07:46:09 +0100 Subject: [PATCH] Update to 1.0.0 Test with SCLs if available add fedora2 template relying on include_path --- php-fedora-autoloader.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/php-fedora-autoloader.spec b/php-fedora-autoloader.spec index fe23f45..b8c9559 100644 --- a/php-fedora-autoloader.spec +++ b/php-fedora-autoloader.spec @@ -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 - 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 - 0.2.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild