[prev in list] [next in list] [prev in thread] [next in thread] 

List:       centos
Subject:    Re: [CentOS] An rpm specfile quesstion [SOLVED]
From:       m.roth () 5-cent ! us
Date:       2018-01-19 20:25:44
Message-ID: 626d9cbb7d95aa56d2b9dab6bf31692f.squirrel () host290 ! hostmonster ! com
[Download RAW message or body]

m.roth@5-cent.us wrote:
> 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?
>
Never mind, folks, the error was in my %files section. My manager had the
correct answer, to use /usr/libexec and /usr/sbin, so the build didn't try
to package the directories.

       mark

_______________________________________________
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic