From 60785519c2ddfbddb9b0a067c3ce500eac90690a828f22e47ac3b2b1039a86fd Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Mon, 10 Nov 2014 16:28:00 +0000 Subject: [PATCH] Accepting request 260615 from OFED:Factory 1 OBS-URL: https://build.opensuse.org/request/show/260615 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/infinipath-psm?expand=0&rev=4 --- infinipath-psm.changes | 11 +++++++++++ infinipath-psm.spec | 4 +++- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/infinipath-psm.changes b/infinipath-psm.changes index 404f0bd..855b51c 100644 --- a/infinipath-psm.changes +++ b/infinipath-psm.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Fri Oct 31 15:09:00 UTC 2014 - Led + +- fix %%if version condition in spec + +------------------------------------------------------------------- +Wed Oct 29 13:52:29 CET 2014 - pth@suse.de + +- Only use -Wno-unused-but-set-variable for SLE12 and up. +- Don't use a macro for installing. + ------------------------------------------------------------------- Fri Oct 17 01:05:00 UTC 2014 - Led diff --git a/infinipath-psm.spec b/infinipath-psm.spec index 4670007..054ffb7 100644 --- a/infinipath-psm.spec +++ b/infinipath-psm.spec @@ -75,11 +75,13 @@ interfaces in parallel environments. %patch3 %build +%if 0%{?suse_version} >= 1150 export RPM_OPT_FLAGS="%{optflags} -Wno-unused-but-set-variable" +%endif make USE_PSM_UUID=1 %{?_smp_mflags} %install -%make_install +make DESTDIR=%{buildroot} install %post -n %{lname} -p /sbin/ldconfig %postun -n %{lname} -p /sbin/ldconfig