|
|
906f4e |
diff --git a/dnf-plugin-spacewalk.spec b/dnf-plugin-spacewalk.spec
|
|
|
906f4e |
index e73ef9b..41ff4e5 100644
|
|
|
906f4e |
--- a/dnf-plugin-spacewalk.spec
|
|
|
906f4e |
+++ b/dnf-plugin-spacewalk.spec
|
|
|
906f4e |
@@ -12,7 +12,7 @@
|
|
|
906f4e |
Summary: DNF plugin for Spacewalk
|
|
|
906f4e |
Name: dnf-plugin-spacewalk
|
|
|
906f4e |
Version: 2.8.5
|
|
|
906f4e |
-Release: 4%{?dist}
|
|
|
906f4e |
+Release: 5%{?dist}
|
|
|
906f4e |
License: GPLv2
|
|
|
906f4e |
Source0: https://github.com/spacewalkproject/spacewalk/archive/%{name}-%{version}.tar.gz
|
|
|
906f4e |
URL: https://github.com/spacewalkproject/spacewalk
|
|
|
906f4e |
@@ -29,6 +29,9 @@ Requires: librepo >= 1.7.15
|
|
|
906f4e |
%if 0%{?fedora}
|
|
|
906f4e |
Obsoletes: yum-rhn-plugin < 2.7
|
|
|
906f4e |
%endif
|
|
|
906f4e |
+%if 0%{?rhel} >= 8
|
|
|
906f4e |
+Provides: yum-rhn-plugin = %{version}
|
|
|
906f4e |
+%endif
|
|
|
906f4e |
|
|
|
906f4e |
%description
|
|
|
906f4e |
This DNF plugin provides access to a Spacewalk server for software updates.
|
|
|
906f4e |
@@ -71,6 +74,8 @@ install -d %{buildroot}%{_mandir}/man{5,8}
|
|
|
906f4e |
install -m 644 spacewalk.conf %{buildroot}%{_sysconfdir}/dnf/plugins/
|
|
|
906f4e |
install -m 644 man/spacewalk.conf.5 %{buildroot}%{_mandir}/man5/
|
|
|
906f4e |
install -m 644 man/dnf.plugin.spacewalk.8 %{buildroot}%{_mandir}/man8/
|
|
|
906f4e |
+ln -sf dnf.plugin.spacewalk.8 $RPM_BUILD_ROOT%{_mandir}/man8/dnf-plugin-spacewalk.8
|
|
|
906f4e |
+ln -sf dnf.plugin.spacewalk.8 $RPM_BUILD_ROOT%{_mandir}/man8/yum-rhn-plugin.8
|
|
|
906f4e |
|
|
|
906f4e |
# python2
|
|
|
906f4e |
%if 0%{?build_py2}
|
|
|
906f4e |
@@ -112,6 +117,12 @@ install -m 644 actions/errata.py %{buildroot}%{python3_sitelib}/rhn/actions/
|
|
|
906f4e |
%endif
|
|
|
906f4e |
|
|
|
906f4e |
%changelog
|
|
|
906f4e |
+* Tue Jul 24 2018 Tomas Kasparek <tkasparek@redhat.com> 2.8.5-5
|
|
|
906f4e |
+- Related: #1581665 - provide useful symlinks to a manpage
|
|
|
906f4e |
+ (tkasparek@redhat.com)
|
|
|
906f4e |
+- Resolves: #1581665 - provide yum-rhn-plugin on new RHEL systems
|
|
|
906f4e |
+ (tkasparek@redhat.com)
|
|
|
906f4e |
+
|
|
|
906f4e |
* Tue Mar 20 2018 Tomas Kasparek <tkasparek@redhat.com> 2.8.5-4
|
|
|
906f4e |
- don't build python2 subpackages on systems with default python2
|
|
|
906f4e |
(tkasparek@redhat.com)
|