[i3] Use new %license macro

Christopher Meng cicku at fedoraproject.org
Sun Feb 22 05:17:34 UTC 2015


commit 9641c299cdd5500186cdd46b015cbba20bf0acc6
Author: Christopher Meng <i at cicku.me>
Date:   Sun Feb 22 13:17:24 2015 +0800

    Use new %license macro

 i3.spec | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/i3.spec b/i3.spec
index 2f60488..31c8525 100644
--- a/i3.spec
+++ b/i3.spec
@@ -69,7 +69,7 @@ BuildRequires:  doxygen
 BuildArch:      noarch
 Requires:       %{name} = %{version}-%{release}
 
-%description doc
+%description    doc
 Asciidoc and doxygen generated documentations for %{name}.
 
 %prep
@@ -109,7 +109,8 @@ install -Dpm0644 %{SOURCE1} \
 %endif
 
 %files
-%doc LICENSE RELEASE-NOTES-%{version}
+%doc RELEASE-NOTES-%{version}
+%license LICENSE
 %{_bindir}/%{name}*
 %{_includedir}/%{name}/
 %dir %{_sysconfdir}/%{name}/


More information about the scm-commits mailing list