[php-PsrLog] Replaced single-use %composer_vendor and %composer_project

Shawn Iwinski siwinski at fedoraproject.org
Sun Jun 8 03:20:20 UTC 2014


commit c45e013dc57358d022d8e106478c3d57c31ffe90
Author: Shawn Iwinski <shawn.iwinski at gmail.com>
Date:   Sat Jun 7 23:20:01 2014 -0400

    Replaced single-use %composer_vendor and %composer_project

 php-PsrLog.spec |   29 ++++++++++++++++++++---------
 1 files changed, 20 insertions(+), 9 deletions(-)
---
diff --git a/php-PsrLog.spec b/php-PsrLog.spec
index 8f17360..dba792c 100644
--- a/php-PsrLog.spec
+++ b/php-PsrLog.spec
@@ -1,14 +1,22 @@
-%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
+#
+# RPM spec file for php-PsrLog
+#
+# Copyright (c) 2013-2014 Shawn Iwinski <shawn.iwinski at gmail.com>
+#
+# License: MIT
+# http://opensource.org/licenses/MIT
+#
+# Please preserve the changelog entries
+#
+
+%global github_owner   php-fig
+%global github_name    log
+%global github_version 1.0.0
+%global github_commit  fe0936ee26643249e916849d48e3a51d5f5e278b
 
 Name:      php-PsrLog
 Version:   %{github_version}
-Release:   5%{?dist}
+Release:   6%{?dist}
 Summary:   Common interface for logging libraries
 
 Group:     Development/Libraries
@@ -23,7 +31,7 @@ Requires:  php(language) >= 5.3.0
 Requires:  php-date
 Requires:  php-spl
 
-Provides:  php-composer(%{composer_vendor}/%{composer_project}) = %{version}
+Provides:  php-composer(psr/log) = %{version}
 
 %description
 This package holds all interfaces/classes/traits related to PSR-3
@@ -53,6 +61,9 @@ cp -rp Psr %{buildroot}%{_datadir}/php/
 
 
 %changelog
+* Sat Jun 07 2014 Shawn Iwinski <shawn.iwinski at gmail.com> - 1.0.0-6
+- Replaced single-use %%composer_vendor and %%composer_project
+
 * Fri Jun 06 2014 Shawn Iwinski <shawn.iwinski at gmail.com> - 1.0.0-5
 - Updated URL
 - Requires php-common => php(language)


More information about the scm-commits mailing list