Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

Editing the properties of an RPM file

  • 08-10-2005 02:06PM
    #1
    Registered Users, Registered Users 2, Paid Member Posts: 21,271 ✭✭✭✭


    Anyone know much about tweaking RPM files?

    I have an RPM file I wish to install that depends on "chkconfig". Now I have chkconfig installed on my system as part of package aaa_base. However aaa_base doesn't admit to providing chkconfig. Rather than installing my package using --nodeps, I'd like to change either my RPM so it depends on aaa_base instead of chkconfig or aaa_base so that it provides chkconfig. Anyone know how I do that?


Comments

  • Registered Users, Registered Users 2 Posts: 2,780 ✭✭✭niallb


    Hi Stark,
    Details!

    What is the package? What is the distro?
    Are you trying to install an rpm built for fedora
    on a SuSE machine or similar?

    If you have a good development install, download
    the src.rpm instead and install that.
    Take a look at ......./src/RPM/SPEC/yourrpm.spec
    and change the requires listing of chkconfig for aaa_base.

    You may have issues with other tags in the rpm spec file, as SuSE does things differently to everyone else. You may also find build dependency hell.


    If you're lucky though, running:
    rpm -bb ......./src/RPM/SPEC/yourrpm.spec
    You may be able to sidestep some of these requirements
    by combining the src.rpm directory with the contents
    of the pre-compiled rpm, but I'm not getting into that!

    Mandrake do rpm so much better than anyone else.
    Their tool urpmi makes this kind of thing really easy. It's almost as good as apt-get.
    If it gives you loads of grief, try installing apt4rpm,
    and it should make it the last time you have this kind of hassle.

    Good luck with it,
    NiallB


Advertisement