diff --git a/php-fedora-autoloader.spec b/php-fedora-autoloader.spec index dae7320..e5ebf41 100644 --- a/php-fedora-autoloader.spec +++ b/php-fedora-autoloader.spec @@ -32,7 +32,7 @@ Name: php-%{composer_vendor}-%{composer_project} Version: %{github_version} -Release: 1%{?github_release}%{?dist} +Release: 2%{?github_release}%{?dist} Summary: Fedora Autoloader Group: Development/Libraries @@ -91,7 +91,7 @@ Provides needed tools to build other packages: %prep %setup -qn %{github_name}-%{github_commit} -: Set PHP directory in phpab template +: Set autoload path in phpab template sed "s#___AUTOLOAD_PATH___#'%{phpdir}/Fedora/Autoloader'#" \ -i res/phpab/fedora.php.tpl @@ -102,9 +102,8 @@ sed "s#___AUTOLOAD_PATH___#'%{phpdir}/Fedora/Autoloader'#" \ %install : Main -mkdir -p %{buildroot}%{phpdir}/Fedora/Autoloader/Test +mkdir -p %{buildroot}%{phpdir}/Fedora/Autoloader cp -rp src/* %{buildroot}%{phpdir}/Fedora/Autoloader/ -cp -rp tests/* %{buildroot}%{phpdir}/Fedora/Autoloader/Test/ : Devel mkdir -p %{buildroot}%{phpab_template_dir} @@ -128,7 +127,6 @@ cp -p res/phpab/fedora.php.tpl %{buildroot}%{phpab_template_dir}/ %license LICENSE %dir %{phpdir}/Fedora %{phpdir}/Fedora/Autoloader -%exclude %{phpdir}/Fedora/Autoloader/Test %files devel %doc *.md @@ -137,6 +135,9 @@ cp -p res/phpab/fedora.php.tpl %{buildroot}%{phpab_template_dir}/ %changelog +* Fri Oct 28 2016 Shawn Iwinski - 0.2.1-2 +- Do not install tests into buildroot + * Fri Oct 28 2016 Shawn Iwinski - 0.2.1-1 - Update to 0.2.1 - Remove applied patches that are included in 0.2.1