%config causing file conflic error

Red Cricket red.cricket.blog at gmail.com
Tue Aug 28 04:53:37 UTC 2012


Hi,

maybe you use different files in the %file sections of the two RPMs
and then in the %post sections of the RPMs copy the file to the config file.



On Fri, Aug 24, 2012 at 4:14 AM, jupiter <jupiter.hce at gmail.com> wrote:
> Hi,
>
> I have two packages share the same configuration file, but slightly
> different content. Now I've got conflic file error when one package is
> installed, the second failed to install. I know I can use --force to
> force the file overwriten, but I don't want to request other people to
> do it.
>
> Is there any macro in rpm spec to turn off the conflic check? I don't
> mind if the file be overwriten or not as long as there is one there.
>
> Thank you.
>
> Kind regards,
>
> Jupiter
> _______________________________________________
> Rpm-list mailing list
> Rpm-list at lists.rpm.org
> http://lists.rpm.org/mailman/listinfo/rpm-list


More information about the Rpm-list mailing list