Bug 1915125

Summary: Add "v2" alternate import path
Product: [Fedora] Fedora Reporter: Brandon Perkins <bperkins>
Component: golang-github-oklog-ulidAssignee: Robert-André Mauchin 🐧 <eclipseo>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: rawhideCC: eclipseo, go-sig
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: golang-github-oklog-ulid-2.0.2-6.fc34 golang-github-oklog-ulid-2.0.2-6.fc33 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-01-12 22:17:01 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1914254    

Description Brandon Perkins 2021-01-12 02:41:29 UTC
Description of problem:
Add "v2" alternate import path to the spec.


Version-Release number of selected component (if applicable):
golang-github-oklog-ulid-devel-2.0.2-5.fc33.noarch


How reproducible:
Always


Steps to Reproduce:
1. $ rpm -qp --provides compat-golang-github-oklog-ulid-2-devel


Actual results:
Package does not exist


Expected results:
Package exists with similar output to:
compat-golang-github-oklog-ulid-2-devel = 2.0.2-6.fc34
golang(github.com/oklog/ulid/v2) = 2.0.2-6.fc34
golang-symlink(github.com/oklog/ulid/v2) = 2.0.2-6.fc34


Additional info:
This compatibility is needed for building golang-github-haproxytech-dataplaneapi

Verified the necessary change allows for building with the following patch:

diff --git a/golang-github-oklog-ulid.spec b/golang-github-oklog-ulid.spec
index 1e40aee..58cdf64 100644
--- a/golang-github-oklog-ulid.spec
+++ b/golang-github-oklog-ulid.spec
@@ -7,6 +7,8 @@ Version:                2.0.2
 
 %gometa
 
+%global goaltipaths     %{goipath}/v2
+
 %global common_description %{expand:
 Universally Unique Lexicographically Sortable Identifier (ULID) in Go.}

Comment 1 Fedora Update System 2021-01-12 22:17:01 UTC
FEDORA-2021-5c5d6848ca has been pushed to the Fedora 34 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 2 Fedora Update System 2021-01-12 22:27:35 UTC
FEDORA-2021-2f09eae159 has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2021-2f09eae159

Comment 3 Robert-André Mauchin 🐧 2021-01-12 22:29:21 UTC
Override available until 2021-01-19 21:27:39

Comment 4 Fedora Update System 2021-01-13 01:28:39 UTC
FEDORA-2021-2f09eae159 has been pushed to the Fedora 33 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-2f09eae159`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-2f09eae159

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2021-01-21 01:45:17 UTC
FEDORA-2021-2f09eae159 has been pushed to the Fedora 33 stable repository.
If problem still persists, please make note of it in this bug report.