Re: configuration rpms

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

 



On 08/01/2009 06:55 PM, abhinav mehrotra wrote:
Hi All,
I am creating a rpm which depends on another locale specific configuration rpm.
There are multiple configuration rpms:
1. mylocale_en-Us.rpm
2. mylocale_fh-CA.rpm
3. mylocal_ch-CN.rpm
Only one locale rpm must be insalled before my rpm is installed.
How do I define this condition in rpm's spec file? Is there any way to specify regular expression with depends macro ?

No, you can only match for full package/provides names. The right solution for this situation is to add "Provide: mylocale" to all config packages and add "Requires: mylocale" to the main package.

Florian
_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxxxxx
http://lists.rpm.org/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