diff --git a/changelogs/fragments/fix-rpm-spec.yaml b/changelogs/fragments/fix-rpm-spec.yaml new file mode 100644 index 00000000000..94bae7fc192 --- /dev/null +++ b/changelogs/fragments/fix-rpm-spec.yaml @@ -0,0 +1,4 @@ +--- +bugfixes: + - Fix the upstream rpm spec file. The ansible-test package requirement on + the main ansible package was formatted incorrectly. diff --git a/packaging/rpm/ansible.spec b/packaging/rpm/ansible.spec index a77939e5ad1..84679d497b3 100644 --- a/packaging/rpm/ansible.spec +++ b/packaging/rpm/ansible.spec @@ -160,7 +160,7 @@ are transferred to managed machines automatically. %package -n ansible-test Summary: Tool for testing ansible plugin and module code -Requires: %{name}-%{version}-%{release} +Requires: %{name} = %{version}-%{release} %if 0%{?rhel} >= 8 # Will use the python3 stdlib venv #Requires: python3-virtualenv