From c644b79bedbdefb60223dab530e142627972f806 Mon Sep 17 00:00:00 2001 From: Vitezslav Crhonek Date: Mon, 26 Feb 2018 10:54:16 +0100 Subject: [PATCH] Add BuildRequires gcc, remove cxx check from cmake --- sblim-gather-2.2.9-remove-cxx-check.patch | 9 +++++++++ sblim-gather.spec | 8 +++++++- 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 sblim-gather-2.2.9-remove-cxx-check.patch diff --git a/sblim-gather-2.2.9-remove-cxx-check.patch b/sblim-gather-2.2.9-remove-cxx-check.patch new file mode 100644 index 0000000..3810c04 --- /dev/null +++ b/sblim-gather-2.2.9-remove-cxx-check.patch @@ -0,0 +1,9 @@ +diff -up sblim-gather-2.2.9/missing-providers/CMakeLists.txt.orig sblim-gather-2.2.9/missing-providers/CMakeLists.txt +--- sblim-gather-2.2.9/missing-providers/CMakeLists.txt.orig 2013-02-27 12:38:07.000000000 +0100 ++++ sblim-gather-2.2.9/missing-providers/CMakeLists.txt 2018-02-26 10:47:07.892292626 +0100 +@@ -1,3 +1,5 @@ ++PROJECT(PROVIDERS C) ++ + cmake_minimum_required(VERSION 2.6) + + # Set flags and definitions diff --git a/sblim-gather.spec b/sblim-gather.spec index cda45b8..e338f61 100644 --- a/sblim-gather.spec +++ b/sblim-gather.spec @@ -3,7 +3,7 @@ Name: sblim-gather Version: 2.2.9 -Release: 9%{?dist} +Release: 10%{?dist} Summary: SBLIM Gatherer Group: Applications/System @@ -22,10 +22,12 @@ BuildRequires: sblim-cmpi-base-devel BuildRequires: libsysfs-devel BuildRequires: libvirt-devel BuildRequires: xmlto +BuildRequires: gcc # for missing providers BuildRequires: cmake Patch1: sblim-gather-2.2.7-missing_providers.patch Patch2: sblim-gather-2.2.7-typos.patch +Patch8: sblim-gather-2.2.9-remove-cxx-check.patch # Patch3: removes version from docdir Patch3: sblim-gather-2.2.8-docdir.patch @@ -96,6 +98,7 @@ tar xfvz %{SOURCE4} %patch5 -p1 -b .pegasus-interop %patch6 -p1 -b .prov-reg-sfcb-systemd %patch7 -p1 -b .remove-assoc-conflict +%patch8 -p1 -b .remove-cxx-check %build %ifarch s390 s390x ppc ppc64 @@ -288,6 +291,9 @@ fi %postun provider -p /sbin/ldconfig %changelog +* Mon Feb 26 2018 Vitezslav Crhonek - 2.2.9-10 +- Add BuildRequires gcc, remove cxx check from cmake + * Fri Feb 09 2018 Fedora Release Engineering - 2.2.9-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild