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
|
||||
-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
|
||||
|
Loading…
Reference in New Issue
Block a user