From d83daad2d6308d6e6d3a028b847cd581a698fb09 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Tue, 7 May 2019 09:53:03 +0200 Subject: [PATCH] Make sure this package is rebuilt with correct Python version when updating Otherwise mpi.req from rpm-mpi-hooks doesn't work https://bugzilla.redhat.com/show_bug.cgi?id=1705296 --- mpich.spec | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/mpich.spec b/mpich.spec index 4ca17e5..d420dbf 100644 --- a/mpich.spec +++ b/mpich.spec @@ -69,6 +69,11 @@ Requires: rpm-mpi-hooks Provides: mpich2-devel = 3.0.1 Obsoletes: mpich2-devel < 3.0 +# Make sure this package is rebuilt with correct Python version when updating +# Otherwise mpi.req from rpm-mpi-hooks doesn't work +# https://bugzilla.redhat.com/show_bug.cgi?id=1705296 +Requires: (python(abi) = %{python3_version} if python3) + %description devel Contains development headers and libraries for mpich