Skip to content

Commit

Permalink
Do not strip debug symbols in CFEngine packages
Browse files Browse the repository at this point in the history
  • Loading branch information
vpodzime committed Apr 9, 2019
1 parent 65ee781 commit edbcfbc
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
3 changes: 3 additions & 0 deletions packaging/cfengine-nova-hub/cfengine-nova-hub.spec.in
Original file line number Diff line number Diff line change
@@ -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}
Expand Down
3 changes: 0 additions & 3 deletions packaging/cfengine-nova-hub/debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
3 changes: 3 additions & 0 deletions packaging/cfengine-nova/cfengine-nova.spec.in
Original file line number Diff line number Diff line change
@@ -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
Expand Down
3 changes: 0 additions & 3 deletions packaging/cfengine-nova/debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit edbcfbc

Please sign in to comment.