[guile-lib/f22] Use %license macro

Christopher Meng cicku at fedoraproject.org
Tue Feb 24 04:49:43 UTC 2015


commit fbe05f13204626f0b914b302630d5037db346d86
Author: Christopher Meng <i at cicku.me>
Date:   Tue Feb 24 12:49:28 2015 +0800

    Use %license macro

 guile-lib.spec | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/guile-lib.spec b/guile-lib.spec
index 1986ecb..dc1b81c 100644
--- a/guile-lib.spec
+++ b/guile-lib.spec
@@ -26,7 +26,7 @@ Think "a down-scaled, limited-scope CPAN for Guile".
 
 %install
 %make_install CPPROG="cp -p"
-rm -f %{buildroot}%{_infodir}/dir
+rm -frv %{buildroot}%{_infodir}/dir
 
 %check
 make check || exit 0
@@ -40,7 +40,8 @@ if [ "$1" = 0 ] ; then
 fi
 
 %files
-%doc AUTHORS COPYING NEWS README TODO
+%doc AUTHORS NEWS README TODO
+%license COPYING
 %{_datadir}/guile/site/apicheck.go
 %{_datadir}/guile/site/apicheck.scm
 %{_datadir}/guile/site/compat/guile-2.go


More information about the scm-commits mailing list