Add BuildRequires gcc, remove cxx check from cmake

This commit is contained in:
Vitezslav Crhonek 2018-02-26 10:54:16 +01:00
parent 18e0e24229
commit c644b79bed
2 changed files with 16 additions and 1 deletions

View File

@ -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

View File

@ -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 <vcrhonek@redhat.com> - 2.2.9-10
- Add BuildRequires gcc, remove cxx check from cmake
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.9-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild