dnf for f22+ otherwise require yum-utils
This commit is contained in:
parent
fe22eb7b35
commit
15705cf517
@ -25,7 +25,11 @@ Provides: cblrpm = %{version}-%{release}
|
||||
Requires: cabal-install
|
||||
Requires: rpm-build
|
||||
# for repoquery
|
||||
%if 0%{?fedora} >= 22
|
||||
Requires: dnf-plugins-core
|
||||
%else
|
||||
Requires: yum-utils
|
||||
%endif
|
||||
# for rpmdev-bumpspec
|
||||
Requires: rpmdevtools
|
||||
|
||||
@ -72,7 +76,7 @@ ln -s cblrpm %{buildroot}%{_bindir}/%{name}
|
||||
|
||||
%changelog
|
||||
* Tue Feb 24 2015 Jens Petersen <petersen@redhat.com> - 0.9.4-2
|
||||
- require dnf-plugins-core instead of yum-utils
|
||||
- require dnf-plugins-core instead of yum-utils for F22+
|
||||
|
||||
* Tue Feb 17 2015 Jens Petersen <petersen@fedoraproject.org> - 0.9.4-1
|
||||
- use dnf if installed instead of yum for install and repoquery (#1156553)
|
||||
|
Loading…
Reference in New Issue
Block a user