Drop generated CMake files.

This commit is contained in:
Susi Lehtola 2014-12-05 21:41:18 +01:00
parent a71b89dc6f
commit 5bd185b232

View File

@ -343,12 +343,14 @@ ln -sf ${plibname64}.so lib%{name}p64.so
ln -sf ${plibname64}.so lib%{name}p64.so.0 ln -sf ${plibname64}.so lib%{name}p64.so.0
%endif %endif
# Get rid of executable stacks # Get rid of executable stacks
for lib in %{buildroot}%{_libdir}/libopenblas{,o,p}-*.so; do for lib in %{buildroot}%{_libdir}/libopenblas{,o,p}-*.so; do
execstack -c $lib execstack -c $lib
done done
# Get rid of generated CMake config
rm -rf %{buildroot}%{_usr}/cmake
%post -p /sbin/ldconfig %post -p /sbin/ldconfig
%postun -p /sbin/ldconfig %postun -p /sbin/ldconfig