change the use_vmguestlib 1 to use_vmguestlib 0
This commit is contained in:
parent
6bd1b74bcf
commit
90f071cd0a
Binary file not shown.
@ -23,7 +23,7 @@
|
||||
Name: corosync
|
||||
Summary: The Corosync Cluster Engine and Application Programming Interfaces
|
||||
Version: 3.0.2
|
||||
Release: 4%{?gitver}%{?dist}.1
|
||||
Release: 5
|
||||
License: BSD
|
||||
URL: http://corosync.github.io/corosync/
|
||||
Source0: http://build.clusterlabs.org/corosync/releases/%{name}-%{version}%{?gittarver}.tar.gz
|
||||
@ -31,9 +31,9 @@ Source0: http://build.clusterlabs.org/corosync/releases/%{name}-%{version}%{?git
|
||||
%if %{with spausedd}
|
||||
Source1: https://github.com/jfriesse/spausedd/releases/download/%{spausedd_version}/spausedd-%{spausedd_version}.tar.gz
|
||||
# VMGuestLib exists only for x86_64 architecture
|
||||
%ifarch x86_64
|
||||
%global use_vmguestlib 1
|
||||
%endif
|
||||
#%%ifarch x86_64
|
||||
#%%global use_vmguestlib 0
|
||||
#%%endif
|
||||
%endif
|
||||
|
||||
# Runtime bits
|
||||
@ -78,9 +78,9 @@ Requires: libxslt
|
||||
%if %{with vqsim}
|
||||
BuildRequires: readline-devel
|
||||
%endif
|
||||
%if %{defined use_vmguestlib}
|
||||
BuildRequires: pkgconfig(vmguestlib)
|
||||
%endif
|
||||
# %%if %{defined use_vmguestlib}
|
||||
# BuildRequires: pkgconfig(vmguestlib)
|
||||
# %%endif
|
||||
|
||||
%prep
|
||||
%if %{with spausedd}
|
||||
@ -132,11 +132,6 @@ make %{_smp_mflags}
|
||||
cd spausedd-%{spausedd_version}
|
||||
CFLAGS="${CFLAGS:-%{optflags}}" ; export CFLAGS
|
||||
make \
|
||||
%if %{defined use_vmguestlib}
|
||||
WITH_VMGUESTLIB=1 \
|
||||
%else
|
||||
WITH_VMGUESTLIB=0 \
|
||||
%endif
|
||||
%{?_smp_mflags}
|
||||
%endif
|
||||
|
||||
@ -387,5 +382,8 @@ fi
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Fri Oct 30 2020 jiangxinyu <jiangxinyu@kylinos.cn> - 3.0.2-5
|
||||
- change the use_vmguestlib 1 to use_vmguestlib 0
|
||||
|
||||
* Mon Apr 13 2020 houjian<jian.hou@kylinos.cn> - 3.0.2-4.1
|
||||
- Init corosync project
|
||||
|
||||
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user