I have an RPM package that depends on many other packages, so installing it will install everything I need - quite a normal approach. But one of the packages depends on custom nginx build (general nginx + some extra modules) from 3rd-part repo, which is not supported anymore. The bad part of it is that maintainer named that custom nginx package with some 'custom' name, not just 'nginx' but 'my-nginx').
As I do not use any of the nginx modules I'd better to use nginx.org's nginx package, but of course I can not install 'nginx' as it conflicts with 'my-nginx'. I can only do that by 'force' install.
Is there any way for me to have nginx as 'my-nginx' so dependency won't be break and system can be updated without complaining on broken packages?
Thank you!
It's actually easy with
rpmrebuild
.Then:
Then edit the autogenerated spec file by renaming package/dependencies as desired. After saving, you will have the new
.rpm
file based on your edits.