Remove unnecessary workarounds
This commit is contained in:
parent
f79e4c7cba
commit
1ddfd04fdf
10
libldb.spec
10
libldb.spec
@ -189,17 +189,11 @@ make %{?_smp_mflags} check
|
|||||||
%{?export_waf_python}
|
%{?export_waf_python}
|
||||||
make install DESTDIR=$RPM_BUILD_ROOT
|
make install DESTDIR=$RPM_BUILD_ROOT
|
||||||
|
|
||||||
rm -f $RPM_BUILD_ROOT%{_libdir}/libldb.a
|
|
||||||
|
|
||||||
# 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 {} \;
|
|
||||||
|
|
||||||
# Install API docs
|
# Install API docs
|
||||||
cp -a apidocs/man/* $RPM_BUILD_ROOT/%{_mandir}
|
cp -a apidocs/man/* $RPM_BUILD_ROOT/%{_mandir}
|
||||||
|
|
||||||
# LDB 1.1.8+ bug: remove manpage named after full
|
# bug: remove manpage named after full file path
|
||||||
# file path
|
# not needed with el8+ and fc28+
|
||||||
rm -f $RPM_BUILD_ROOT/%{_mandir}/man3/_*
|
rm -f $RPM_BUILD_ROOT/%{_mandir}/man3/_*
|
||||||
|
|
||||||
%ldconfig_scriptlets
|
%ldconfig_scriptlets
|
||||||
|
Loading…
Reference in New Issue
Block a user