[rpm] Correct way of writing spec file when packaging symlinks

Domen Vrankar domen.vrankar at gmail.com
Sat Oct 18 21:34:12 UTC 2014


Hi,

I was searching the web and couldn't find an answer on how to correctly
write a spec file when packaging symlinks.

One option that I found was

%config /path/symlink

and the other was simply

/path/symlink

Based on Documentation
http://www.rpm.org/max-rpm/s1-rpm-inside-files-list-directives.html
am I correct in assuming that the second version (without any % prefix) is
the correct format?
Is there any difference in prefix if symlink points to directory or file?

Thanks,
Domen Vrankar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-list/attachments/20141018/92398cb9/attachment.html>


More information about the Rpm-list mailing list