[CentOS] An rpm specfile quesstion

Fri Jan 19 19:55:50 UTC 2018
m.roth at 5-cent.us <m.roth at 5-cent.us>

I've built an rpm package to distribute an executable and datafiles, but I
need to link to the executable, with the symlink with a different name,
into /usr/sbin/

If I make the symlink in the %post, it doesn't show if you do rpm -ql, and
/usr/sbin/link gives "not owned by any package". If I make <build
path>/usr/bin during the %install, trying to install it gives me
/usr/sbin's already owned by the filesystem package.

What's the correct way to do this, so it shows with rpm -ql?

     mark