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
This commit is contained in:
Miro Hrončok 2019-05-07 09:53:03 +02:00 committed by zbyszek
parent 9457712ac3
commit d83daad2d6
1 changed files with 5 additions and 0 deletions

View File

@ -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