Skip to content

Commit

Permalink
spec: Require pygpgme instead of python2-gpg on RHEL 7.
Browse files Browse the repository at this point in the history
Closes: rpm-software-management#1071
Approved by: m-blaha
  • Loading branch information
Daniel Mach authored and rh-atomic-bot committed Apr 27, 2018
1 parent 7f2e3a1 commit f589e08
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions dnf.spec
Original file line number Diff line number Diff line change
Expand Up @@ -158,8 +158,13 @@ BuildRequires: python2-libdnf >= %{hawkey_version}
BuildRequires: python2-libcomps >= %{libcomps_version}
BuildRequires: python2-librepo >= %{librepo_version}
BuildRequires: python2-nose
%if (0%{?rhel} && 0%{?rhel} <= 7)
BuildRequires: pygpgme
Requires: pygpgme
%else
BuildRequires: python2-gpg
Requires: python2-gpg
%endif
BuildRequires: pyliblzma
Requires: pyliblzma
Requires: %{name}-data = %{version}-%{release}
Expand Down

0 comments on commit f589e08

Please sign in to comment.