Skip to content
This repository has been archived by the owner on Aug 29, 2018. It is now read-only.

python2-tracer 0.6.12 only in EPEL and F26 #521

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions katello-host-tools/katello-host-tools.spec
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ BuildArch: noarch
Requires: subscription-manager
Requires: %{name}-fact-plugin

%if 0%{?fedora} > 18 || 0%{?rhel} > 6
%if 0%{?fedora} > 24 || 0%{?rhel} > 6
Requires: python2-tracer >= 0.6.12
Requires: python-rhsm
Requires: crontabs
Expand Down Expand Up @@ -112,7 +112,7 @@ cp src/rhsm-plugins/fqdn.py %{buildroot}%{_datadir}/rhsm-plugins/fqdn.py
# cache directory
mkdir -p %{buildroot}/var/cache/katello-agent/

%if 0%{?fedora} > 18 || 0%{?rhel} > 6
%if 0%{?fedora} > 24 || 0%{?rhel} > 6
cp src/yum-plugins/tracer_upload.py %{buildroot}/%{_prefix}/lib/yum-plugins
cp etc/yum/pluginconf.d/tracer_upload.conf %{buildroot}/%{_sysconfdir}/yum/pluginconf.d/tracer_upload.conf
cp bin/katello-tracer-upload %{buildroot}%{_sbindir}/katello-tracer-upload
Expand Down Expand Up @@ -161,7 +161,7 @@ exit 0
%attr(750, root, root) %{_sbindir}/katello-enabled-repos-upload
%{_prefix}/lib/yum-plugins

%if 0%{?fedora} > 18 || 0%{?rhel} > 6
%if 0%{?fedora} > 25 || 0%{?rhel} > 6
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo ? The other lines are 24

%{_sysconfdir}/yum/pluginconf.d/tracer_upload.conf
%attr(750, root, root) %{_sbindir}/katello-tracer-upload
%config(noreplace) %attr(0644, root, root) %{_sysconfdir}/cron.d/%{name}
Expand Down