Skip to content

Commit

Permalink
subpackage requirement should be versioned
Browse files Browse the repository at this point in the history
The setuptools entry point in /usr/bin/rpmdeplint is going to have its
own versioned requirement embedded anyway, so to satisfy that we need
them to stay in sync.

Plus if somebody says "dnf upgrade rpmdeplint" they probably want the
actual Python module upgraded too. See Fedora bug 1462047.

Change-Id: I829509828b9aaa20cfa6deec63e157ea2f2971f2
  • Loading branch information
danc86 committed Jun 19, 2017
1 parent 481a6bf commit 659ff9c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rpmdeplint.spec
Expand Up @@ -21,9 +21,9 @@ BuildArch: noarch
# The base package is just the CLI, which pulls in the rpmdeplint
# Python modules to do the real work.
%if %{with python3}
Requires: python3-%{name}
Requires: python3-%{name} = %{version}-%{release}
%else
Requires: python2-%{name}
Requires: python2-%{name} = %{version}-%{release}
%endif

%description
Expand Down

0 comments on commit 659ff9c

Please sign in to comment.