Casper Ti. Vector wrote on Wed, Mar 27, 2024 at 05:54:23PM +0800:
> Attached is spec code that builds a monolithic RPM package for skalibs,
> execline and s6, tested under CentOS 7 and Rocky Linux 8; it needs to be
> used with <https://github.com/CasperVector/ihep-pkg-ose>.  It uses ugly
> tricks, most importantly invoking sudo to move files from/to root-owned

You should never need sudo in the install section of a spec file --
you install to %{buildroot}, not directly to the system's bin/lib
directories!

I'm not sure how that actually find files to bundle in the rpm
afterwards...

-- 
Dominique Martinet | Asmadeus

Reply via email to