diff --git a/0001-Fix-compile-error-with-future-versions-of-gcc.patch b/0001-Fix-compile-error-with-future-versions-of-gcc.patch index e16a069..5ba94c5 100644 --- a/0001-Fix-compile-error-with-future-versions-of-gcc.patch +++ b/0001-Fix-compile-error-with-future-versions-of-gcc.patch @@ -1,3 +1,6 @@ +# include in rpm-helper.h +# Reported upstream in https://github.com/OpenSCAP/openscap/pull/1922 + From 989901ef95e344b49e78238c89c59bd80951b876 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Wed, 1 Feb 2023 06:38:40 +0000 diff --git a/openscap.spec b/openscap.spec index 9f3c8b4..c72afe7 100644 --- a/openscap.spec +++ b/openscap.spec @@ -7,7 +7,11 @@ License: LGPLv2+ URL: http://www.open-scap.org/ VCS: https://github.com/OpenSCAP/openscap Source0: https://github.com/OpenSCAP/%{name}/releases/download/%{version}/%{name}-%{version}.tar.gz -Patch0: 0001-Fix-compile-error-with-future-versions-of-gcc.patch + +# include in rpm-helper.h +# Reported upstream in https://github.com/OpenSCAP/openscap/pull/1922 +Patch0: https://github.com/OpenSCAP/openscap/pull/1922.patch#/0001-Fix-compile-error-with-future-versions-of-gcc.patch + BuildRequires: make BuildRequires: cmake >= 2.6 BuildRequires: gcc