[php-doctrine-inflector] %license usage

Shawn Iwinski siwinski at fedoraproject.org
Sun Dec 28 06:17:55 UTC 2014


commit 51976d6db8762d7137a78b8cfd38baf4d7162aa8
Author: Shawn Iwinski <shawn.iwinski at gmail.com>
Date:   Sun Dec 28 01:17:57 2014 -0500

    %license usage

 php-doctrine-inflector.spec |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/php-doctrine-inflector.spec b/php-doctrine-inflector.spec
index 577fa5a..0f974ed 100644
--- a/php-doctrine-inflector.spec
+++ b/php-doctrine-inflector.spec
@@ -25,7 +25,7 @@
 
 Name:          php-%{composer_vendor}-%{composer_project}
 Version:       %{github_version}
-Release:       1%{?github_release}%{?dist}
+Release:       2%{?github_release}%{?dist}
 Summary:       Common string manipulations with regard to casing and singular/plural rules
 
 Group:         Development/Libraries
@@ -77,13 +77,18 @@ cp -rp lib/* %{buildroot}/%{_datadir}/php/
 
 
 %files
-%doc LICENSE *.md composer.json
+%{!?_licensedir:%global license %%doc}
+%license LICENSE
+%doc *.md composer.json
 %dir %{_datadir}/php/Doctrine
 %dir %{_datadir}/php/Doctrine/Common
      %{_datadir}/php/Doctrine/Common/Inflector
 
 
 %changelog
+* Sun Dec 28 2014 Shawn Iwinski <shawn.iwinski at gmail.com> - 1.0.1-2
+- %%license usage
+
 * Sun Dec 28 2014 Shawn Iwinski <shawn.iwinski at gmail.com> - 1.0.1-1
 - Updated to 1.0.1 (BZ #1176943)
 


More information about the scm-commits mailing list