diff --git a/mpich.pth.py2 b/mpich.pth.py2 deleted file mode 100644 index a2dc353..0000000 --- a/mpich.pth.py2 +++ /dev/null @@ -1 +0,0 @@ -import sys, os; s = os.getenv('MPI_PYTHON2_SITEARCH'); s and (s in sys.path or sys.path.append(s)) diff --git a/mpich.spec b/mpich.spec index 25f413f..001474a 100644 --- a/mpich.spec +++ b/mpich.spec @@ -7,7 +7,6 @@ URL: https://www.mpich.org/ Source0: https://www.mpich.org/static/downloads/%{version}/%{name}-%{version}.tar.gz Source1: mpich.macros -Source2: mpich.pth.py2 Source3: mpich.pth.py3 Patch: 0001-pkgconf-remove-optimization-and-link-flags-from-pkgc.patch @@ -189,8 +188,6 @@ cp -p %{buildroot}%{_sysconfdir}/profile.d/mpich-%{_arch}.{sh,csh} install -pDm0644 %{SOURCE1} %{buildroot}%{_rpmconfigdir}/macros.d/macros.%{name} # Install the .pth files -mkdir -p %{buildroot}%{python2_sitearch}/%{name} -install -pDm0644 %{SOURCE2} %{buildroot}%{python2_sitearch}/%{name}.pth mkdir -p %{buildroot}%{python3_sitearch}/%{name} install -pDm0644 %{SOURCE3} %{buildroot}%{python3_sitearch}/%{name}.pth