From 14e5c6bcc45814d99c487931524e60ee29fd0866 Mon Sep 17 00:00:00 2001 From: Maxwell G Date: Sep 17 2022 02:12:25 +0000 Subject: Fix update path for golang-github-prometheus-common-promlog-devel - Resolves rhbz#2109630 --- diff --git a/golang-github-prometheus-common.spec b/golang-github-prometheus-common.spec index 2be9371..9ca3620 100644 --- a/golang-github-prometheus-common.spec +++ b/golang-github-prometheus-common.spec @@ -19,6 +19,15 @@ components and libraries. - route: A routing wrapper around httprouter using context.Context - version: Version information and metrics} +# This should be removed in Fedora 39 +%global godevelheader0 %{expand: +# This package used to be split up to solve a bootstrapping issue. +# golang-github-prometheus-common-promlog-devel has since been merged with +# the main -devel package, so we need this to ensure a smooth update path. +# See https://bugzilla.redhat.com/2109630 +Provides: golang-github-prometheus-common-promlog-devel = %{?epoch:epoch:}%{version}-%{release} +Obsoletes: golang-github-prometheus-common-promlog-devel < 0.30.0-6 +} %global golicenses LICENSE NOTICE %global godocs CONTRIBUTING.md MAINTAINERS.md README.md