Bug 26390

Summary: Add provides to golang-github-golang-sys
Product: Mageia Reporter: Jybz <j.biernacki+mga>
Component: RPM PackagesAssignee: Pascal Terjan <pterjan>
Status: RESOLVED OLD QA Contact:
Severity: enhancement    
Priority: Normal    
Version: 7   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: golang-github-golang-sys-0-0.22.20181119git95b1ffb.mga7.src.rpm CVE:
Status comment:

Description Jybz 2020-03-29 21:12:36 CEST
Hello, is it possible to add that line :
> Provides:      golang(%{goipath}) = %{version}-%{release}
to that spec
http://svnweb.mageia.org/packages/updates/7/golang-github-golang-sys/current/SPECS/golang-github-golang-sys.spec?view=markup
please ?
I guess maintainer is Umeaboy, not sure
Comment 1 Lewis Smith 2020-03-29 21:42:14 CEST
Please can you say why you want this done? What is the problem with the package 
golang-github-golang-sys-devel as it stands? Is this an enhancement or a bug?

CC: (none) => lewyssmith
Source RPM: golang-github-golang-sys => golang-github-golang-sys-0-0.22.20181119git95b1ffb.mga7.src.rpm

Comment 2 Jybz 2020-03-29 22:11:27 CEST
Well, I admit, my request is quite light!

As we can see here:
L31
http://svnweb.mageia.org/packages/updates/7/golang-github-10gen-openssl/current/SPECS/golang-github-10gen-openssl.spec?view=markup#l29
> BuildRequires: golang(github.com/spacemonkeygo/spacelog)

This is permit with that the syntax:
L32
http://svnweb.mageia.org/packages/updates/7/golang-github-spacemonkeygo-spacelog/current/SPECS/golang-github-spacemonkeygo-spacelog.spec?view=markup#l27
> Provides:      golang(%{import_path}) = %{version}-%{release}

Which is the case of most of golang package. I'm reviewing all golang packages to learn how it is mostly done and I would love to use a unique syntax like:
> BuildRequires: golang(github.com/spacemonkeygo/spacelog)
whenever it is possible, instead of :
> BuildRequires: golang-github-spacemonkeygo-spacelog-devel

Or, using only the second syntaxe, but I would be disturb that most of packages give the first syntax.

Why I want this done? → Because I'm a little bit psycho-rigid.
What is the problem with the package? → It doesn't give the second syntax.
Is this an enhancement or a bug? → More an enhancement, as no other package are using this syntax, everything work yet.
Comment 3 Lewis Smith 2020-03-30 16:53:48 CEST
Assigning to Pascal for the SRPM. Hope you can see what the reporter is getting at.

Severity: normal => enhancement
Assignee: bugsquad => pterjan
CC: lewyssmith => (none)

Comment 4 Aurelien Oudelet 2021-07-06 13:17:05 CEST
Mageia 7 is EOL since July 1st 2021.
There will not have any further bugfix for this release.

You are encouraged to upgrade to Mageia 8 as soon as possible.

@reporter, if this bug still apply with Mageia 8, please let us know it.

@packager, if you work on the Mageia 7 version of your package, please check the Mageia 8 package if issue is also present. In this case, please fix the Mageia 8 version instead.

This bug report will be closed OLD if there is no further notice within 1st September 2021.
Comment 5 Marja Van Waes 2021-09-07 14:09:15 CEST
Hi bug reporter and hi assignee and others involved,

Please reopen this bug report if it is still valid for Mageia 8 or 9(cauldron), and change "Version:" in the upper left of this report accordingly.

This report is being closed as OLD because it was filed against Mageia 7, for which  support ended on June 30th 2021.

Thanks,
Marja

Status: NEW => RESOLVED
Resolution: (none) => OLD