[fedpkg-minimal/el5] Move license back under %%doc macro

pbabinca pbabinca at fedoraproject.org
Wed Mar 4 11:49:32 UTC 2015


commit 37e3fe655f94efee74c41b1b5afcba586b62fbf1
Author: Pavol Babincak <pbabinca at redhat.com>
Date:   Wed Mar 4 12:31:03 2015 +0100

    Move license back under %%doc macro
    
    https://fedoraproject.org/wiki/How_to_create_an_RPM_package#.25files_prefixes
    
        These prefixes are not valid in Fedora: %license and %readme.

 fedpkg-minimal.spec | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/fedpkg-minimal.spec b/fedpkg-minimal.spec
index 4f9c762..239888c 100644
--- a/fedpkg-minimal.spec
+++ b/fedpkg-minimal.spec
@@ -29,8 +29,7 @@ install -pm 755 bin/fedpkg %{buildroot}%{_bindir}/fedpkg
 
 
 %files
-%doc README.md
-%license LICENSE
+%doc README.md LICENSE
 %{_bindir}/fedpkg
 
 %changelog


More information about the scm-commits mailing list