From a703da4add115fa1c25bb6ad878fce5d8e09a4dc Mon Sep 17 00:00:00 2001 From: Miro HronĨok Date: May 18 2021 09:24:12 +0000 Subject: Use %global instead of %define in BRP opt-out Fixes https://pagure.io/packaging-committee/issue/898 --- diff --git a/guidelines/modules/ROOT/pages/index.adoc b/guidelines/modules/ROOT/pages/index.adoc index c4b4548..5398da2 100644 --- a/guidelines/modules/ROOT/pages/index.adoc +++ b/guidelines/modules/ROOT/pages/index.adoc @@ -1805,7 +1805,7 @@ All packages SHOULD always be subject to all the BRP scripts, but sometimes it i .... # Turn off Python bytecode compilation because this is a Jython # package and we will generate JVM bytecode instead -%define __brp_python_bytecompile %{nil} +%global __brp_python_bytecompile %{nil} .... Any package that disables a BRP script this way MUST also note the reason in an accompanying comment. For a list of the BRP scripts run by default, on F28 and newer invoke: `+fgrep '%__brp_' /usr/lib/rpm/redhat/macros+`