Using relative paths for %license files results in them being copied to the buildroot and included in packages twice:
%license
%{_licensedir}
Would it be compliant or make sense to mark the absolute paths in the "home directory" with %license instead of including them twice?
I'm all in to do so. Also with a %doc ones.
The only tricky part with the %doc, if the files are actually used in some build.rs or in other places, they won't be installed with tsflags=nodocs which will either make build fail or result could be different.
%doc
build.rs
tsflags=nodocs
What you are proposing was my initial idea when I opened #41 as without it, paths were way too long :)
Metadata Update from @zbyszek: - Issue assigned to zbyszek
Commit 970160a fixes this issue
Login to comment on this ticket.