[php-jsonlint] %license usage
Shawn Iwinski
siwinski at fedoraproject.org
Sat Aug 23 12:40:26 UTC 2014
commit 65b65976b991e209e937351883e1f88d9aa425d4
Author: Shawn Iwinski <shawn.iwinski at gmail.com>
Date: Sat Aug 23 08:39:37 2014 -0400
%license usage
php-jsonlint.spec | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/php-jsonlint.spec b/php-jsonlint.spec
index bafee47..33ff70f 100644
--- a/php-jsonlint.spec
+++ b/php-jsonlint.spec
@@ -23,7 +23,7 @@
Name: php-%{github_name}
Version: %{github_version}
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: JSON Lint for PHP
Group: Development/Libraries
@@ -98,13 +98,18 @@ sed 's/colors\s*=\s*"true"/colors="false"/' phpunit.xml.dist > phpunit.xml
%files
-%doc LICENSE *.mdown composer.json
+%{!?_licensedir:%global license %%doc}
+%license LICENSE
+%doc *.mdown composer.json
%dir %{_datadir}/php/Seld
%{_datadir}/php/Seld/JsonLint
%{_bindir}/jsonlint
%changelog
+* Sat Aug 23 2014 Shawn Iwinski <shawn.iwinski at gmail.com> - 1.2.0-2
+- %%license usage
+
* Wed Aug 20 2014 Shawn Iwinski <shawn.iwinski at gmail.com> - 1.2.0-1
- Updated to 1.2.0 (BZ #1124228)
- Added option to build without tests ("--without tests")
More information about the scm-commits
mailing list