[Lsb-messages] /var/www/bzr/lsb/devel/appbat r995: add to macros to defeat some current distros
Mats Wichmann
mats at linuxfoundation.org
Wed Jan 29 17:59:19 UTC 2014
------------------------------------------------------------
revno: 995
committer: Mats Wichmann <mats at linuxfoundation.org>
branch nick: appbat
timestamp: Wed 2014-01-29 10:59:19 -0700
message:
add to macros to defeat some current distros
modified:
rpm/common-macros.specinclude.in
-------------- next part --------------
=== modified file 'rpm/common-macros.specinclude.in'
--- a/rpm/common-macros.specinclude.in 2013-05-21 23:34:25 +0000
+++ b/rpm/common-macros.specinclude.in 2014-01-29 17:59:19 +0000
@@ -11,20 +11,36 @@
%define _messagelevel 0
-# replace the "buildpolicy" defined in the distro's brp-{distro} file.
-# Forces uncompressed manpages, so the specfiles don't vary
-#
+# Replace parts of the build policy macros, to keep them from doing
+# undesirable things (from the LSB Appbat viewpoint). This is not a
+# precise art as different distros do different things and change over time.
+
+# simplify to only strip binaries, not modify other files
%define __os_install_post \
/usr/lib/rpm/brp-strip
+%define __arch_install_post %{nil}
+
+# do not build debug packages
+%define _enable_debug_packages 0
+
+# sadly, os macros seem to override the above sometimes. so:
+%define __debug_install_post %{nil}
+%define debug_package %{nil}
+
+# experimental: do not use internal dep generator
+%define _use_internal_dependency_generator 0
+
# Unpackaged files in a build root don't terminate a build
-#
%define _unpackaged_files_terminate_build 0
# Missing %doc files in the build directory don't terminate a build
-#
%define _missing_doc_files_terminate_build 0
+# Missing buildids don't terminate a build
+# this should not matter if we also avoid debug packages
+%define _missing_build_ids_terminate_build 0
+
# Force gzip payload
%define _binary_payload w9.gzdio
More information about the lsb-messages
mailing list