Re: Translating Go modules buildrequires in rpm syntax

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

 



Le mercredi 03 avril 2019 à 07:17 -0500, Neal Gompa a écrit :
> 
> To the original query, how I see it is that our (Build)Requires
> should
> structure as accordingly:
> 
> BuildRequires: (golang-module(foo) >= 1.0.0 unless (golang-
> module(foo)
> = 1.1.5 or golang-module(foo) = 1.2.0))

So I should drop the parenthesis around version qualifiers? Works for
me

BuildRequires: (golang-module(foo) >= 1.0.0 without (golang-module(foo) = 1.1.5 or golang-module(foo) = 1.2.0))

Trivia time: an interesting twist of the golang module design is that
exclusions do not propagate, they only apply in BuildRequires, not
Requires

(I'm curious how that will work out in practice, it feels too clever by
half, I don't see real-world devs understanding the implications, but
I’ll be happy to be proven wrong)

-- 
Nicolas Mailhot
_______________________________________________
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