From 89421c0410ecbd485cfbe05cd1945a56bf529904 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Men=C5=A1=C3=ADk?= Date: Mon, 31 Aug 2020 14:57:43 +0200 Subject: [PATCH] Remove lwres remains --- bind.spec | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/bind.spec b/bind.spec index 81552cf..4a92ce9 100644 --- a/bind.spec +++ b/bind.spec @@ -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