SHA256
1
0
forked from pool/piglit
Martin Pluskal 2018-06-13 12:29:32 +00:00 committed by Git OBS Bridge
parent a3e5f880f1
commit 21b35bc885

View File

@ -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