Re: Translating Go modules buildrequires in rpm syntax

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

 



On Sat, Mar 30, 2019 at 3:40 PM Nicolas Mailhot
<nicolas.mailhot@xxxxxxxxxxx> wrote:
>
> Le samedi 30 mars 2019 à 09:59 +0000, Tom Hughes a écrit :
> > On 30/03/2019 08:27, Nicolas Mailhot wrote:
> >
> > > Thanks for the suggestion. That may work indeed, depending on rpm
> > > operator priority. To be sure, you'd need lots of lispy parenthesis
> > > (as
> > > the rpm documentation seems to recommend).
> > >
> > > ((((x >= 1.3.0) without x = 1.3.2) without (x = 1.3.4)) without (x
> > > = 1.5.7)

Come to think of it, I'd normally use:

BuildRequires: x >= 1.3.0
Conflicts: x = 1.3.2
Conflicts: x = 1.3.4

Life can get.... interesting, if "x" is a "Provides:" element rather
than the actual name of the package, such as those for java, python
modules, or perl modules.
_______________________________________________
packaging mailing list -- packaging@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to packaging-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/packaging@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux