From 770dc4b301d8d0396a101ec57dbf70194097bfaf Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 21 Jan 2016 07:25:14 +0100 Subject: php-PsrLog: sync with Fedora rawhide --- php-PsrLog.spec | 33 +++++++++++++++++++++++---------- 1 file changed, 23 insertions(+), 10 deletions(-) diff --git a/php-PsrLog.spec b/php-PsrLog.spec index ce29507..b2491d0 100644 --- a/php-PsrLog.spec +++ b/php-PsrLog.spec @@ -2,7 +2,7 @@ # # RPM spec file for php-PsrLog # -# Copyright (c) 2013-2015 Shawn Iwinski +# Copyright (c) 2013-2016 Shawn Iwinski # # License: MIT # http://opensource.org/licenses/MIT @@ -10,16 +10,19 @@ # Please preserve the changelog entries # -%global github_owner php-fig -%global github_name log -%global github_version 1.0.0 -%global github_commit fe0936ee26643249e916849d48e3a51d5f5e278b +%global github_owner php-fig +%global github_name log +%global github_version 1.0.0 +%global github_commit fe0936ee26643249e916849d48e3a51d5f5e278b + +%global composer_vendor psr +%global composer_project log %{!?phpdir: %global phpdir %{_datadir}/php} Name: php-PsrLog Version: %{github_version} -Release: 8%{?dist} +Release: 9%{?dist} Summary: Common interface for logging libraries Group: Development/Libraries @@ -35,7 +38,10 @@ Requires: php(language) >= 5.3.0 Requires: php-date Requires: php-spl -Provides: php-composer(psr/log) = %{version} +# php-{COMPOSER_VENDOR}-{COMPOSER_PROJECT} +Provides: php-%{composer_vendor}-%{composer_project} = %{version}-%{release} +# Composer +Provides: php-composer(%{composer_vendor}/%{composer_project}) = %{version} %description This package holds all interfaces/classes/traits related to PSR-3 [1]. @@ -54,7 +60,7 @@ cat <<'AUTOLOAD' | tee Psr/Log/autoload.php - 1.0.0-9 +- Added php-{COMPOSER_VENDOR}-{COMPOSER_PROJECT} ("php-psr-log") virtual provide +- %%license usage + * Mon Nov 16 2015 Shawn Iwinski - 1.0.0-8 - Added autoloader -- cgit