Project

General

Profile

« Previous | Next » 

Revision 4a8e4c2c

Added by Evgeni Golov about 2 months ago

Don't install package and repository upload on DNF installs

View differences:

packages/client/katello-host-tools/katello-host-tools.spec
Name: katello-host-tools
Version: 4.2.3
Release: 5%{?dist}
Release: 6%{?dist}
Summary: A set of commands and yum plugins that support a Katello host
Group: Development/Languages
%if 0%{?suse_version}
......
exit 0
%endif
%if %{yum_install} || %{zypper_install}
%posttrans
katello-package-upload 2> /dev/null
katello-enabled-repos-upload 2> /dev/null
exit 0
%endif
%if %{build_agent}
%postun -n katello-agent
......
%endif
%endif
%if %{yum_install} || %{zypper_install}
%attr(750, root, root) %{_sbindir}/katello-package-upload
%attr(750, root, root) %{_sbindir}/katello-enabled-repos-upload
%else
%exclude %{_sbindir}/katello-package-upload
%exclude %{_sbindir}/katello-enabled-repos-upload
%endif
%if %{zypper_install}
%dir %{_sysconfdir}/yum
......
%changelog
* Tue Apr 09 2024 Evgeni Golov - 4.2.3-6
- Don't install package and repository upload on DNF installs
* Thu Jan 25 2024 Ian Ballou <ianballou67@gmail.com> - 4.2.3-5
- Add missing EL6/7 python-setuptools dependency

Also available in: Unified diff