From 9004b656360760c0738283d7ff822d3f6173f785 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 5 Dec 2017 15:33:47 +0100 Subject: switch to classmap autoloader for consistency provide php-autoloader(zendframework/zend-diactoros) --- php-zendframework-zend-diactoros.spec | 23 ++++++++++------------- 1 file changed, 10 insertions(+), 13 deletions(-) (limited to 'php-zendframework-zend-diactoros.spec') diff --git a/php-zendframework-zend-diactoros.spec b/php-zendframework-zend-diactoros.spec index 28dcf1f..8b4d2a6 100644 --- a/php-zendframework-zend-diactoros.spec +++ b/php-zendframework-zend-diactoros.spec @@ -31,7 +31,7 @@ Name: php-%{composer_vendor}-%{composer_project} Version: %{github_version} -Release: 1%{?github_release}%{?dist} +Release: 2%{?github_release}%{?dist} Summary: PSR HTTP Message implementations Group: Development/Libraries @@ -68,9 +68,9 @@ BuildRequires: php-json BuildRequires: php-pcre BuildRequires: php-reflection BuildRequires: php-spl -## Autoloader -BuildRequires: php-composer(fedora/autoloader) %endif +## Autoloader +BuildRequires: php-fedora-autoloader-devel # composer.json Requires: php(language) >= %{php_min_ver} @@ -85,6 +85,7 @@ Requires: php-composer(fedora/autoloader) # Composer Provides: php-composer(%{composer_vendor}/%{composer_project}) = %{version} +Provides: php-autoloader(%{composer_vendor}/%{composer_project}) = %{version} Provides: php-composer(psr/http-message-implementation) = 1.0 %description @@ -108,16 +109,8 @@ mv LICENSE.md LICENSE %build : Create autoloader -cat <<'AUTOLOAD' | tee src/autoload.php - - 1.6.1-2 +- switch to classmap autoloader for consistency +- provide php-autoloader(zendframework/zend-diactoros) + * Thu Nov 2 2017 Remi Collet - 1.6.1-1 - Update to 1.6.1 - use phpunit6 on F26+ -- cgit