forked from pool/piglit
This commit is contained in:
parent
a3e5f880f1
commit
21b35bc885
17
piglit.spec
17
piglit.spec
@ -111,16 +111,21 @@ be generated, including the ability to compare different test runs.
|
|||||||
%endif
|
%endif
|
||||||
-DCMAKE_SHARED_LINKER_FLAGS="-Wl,--as-needed -Wl,-z,now" \
|
-DCMAKE_SHARED_LINKER_FLAGS="-Wl,--as-needed -Wl,-z,now" \
|
||||||
-DCMAKE_SKIP_RPATH:BOOL=OFF \
|
-DCMAKE_SKIP_RPATH:BOOL=OFF \
|
||||||
-DCMAKE_BUILD_WITH_INSTALL_RPATH:BOOL=ON
|
-DCMAKE_BUILD_WITH_INSTALL_RPATH:BOOL=ON \
|
||||||
make %{?_smp_mflags}
|
-Wno-dev
|
||||||
|
%make_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%cmake_install
|
%cmake_install
|
||||||
|
|
||||||
install -D -m 644 %{SOURCE2} %{buildroot}%{_libdir}/piglit/tests
|
install -Dpm 644 %{SOURCE2} \
|
||||||
install -D -m 644 %{SOURCE3} %{buildroot}%{_libdir}/piglit/tests
|
%{buildroot}%{_libdir}/piglit/tests
|
||||||
install -D -m 644 %{SOURCE4} %{buildroot}%{_libdir}/piglit/tests
|
install -Dpm 644 %{SOURCE3} \
|
||||||
install -D -m 644 %{SOURCE5} %{buildroot}%{_libdir}/piglit/tests
|
%{buildroot}%{_libdir}/piglit/tests
|
||||||
|
install -Dpm 644 %{SOURCE4} \
|
||||||
|
%{buildroot}%{_libdir}/piglit/tests
|
||||||
|
install -Dpm 644 %{SOURCE5} \
|
||||||
|
{buildroot}%{_libdir}/piglit/tests
|
||||||
%fdupes %{buildroot}/%{_libdir}/piglit
|
%fdupes %{buildroot}/%{_libdir}/piglit
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
%post -p /sbin/ldconfig
|
||||||
|
Loading…
Reference in New Issue
Block a user