From edbcfbc9996a34fe997526565a773c77432de4ea Mon Sep 17 00:00:00 2001 From: Vratislav Podzimek Date: Tue, 9 Apr 2019 12:37:12 +0200 Subject: [PATCH] Do not strip debug symbols in CFEngine packages --- packaging/cfengine-nova-hub/cfengine-nova-hub.spec.in | 3 +++ packaging/cfengine-nova-hub/debian/rules | 3 --- packaging/cfengine-nova/cfengine-nova.spec.in | 3 +++ packaging/cfengine-nova/debian/rules | 3 --- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/packaging/cfengine-nova-hub/cfengine-nova-hub.spec.in b/packaging/cfengine-nova-hub/cfengine-nova-hub.spec.in index 03ddd3510..5aaecfb6a 100644 --- a/packaging/cfengine-nova-hub/cfengine-nova-hub.spec.in +++ b/packaging/cfengine-nova-hub/cfengine-nova-hub.spec.in @@ -1,3 +1,6 @@ +%global debug_package %{nil} +%global __strip /bin/true +%global _enable_debug_packages 0 %define prefix %{buildprefix} %global __os_install_post %{nil} diff --git a/packaging/cfengine-nova-hub/debian/rules b/packaging/cfengine-nova-hub/debian/rules index 758827211..252fd0864 100755 --- a/packaging/cfengine-nova-hub/debian/rules +++ b/packaging/cfengine-nova-hub/debian/rules @@ -101,9 +101,6 @@ binary-arch: build install dh_testroot $(EXCLUDE) dh_install --sourcedir=debian/tmp $(EXCLUDE) dh_link -ifeq (,$(filter nostrip,$(DEB_BUILD_OPTIONS))) - dh_strip -endif dh_compress $(EXCLUDE) dh_fixperms $(EXCLUDE) -X $(PREFIX)/inputs -X $(PREFIX)/outputs -X $(PREFIX)/ppkeys -X $(PREFIX)/modules dh_installdeb $(EXCLUDE) diff --git a/packaging/cfengine-nova/cfengine-nova.spec.in b/packaging/cfengine-nova/cfengine-nova.spec.in index 2eac34aa6..7d1b8be5e 100644 --- a/packaging/cfengine-nova/cfengine-nova.spec.in +++ b/packaging/cfengine-nova/cfengine-nova.spec.in @@ -1,3 +1,6 @@ +%global debug_package %{nil} +%global __strip /bin/true +%global _enable_debug_packages 0 %define prefix %{buildprefix} Summary: The CFEngine Configuration System diff --git a/packaging/cfengine-nova/debian/rules b/packaging/cfengine-nova/debian/rules index 535484b35..d2786e2ea 100755 --- a/packaging/cfengine-nova/debian/rules +++ b/packaging/cfengine-nova/debian/rules @@ -51,9 +51,6 @@ binary-arch: build install dh_testroot $(EXCLUDE) dh_install --sourcedir=debian/tmp $(EXCLUDE) dh_link $(EXCLUDE) -ifeq (,$(filter nostrip,$(DEB_BUILD_OPTIONS))) - dh_strip -endif dh_compress $(EXCLUDE) dh_fixperms $(EXCLUDE) -X $(PREFIX)/inputs -X $(PREFIX)/outputs -X $(PREFIX)/ppkeys -X $(PREFIX)/modules dh_installdeb $(EXCLUDE)