summaryrefslogtreecommitdiff
path: root/rhel/openvswitch-dkms.spec.in
diff options
context:
space:
mode:
authorGuzowski Adrian <adrian.guzowski@exatel.pl>2021-05-27 05:07:29 +0000
committerIlya Maximets <i.maximets@ovn.org>2021-07-16 14:18:10 +0200
commitcb4bff6ff869d735db2a578589e16237196006fa (patch)
treeb3ccb6f8e28daee02dde5adbe86932f5cbfff233 /rhel/openvswitch-dkms.spec.in
parent1f38f9dcf2be0888a9ec45116f06b3327b036144 (diff)
downloadopenvswitch-cb4bff6ff869d735db2a578589e16237196006fa.tar.gz
Don't mangle shebangs when building DKMS RPM package.
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> Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
Diffstat (limited to 'rhel/openvswitch-dkms.spec.in')
-rw-r--r--rhel/openvswitch-dkms.spec.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/rhel/openvswitch-dkms.spec.in b/rhel/openvswitch-dkms.spec.in
index c8a978a17..e3d77e3c7 100644
--- a/rhel/openvswitch-dkms.spec.in
+++ b/rhel/openvswitch-dkms.spec.in
@@ -28,6 +28,9 @@ 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.