Re: Using rpm to patch several conf files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Marcelo Mercio Dandrea wrote:
>
>         Hello all,
>
>         Sorry if this a newbie question, Im a begginer on using RPMs.. I
> scanned the list archives but wasnt able to find information regarding
> it. Im trying to create a rpm to automatically patch several conf
> files...  On my rpm, I have the "original" conf file as it is installed
> by its package and a patch file to be applied. I can build and install
> the RPM with no problem at all, but the install part only works with the
> --force option, since I modify files referred by other packages...
> (file X from install of Y conflicts with file from package Z). Is there
> a way to avoid this ? Am I trying to use RPMs in a way it wasnt supposed
> to be used ?

a good way may be to use rpmrebuild (see url below) :
you change your config files, then build a new package from the
installed files.

- --
Eric Gerbier
http://webminstats.sourceforge.net
http://rpmrebuild.sourceforge.net
http://afick.sourceforge.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE/ww5VNzh6q8tvpCoRAlvEAKCAB2Wd0CHH9r0U9TnNgeAJngZxWwCfVvtj
qHtID3eUCs7NId/METN1uGQ=
=60SJ
-----END PGP SIGNATURE-----


_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux