summaryrefslogtreecommitdiffstats
path: root/kernel.spec
diff options
context:
space:
mode:
authorLaura Abbott <labbott@redhat.com>2019-11-05 16:48:22 -0500
committerLaura Abbott <labbott@redhat.com>2019-11-13 10:01:44 -0500
commit4019404bbca31c28da0e8f74f06473df1798a437 (patch)
treeca03d4e66e01101cf6e8288de4817306ec931ef7 /kernel.spec
parent6f0f15962eb202999219edb2fd50efa8199d8bd2 (diff)
downloadkernel-4019404bbca31c28da0e8f74f06473df1798a437.tar.gz
kernel-4019404bbca31c28da0e8f74f06473df1798a437.tar.xz
kernel-4019404bbca31c28da0e8f74f06473df1798a437.zip
Drop Fedora checks around pathfix
The el7 buildroot now has pathfix so we can drop these checks.
Diffstat (limited to 'kernel.spec')
-rw-r--r--kernel.spec6
1 files changed, 1 insertions, 5 deletions
diff --git a/kernel.spec b/kernel.spec
index e98a3eedc..1ff43fb0a 100644
--- a/kernel.spec
+++ b/kernel.spec
@@ -513,10 +513,8 @@ BuildRequires: kmod, patch, bash, tar, git-core
BuildRequires: bzip2, xz, findutils, gzip, m4, perl-interpreter, perl-Carp, perl-devel, perl-generators, make, diffutils, gawk
BuildRequires: gcc, binutils, redhat-rpm-config, hmaccalc, bison, flex
BuildRequires: net-tools, hostname, bc, elfutils-devel, dwarves
-%if 0%{?fedora}
# Used to mangle unversioned shebangs to be Python 3
-BuildRequires: /usr/bin/pathfix.py
-%endif
+BuildRequires: python3-devel
%if %{with_headers}
BuildRequires: rsync
%endif
@@ -1258,7 +1256,6 @@ mv COPYING COPYING-%{version}
# This Prevents scripts/setlocalversion from mucking with our version numbers.
touch .scmversion
-%if 0%{?fedora}
# Mangle /usr/bin/python shebangs to /usr/bin/python3
# Mangle all Python shebangs to be Python 3 explicitly
# -p preserves timestamps
@@ -1277,7 +1274,6 @@ pathfix.py -i "%{__python3} %{py3_shbang_opts}" -p -n \
tools/perf/scripts/python/sched-migration.py \
Documentation \
scripts/gen_compile_commands.py
-%endif
# Deal with configs stuff
mkdir configs