This is an automated email from the git hooks/post-receive script.
teigland pushed a commit to branch master in repository sanlock.
commit 20efe914810efc0e8c19606ef09d9b33a73357a7 Author: Nir Soffer nsoffer@redhat.com AuthorDate: Mon Mar 25 02:09:03 2019 +0200
build: Disable %set_build_flags on RHEL
With this change the same spec can be used both on Fedora and RHEL.
Signed-off-by: Nir Soffer nsoffer@redhat.com --- sanlock.spec.in | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/sanlock.spec.in b/sanlock.spec.in index de72863..0bd9e34 100644 --- a/sanlock.spec.in +++ b/sanlock.spec.in @@ -24,7 +24,9 @@ The sanlock daemon manages leases for applications on hosts using shared storage %setup -q
%build +%if 0%{?fedora} %set_build_flags +%endif # upstream does not require configure # upstream does not support _smp_mflags CFLAGS=$RPM_OPT_FLAGS make -C wdmd