Add BuildRequires gcc, remove cxx check from cmake
This commit is contained in:
parent
18e0e24229
commit
c644b79bed
9
sblim-gather-2.2.9-remove-cxx-check.patch
Normal file
9
sblim-gather-2.2.9-remove-cxx-check.patch
Normal 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
|
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
Name: sblim-gather
|
Name: sblim-gather
|
||||||
Version: 2.2.9
|
Version: 2.2.9
|
||||||
Release: 9%{?dist}
|
Release: 10%{?dist}
|
||||||
Summary: SBLIM Gatherer
|
Summary: SBLIM Gatherer
|
||||||
|
|
||||||
Group: Applications/System
|
Group: Applications/System
|
||||||
@ -22,10 +22,12 @@ BuildRequires: sblim-cmpi-base-devel
|
|||||||
BuildRequires: libsysfs-devel
|
BuildRequires: libsysfs-devel
|
||||||
BuildRequires: libvirt-devel
|
BuildRequires: libvirt-devel
|
||||||
BuildRequires: xmlto
|
BuildRequires: xmlto
|
||||||
|
BuildRequires: gcc
|
||||||
# for missing providers
|
# for missing providers
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
Patch1: sblim-gather-2.2.7-missing_providers.patch
|
Patch1: sblim-gather-2.2.7-missing_providers.patch
|
||||||
Patch2: sblim-gather-2.2.7-typos.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: removes version from docdir
|
||||||
Patch3: sblim-gather-2.2.8-docdir.patch
|
Patch3: sblim-gather-2.2.8-docdir.patch
|
||||||
@ -96,6 +98,7 @@ tar xfvz %{SOURCE4}
|
|||||||
%patch5 -p1 -b .pegasus-interop
|
%patch5 -p1 -b .pegasus-interop
|
||||||
%patch6 -p1 -b .prov-reg-sfcb-systemd
|
%patch6 -p1 -b .prov-reg-sfcb-systemd
|
||||||
%patch7 -p1 -b .remove-assoc-conflict
|
%patch7 -p1 -b .remove-assoc-conflict
|
||||||
|
%patch8 -p1 -b .remove-cxx-check
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%ifarch s390 s390x ppc ppc64
|
%ifarch s390 s390x ppc ppc64
|
||||||
@ -288,6 +291,9 @@ fi
|
|||||||
%postun provider -p /sbin/ldconfig
|
%postun provider -p /sbin/ldconfig
|
||||||
|
|
||||||
%changelog
|
%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
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.9-9
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user