[check-mk/el5] Cleanup debug files and make sure the livestatus files are installed correctly

averi averi at fedoraproject.org
Wed Oct 2 16:25:39 UTC 2013


commit 2359fe92593c9e978c3a4a7bf61c10db5c1a0a3f
Author: Andrea Veri <av at gnome.org>
Date:   Wed Oct 2 18:25:30 2013 +0200

    Cleanup debug files and make sure the livestatus files are installed correctly

 check-mk.spec |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/check-mk.spec b/check-mk.spec
index 661454a..ffcd089 100644
--- a/check-mk.spec
+++ b/check-mk.spec
@@ -180,6 +180,8 @@ rm -rf %{buildroot}%{_datadir}/check_mk/agents/windows/
 # built and installed into the check-mk-agent's package already.
 rm %{buildroot}%{_datadir}/check_mk/agents/waitmax
 rm %{buildroot}%{_datadir}/check_mk/agents/waitmax.c
+rm %{buildroot}%{_prefix}/src/debug/%{name}-%{version}/livestatus.src/src/unixcat.c
+rm %{buildroot}%{_prefix}/lib/debug/usr/bin/unixcat.debug
 
 # Remove the packages directory.
 rm -rf %{buildroot}%{_localstatedir}/lib/check_mk/packages/
@@ -238,13 +240,13 @@ rmdir %{buildroot}%{_prefix}/lib/check_mk
 
 %ifarch i686
 
-%{_prefix}/lib/check_mk
+%{_prefix}/lib/check_mk/*
 
 %endif
 
 %ifarch x86_64 ppc64
  
-%{_prefix}/lib64/check_mk
+%{_prefix}/lib64/check_mk/*
 
 %endif
 
@@ -253,6 +255,8 @@ rmdir %{buildroot}%{_prefix}/lib/check_mk
 - Make sure an /etc/check_mk/conf.d/wato directory is created for WATO
   to work properly. (BZ: #987863)
 - Define the RPM_BUILD_ROOT or the build will fail on a RHEL 5 mock.
+- Cleanup debug files and make sure the livestatus files are installed
+  correctly.
 
 * Sat Aug 31 2013 Andrea Veri <averi at fedoraproject.org> - 1.2.2p2-1
 - New upstream release.


More information about the scm-commits mailing list