From df0134c0142cf0b5a5ad6c297d4d1b73f32f476a Mon Sep 17 00:00:00 2001 From: Franck Villaume Date: Mon, 25 Oct 2021 15:42:56 +0200 Subject: [PATCH] remove unexisting dir scan --- src/rpm/fusionforge.spec.in | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/rpm/fusionforge.spec.in b/src/rpm/fusionforge.spec.in index 2a1887b042..72973d7868 100644 --- a/src/rpm/fusionforge.spec.in +++ b/src/rpm/fusionforge.spec.in @@ -39,12 +39,11 @@ install_listfiles() make install-${1} prefix=%{_prefix} DESTDIR=%{_builddir}/t ( cd %{_builddir}/t/ - find .%{_bindir} ! -type d || true find .%{_sysconfdir} ! -type d | sed -e 's,^\.,%config(noreplace) ,' || true find .%{_sysconfdir}/%{name} -type d | sed -e 's,^\.,%dir ,' || true - find .%{_datadir}/%{name} .%{_localstatedir}/lib/%{name} .%{_localstatedir}/log/%{name} \ + find .%{_datadir}/%{name} .%{_localstatedir}/lib/%{name} \ ! -type d || true - find .%{_datadir}/%{name} .%{_localstatedir}/lib/%{name} .%{_localstatedir}/log/%{name} \ + find .%{_datadir}/%{name} .%{_localstatedir}/lib/%{name} \ -type d | sed -e 's,^\.,%dir ,' || true ) | sed -e 's,^\.,,' > ${1}.rpmfiles rm -rf %{_builddir}/t/ -- 2.30.2