From 276a7e86680574ae74aeae55e2f3387c55f68531 Mon Sep 17 00:00:00 2001 From: Jeff Ohrstrom Date: Thu, 28 Sep 2023 13:10:27 -0400 Subject: [PATCH] disregard brp-python-bytecompile errors (#3083) disregard brp-python-bytecompile errors so el7 can continue to build. --- packaging/rpm/ondemand.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packaging/rpm/ondemand.spec b/packaging/rpm/ondemand.spec index fc715a9390..9f21dbd887 100644 --- a/packaging/rpm/ondemand.spec +++ b/packaging/rpm/ondemand.spec @@ -13,6 +13,9 @@ %global gem_home %{scl_ondemand_core_gem_home}/%{version}-%{package_release} %global gems_name ondemand-gems-%{version}-%{package_release} +# disregard brp-python-bytecompile errors +%global _python_bytecompile_errors_terminate_build 0 + %define __brp_mangle_shebangs /bin/true %if 0%{?amzn} # RPATH is always broken with things like nokogiri