Accepting request 204334 from home:Andreas_Schwab:Factory

- Disable -Wcast-align on problematic files

OBS-URL: https://build.opensuse.org/request/show/204334
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=70
This commit is contained in:
Yan Gao
2013-10-24 03:49:47 +00:00
committed by Git OBS Bridge
parent 1cdccc0e11
commit ffa8d41ef3
3 changed files with 22 additions and 2 deletions

View File

@@ -28,9 +28,9 @@
# Needed so that the -devel package is multilib compliant
%global __os_install_post %(echo '%{__os_install_post}' | sed -e 's!/usr/lib[^[:space:]]*/brp-python-bytecompile[[:space:]].*$!!g')
#%global rawhide %(test ! -e /etc/yum.repos.d/fedora-rawhide.repo; echo $?)
#%%global rawhide %%(test ! -e /etc/yum.repos.d/fedora-rawhide.repo; echo $?)
%global rawhide 0
#%global cs_version %(pkg-config corosync --modversion | awk -F . '{print $1}')
#%%global cs_version %%(pkg-config corosync --modversion | awk -F . '{print $1}')
%global cs_version 2
%global py_site %(python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")
@@ -114,6 +114,7 @@ Patch7: pacemaker-nagios-plugin-dir.patch
Patch8: bug-812269_pacemaker-fencing-update-cib.patch
Patch9: bug-800323_pacemaker-crm_mon-save-cib.patch
Patch10: bug-812269_pacemaker-fencing-device-register-messages.patch
Patch11: pacemaker-Wno-cast-align.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Provides: pacemaker-ticket-support = 2.0
Conflicts: heartbeat < 3.0
@@ -400,6 +401,7 @@ manager for Corosync, CMAN and/or Linux-HA.
%patch8 -p1
%patch9 -p1
%patch10 -p1
%patch11 -p1
# Force the local time
#