# 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+`
Fixes https://pagure.io/packaging-committee/issue/898