From 21b35bc88520c8a806868fa0dd893d25b839be9e7b3fbccc82730caf2cfbcae0 Mon Sep 17 00:00:00 2001 From: Martin Pluskal Date: Wed, 13 Jun 2018 12:29:32 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/benchmark/piglit?expand=0&rev=14 --- piglit.spec | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/piglit.spec b/piglit.spec index dd23df2..98805ef 100644 --- a/piglit.spec +++ b/piglit.spec @@ -111,16 +111,21 @@ be generated, including the ability to compare different test runs. %endif -DCMAKE_SHARED_LINKER_FLAGS="-Wl,--as-needed -Wl,-z,now" \ -DCMAKE_SKIP_RPATH:BOOL=OFF \ - -DCMAKE_BUILD_WITH_INSTALL_RPATH:BOOL=ON -make %{?_smp_mflags} + -DCMAKE_BUILD_WITH_INSTALL_RPATH:BOOL=ON \ + -Wno-dev +%make_build %install %cmake_install -install -D -m 644 %{SOURCE2} %{buildroot}%{_libdir}/piglit/tests -install -D -m 644 %{SOURCE3} %{buildroot}%{_libdir}/piglit/tests -install -D -m 644 %{SOURCE4} %{buildroot}%{_libdir}/piglit/tests -install -D -m 644 %{SOURCE5} %{buildroot}%{_libdir}/piglit/tests +install -Dpm 644 %{SOURCE2} \ + %{buildroot}%{_libdir}/piglit/tests +install -Dpm 644 %{SOURCE3} \ + %{buildroot}%{_libdir}/piglit/tests +install -Dpm 644 %{SOURCE4} \ + %{buildroot}%{_libdir}/piglit/tests +install -Dpm 644 %{SOURCE5} \ + {buildroot}%{_libdir}/piglit/tests %fdupes %{buildroot}/%{_libdir}/piglit %post -p /sbin/ldconfig