Bug 1915125 - Add "v2" alternate import path
Summary: Add "v2" alternate import path
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: golang-github-oklog-ulid
Version: rawhide
Hardware: All
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Robert-André Mauchin 🐧
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1914254
TreeView+ depends on / blocked
 
Reported: 2021-01-12 02:41 UTC by Brandon Perkins
Modified: 2021-01-21 01:45 UTC (History)
2 users (show)

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:
Clone Of:
Environment:
Last Closed: 2021-01-12 22:17:01 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.