Make -test and -devel require both main package and -libs explicitly
Requiring just the main package would do, but this way it's easier to see directly. CPython does the same.
This commit is contained in:
parent
a0e5980f84
commit
da61e64d93
@ -186,6 +186,7 @@ Conflicts: pypy3 < 7.3.7-1
|
||||
# It's intended for the libs package not to drag in the interpreter, see
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=1547131
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=1862082
|
||||
# All other packages require the main package explicitly.
|
||||
%global __requires_exclude ^/usr/bin/pypy
|
||||
|
||||
%description
|
||||
@ -251,6 +252,7 @@ Libraries required by the various PyPy implementations of Python %{pyversion}.
|
||||
|
||||
%package test
|
||||
Summary: Tests for PyPy%{pyversion}
|
||||
Requires: pypy%{pyversion}%{?_isa} = %{version}-%{release}
|
||||
Requires: pypy%{pyversion}-libs%{?_isa} = %{version}-%{release}
|
||||
|
||||
%if %{with main_pypy3}
|
||||
@ -266,6 +268,7 @@ Useful when you want to run the test suite of PyPy%{pyversion}.
|
||||
%package devel
|
||||
Summary: Development tools for working with PyPy%{pyversion}
|
||||
Requires: pypy%{pyversion}%{?_isa} = %{version}-%{release}
|
||||
Requires: pypy%{pyversion}-libs%{?_isa} = %{version}-%{release}
|
||||
|
||||
%if %{with main_pypy3}
|
||||
Provides: pypy3-devel = %{version}-%{release}
|
||||
|
Loading…
Reference in New Issue
Block a user