Skip to content

Commit

Permalink
use conditional name for python enum package
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Sehnoutka authored and m-blaha committed Oct 3, 2018
1 parent e75aff5 commit c90c00c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion dnf.spec
Original file line number Diff line number Diff line change
Expand Up @@ -171,15 +171,18 @@ BuildRequires: python2-libdnf >= %{hawkey_version}
BuildRequires: python2-libcomps >= %{libcomps_version}
BuildRequires: python2-libdnf
BuildRequires: python2-nose
Requires: python2-enum34
BuildRequires: libmodulemd >= %{libmodulemd_version}
Requires: libmodulemd >= %{libmodulemd_version}
%if (0%{?rhel} && 0%{?rhel} <= 7)
BuildRequires: pygpgme
Requires: pygpgme
BuildRequires: python-enum34
Requires: python-enum34
%else
BuildRequires: python2-gpg
Requires: python2-gpg
BuildRequires: python2-enum34
Requires: python2-enum34
%endif
BuildRequires: pyliblzma
Requires: pyliblzma
Expand Down

0 comments on commit c90c00c

Please sign in to comment.