[lightsoff] Use the %license macro for the COPYING file

Kalev Lember kalev at fedoraproject.org
Mon Mar 2 22:19:17 UTC 2015


commit 474db8a25768e1a16d536f604b3069d6c05b28de
Author: Kalev Lember <kalevlember at gmail.com>
Date:   Mon Mar 2 22:49:08 2015 +0100

    Use the %license macro for the COPYING file

 lightsoff.spec | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/lightsoff.spec b/lightsoff.spec
index 17bc3ad..a407da9 100644
--- a/lightsoff.spec
+++ b/lightsoff.spec
@@ -62,7 +62,7 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || :
 
 
 %files -f %{name}.lang
-%doc COPYING
+%license COPYING
 %{_bindir}/lightsoff
 %{_datadir}/appdata/lightsoff.appdata.xml
 %{_datadir}/applications/lightsoff.desktop
@@ -75,6 +75,7 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || :
 %changelog
 * Mon Mar 02 2015 Kalev Lember <kalevlember at gmail.com> - 3.15.91-1
 - Update to 3.15.91
+- Use the %%license macro for the COPYING file
 
 * Tue Feb 17 2015 Richard Hughes <rhughes at redhat.com> - 3.15.90-1
 - Update to 3.15.90


More information about the scm-commits mailing list