Remove unnecessary workarounds

This commit is contained in:
Lukas Slebodnik 2019-01-18 11:05:56 +01:00
parent 920d9a2ff2
commit f9fb143b66

View File

@ -127,13 +127,6 @@ make %{?_smp_mflags} check
%{?export_waf_python}
make install DESTDIR=$RPM_BUILD_ROOT
# Shared libraries need to be marked executable for
# rpmbuild to strip them and include them in debuginfo
find $RPM_BUILD_ROOT -name "*.so*" -exec chmod -c +x {} \;
rm -f $RPM_BUILD_ROOT%{_libdir}/libtalloc.a
rm -f $RPM_BUILD_ROOT/usr/share/swig/*/talloc.i
# Install API docs
cp -a doc/man/* $RPM_BUILD_ROOT/%{_mandir}