diff mbox series

[ovs-dev,v4] Don't mangle shebangs when building DKMS RPM package

Message ID f801f4ba4c7361e5a02dceb97e2e66996f5b36c4.camel@exatel.pl
State New
Headers show
Series [ovs-dev,v4] Don't mangle shebangs when building DKMS RPM package | expand

Commit Message

Guzowski Adrian May 27, 2021, 5:07 a.m. UTC
While building the package, some .in files are being subject to shebang
substitution, but the process fails, because given scripts have
placeholders in place of shebangs. In order to fix the issue, don't mangle
shebangs in this specific package.

Signed-off-by: Guzowski Adrian <adrian.guzowski@exatel.pl>
---
 rhel/openvswitch-dkms.spec.in | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/rhel/openvswitch-dkms.spec.in b/rhel/openvswitch-dkms.spec.in
index a47c038fd..5a57e4d48 100644
--- a/rhel/openvswitch-dkms.spec.in
+++ b/rhel/openvswitch-dkms.spec.in
@@ -27,6 +27,8 @@  BuildRoot:        %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
 # conflicts with the openvswitch-debuginfo package for OVS userspace).
 %undefine _enable_debug_packages
 
+# Disable shebangs mangling
+%undefine __brp_mangle_shebangs
 
 %description
 Open vSwitch Linux kernel module.