Remove lwres remains

This commit is contained in:
Petr Menšík 2020-08-31 14:57:43 +02:00
parent 1667a58d2a
commit 89421c0410
1 changed files with 2 additions and 3 deletions

View File

@ -780,10 +780,9 @@ popd
find ${RPM_BUILD_ROOT}/%{_libdir} -name '*.la' -exec '/bin/rm' '-f' '{}' ';';
# Remove -devel files out of buildroot if not needed
%if !%{with DEVEL}
rm -f ${RPM_BUILD_ROOT}/%{_libdir}/bind9/*so
%if %{without DEVEL}
rm -f ${RPM_BUILD_ROOT}/%{_libdir}/bind9/*.so
rm -rf ${RPM_BUILD_ROOT}/%{_includedir}/bind9
rm -f ${RPM_BUILD_ROOT}/%{_mandir}/man3/lwres*
%endif
# PKCS11 versions manpages