Re: Translating Go modules buildrequires in rpm syntax

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

 



Le vendredi 29 mars 2019 à 20:33 +0100, Nicolas Mailhot a écrit :
> 
> Is the correct way to represent those in rpm:
> 
> BuildRequires: ((golang-module(github.com/stretchr/testify) >= 1.3.0)
> and ((golang-module(github.com/stretchr/testify) <
> 1.3.2~0.20180906233101.161cd47e91fd) or (golang-
> module(github.com/stretchr/testify) >
> 1.3.2~0.20180906233101.161cd47e91fd)) and ((golang-
> module(github.com/stretchr/testify) < 1.3.2~1.pre1) or (golang-
> module(github.com/stretchr/testify) > 1.3.2~1.pre1)) and ((golang-
> module(github.com/stretchr/testify) <
> 1.3.2~1.pre1.0.20180628173108.788fd7840127) or (golang-
> module(github.com/stretchr/testify) >
> 1.3.2~1.pre1.0.20180628173108.788fd7840127)))
> 
> or am I missing something obvious?

The usual suspects on #fedora-devl (thank you very much) pointed me to


((golang-module(github.com/stretchr/testify) >= 1.3.0) without ((golang-module(github.com/stretchr/testify) = 1.3.2~0.20180906233101.161cd47e91fd) or (golang-module(github.com/stretchr/testify) = 1.3.2~1.pre1) or (golang-module(github.com/stretchr/testify) = 1.3.2~1.pre1.20180628173108.788fd7840127)))

Which is a lot more palatable

-- 
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