https://bugzilla.redhat.com/show_bug.cgi?id=2142671
--- Comment #4 from Jonny Heggheim hegjon@gmail.com --- Updated the spec+srpm with same URL:
Spec URL: https://jonny.fedorapeople.org/lua-cosmo.spec SRPM URL: https://jonny.fedorapeople.org/lua-cosmo-16.06.04-1.fc36.src.rpm
I was not sure how to include the %license, I probably started on including a separate license file and probably found out later that it was inlined in the documentation.
* Changed lua-lpeg to unversioned. * Removed the extra %license * Tidy the %docs
The cosmo.md file is included twice, I am not sure how the %doc macro works, it should be possible to symlink instead to save 18KB.
Looks like this now: $ rpm -qlv lua-cosmo drwxr-xr-x 2 root root 0 Dec 5 21:50 /usr/share/doc/lua-cosmo -rw-r--r-- 1 root root 923 Jun 4 2016 /usr/share/doc/lua-cosmo/README -rw-r--r-- 1 root root 18337 Jun 4 2016 /usr/share/doc/lua-cosmo/cosmo.md -rw-r--r-- 1 root root 1824 Jun 4 2016 /usr/share/doc/lua-cosmo/sample.lua drwxr-xr-x 2 root root 0 Dec 5 21:50 /usr/share/licenses/lua-cosmo -rw-r--r-- 1 root root 18337 Jun 4 2016 /usr/share/licenses/lua-cosmo/cosmo.md drwxr-xr-x 2 root root 0 Dec 5 21:50 /usr/share/lua/5.4/cosmo -rw-r--r-- 1 root root 10172 Dec 5 21:50 /usr/share/lua/5.4/cosmo.lua -rw-r--r-- 1 root root 4337 Dec 5 21:50 /usr/share/lua/5.4/cosmo/fill.lua -rw-r--r-- 1 root root 5049 Dec 5 21:50 /usr/share/lua/5.4/cosmo/grammar.lua
$ ls -lah /usr/share/licenses/lua-cosmo/cosmo.md /usr/share/doc/lua-cosmo/cosmo.md .rw-r--r--. root root 18 KB Sat Jun 4 20:59:21 2016 /usr/share/licenses/lua-cosmo/cosmo.md .rw-r--r--. root root 18 KB Sat Jun 4 20:59:21 2016 /usr/share/doc/lua-cosmo/cosmo.md
lua-packagers-sig@lists.fedoraproject.org