From 6206f78ef055a6a4a96b5944a0c13e291ebee142 Mon Sep 17 00:00:00 2001 From: Tim Hardeck Date: Fri, 19 Dec 2014 13:05:28 +0100 Subject: [PATCH] Exclude prepare-dirs from bin package Prepare-dirs on i586 platforms end up in the same directory as the other lib files so it would get automatically included in the bin package. To prevent this only "*.so*" files are included in the bin package from this directory. fixes #8126 Signed-off-by: Gunnar Beutner --- icinga2.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/icinga2.spec b/icinga2.spec index db9e34cb9..ddb325d7d 100644 --- a/icinga2.spec +++ b/icinga2.spec @@ -454,7 +454,8 @@ exit 0 %{_sbindir}/%{name} %exclude %{_libdir}/%{name}/libdb_ido_mysql* %exclude %{_libdir}/%{name}/libdb_ido_pgsql* -%{_libdir}/%{name} +%dir %{_libdir}/%{name} +%{_libdir}/%{name}/*.so* %{_datadir}/%{name} %exclude %{_datadir}/%{name}/include %{_mandir}/man8/%{name}.8.gz