Skip to content

Commit ad374dd

Browse files
author
Igor Gnatenko
committed
spec: don't mess up with py3 on EL7
Signed-off-by: Igor Gnatenko <[email protected]>
1 parent 40af4e2 commit ad374dd

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

dnf.spec

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -173,13 +173,11 @@ Requires: python3-hawkey >= %{hawkey_version}
173173
Requires: python3-iniparse
174174
Requires: python3-libcomps >= %{libcomps_version}
175175
Requires: python3-librepo >= %{librepo_version}
176+
BuildRequires: python3-rpm >= %{rpm_version}
177+
Requires: python3-rpm >= %{rpm_version}
176178
%if 0%{?rhel} && 0%{?rhel} <= 7
177-
BuildRequires: rpm-python3 >= %{rpm_version}
178-
Requires: rpm-python3 >= %{rpm_version}
179179
Requires: rpm-plugin-systemd-inhibit
180180
%else
181-
BuildRequires: python3-rpm >= %{rpm_version}
182-
Requires: python3-rpm >= %{rpm_version}
183181
Recommends: rpm-plugin-systemd-inhibit
184182
%endif
185183
# dnf-langpacks package is retired in F25

0 commit comments

Comments
 (0)