From 2572983294f682523cda89767c0acf86e2dda93d Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: May 18 2021 06:41:23 +0000 Subject: import libgweather-3.28.2-3.el8 --- diff --git a/SOURCES/libgweather-3.28.2-fix-enum-types-multilib.patch b/SOURCES/libgweather-3.28.2-fix-enum-types-multilib.patch new file mode 100644 index 0000000..477326b --- /dev/null +++ b/SOURCES/libgweather-3.28.2-fix-enum-types-multilib.patch @@ -0,0 +1,40 @@ +From 88461473c20a6a7e4d61d144de083340d65eb75a Mon Sep 17 00:00:00 2001 +From: Bastien Nocera +Date: Wed, 18 Jul 2018 13:50:23 +0200 +Subject: [PATCH] build: Don't use a full path inside generated enum header + +It causes multilib problems. +--- + libgweather/gweather-enum-types.c.tmpl | 2 +- + libgweather/gweather-enum-types.h.tmpl | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/libgweather/gweather-enum-types.c.tmpl b/libgweather/gweather-enum-types.c.tmpl +index 4430bda8..fe1f7c4d 100644 +--- a/libgweather/gweather-enum-types.c.tmpl ++++ b/libgweather/gweather-enum-types.c.tmpl +@@ -7,7 +7,7 @@ + /*** END file-header ***/ + + /*** BEGIN file-production ***/ +-/* enumerations from "@filename@" */ ++/* enumerations from "@basename@" */ + /*** END file-production ***/ + + /*** BEGIN value-header ***/ +diff --git a/libgweather/gweather-enum-types.h.tmpl b/libgweather/gweather-enum-types.h.tmpl +index 3ca19950..d50063da 100644 +--- a/libgweather/gweather-enum-types.h.tmpl ++++ b/libgweather/gweather-enum-types.h.tmpl +@@ -14,7 +14,7 @@ G_BEGIN_DECLS + + /*** BEGIN file-production ***/ + +-/* enumerations from "@filename@" */ ++/* enumerations from "@basename@" */ + /*** END file-production ***/ + + /*** BEGIN value-header ***/ +-- +GitLab + diff --git a/SPECS/libgweather.spec b/SPECS/libgweather.spec index 8615b2d..b0e6a97 100644 --- a/SPECS/libgweather.spec +++ b/SPECS/libgweather.spec @@ -1,11 +1,13 @@ Name: libgweather Version: 3.28.2 -Release: 2%{?dist} +Release: 3%{?dist} Summary: A library for weather information License: GPLv2+ URL: https://wiki.gnome.org/Projects/LibGWeather Source0: https://download.gnome.org/sources/libgweather/3.28/%{name}-%{version}.tar.xz +# https://bugzilla.redhat.com/show_bug.cgi?id=1853151 +Patch0: libgweather-3.28.2-fix-enum-types-multilib.patch BuildRequires: gettext BuildRequires: gtk-doc @@ -70,6 +72,9 @@ developing applications that use %{name}. %{_datadir}/vala/vapi/gweather-3.0.vapi %changelog +* Wed Oct 07 2020 David King - 3.28.2-3 +- Fix multilib conflict in enum header (#1853151) + * Thu Aug 09 2018 Debarshi Ray - 3.28.2-2 - Fix dangling symbolic link to README.md Resolves: #1614386