From 66be335bfb6c52d658c3028f9cd06f888936b3af Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 31 Oct 2016 13:23:36 +0100 Subject: php-Analog: PSR-4 autoloader --- php-Analog.spec | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/php-Analog.spec b/php-Analog.spec index 80ddbfd..b5cc1df 100644 --- a/php-Analog.spec +++ b/php-Analog.spec @@ -20,7 +20,7 @@ Version: 1.0.9 %if 0%{?gh_date} Release: 5.%{gh_date}git%{gh_short}%{?dist} %else -Release: 1%{?dist} +Release: 2%{?dist} %endif License: MIT Group: Development/Libraries @@ -29,7 +29,7 @@ Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch -BuildRequires: php-fedora-autoloader-devel +BuildRequires: php-composer(fedora/autoloader) # For tests BuildRequires: %{_bindir}/phpunit BuildRequires: php-composer(psr/log) @@ -91,14 +91,13 @@ Autoloader: %{_datadir}/php/%{real_name}/autoload.php %build -: Generate a simple classmap autoloader -%{_bindir}/phpab \ - --template fedora \ - --output lib/%{real_name}/autoload.php \ - lib/%{real_name} - cat << 'EOF' | tee -a lib/%{real_name}/autoload.php + - 1.0.9-1 +* Mon Oct 31 2016 Remi Collet - 1.0.9-2 - update to 1.0.9 - switch to fedora/autoloader -- cgit