You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
rhn-custom-info/SOURCES/rhn-custom-info-5.4.42-3-el...

34 lines
1.1 KiB

diff --git a/rhn-custom-info.spec b/rhn-custom-info.spec
index 72b046c..040fcce 100644
--- a/rhn-custom-info.spec
+++ b/rhn-custom-info.spec
@@ -5,7 +5,7 @@
Name: rhn-custom-info
Summary: Set and list custom values for RHN-enabled machines
Version: 5.4.42
-Release: 3%{?dist}
+Release: 4%{?dist}
License: GPLv2
Source0: https://github.com/spacewalkproject/spacewalk/archive/%{name}-%{version}.tar.gz
URL: https://github.com/spacewalkproject/spacewalk
@@ -18,7 +18,7 @@ BuildRequires: python-devel
Requires: rhnlib
%endif
-%if 0%{?fedora}
+%if 0%{?fedora} || 0%{?rhel} >= 8
Requires: dnf-plugin-spacewalk
%else
%if 0%{?suse_version}
@@ -59,6 +59,10 @@ install -m 644 rhn-custom-info.8 $RPM_BUILD_ROOT%{_mandir}/man8/
%{_mandir}/man8/rhn-custom-info.*
%changelog
+* Mon Apr 16 2018 Tomas Kasparek <tkasparek@redhat.com> 5.4.42-4
+- Resolves: #1566053 - require dnf-plugin-spacewalk on rhel8 instead of yum
+ (tkasparek@redhat.com)
+
* Wed Mar 14 2018 Tomas Kasparek <tkasparek@redhat.com> 5.4.42-3
- build rhn-custom-info for python3 (tkasparek@redhat.com)