rhn-client-tools/SPECS/rhn-client-tools.spec

1578 lines
50 KiB
RPMSpec

%if 0%{?fedora} || 0%{?suse_version} > 1320 || 0%{?rhel} >= 8 || 0%{?mageia}
%global build_py3 1
%global default_py3 1
%endif
%if 0%{?fedora} >= 28 || 0%{?rhel} >= 8 || 0%{?mageia}
%global py3_deps 1
%endif
# python2 libs are needed only for server, this version is for client
%global build_py2 0
%{!?_presetdir:%global _presetdir /lib/systemd/system-preset}
%if "%{_vendor}" == "debbuild"
# Bash constructs in scriptlets don't play nice with Debian's default shell, dash
%global _buildshell /bin/bash
%endif
%{!?__python2:%global __python2 /usr/bin/python2}
%{!?__python3:%global __python3 /usr/bin/python3}
%if %{undefined python2_version}
%global python2_version %(%{__python2} -Esc "import sys; sys.stdout.write('{0.major}.{0.minor}'.format(sys.version_info))")
%endif
%if %{undefined python3_version}
%global python3_version %(%{__python3} -Ic "import sys; sys.stdout.write(sys.version[:3])")
%endif
%if %{undefined python2_sitelib}
%global python2_sitelib %(%{__python2} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")
%endif
%if %{undefined python3_sitelib}
%global python3_sitelib %(%{__python3} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")
%endif
%if "%{_vendor}" == "debbuild"
# For making sure we can set the right args for deb distros
%global is_deb 1
%endif
%define pythonX %{?default_py3: python3}%{!?default_py3: python2}
Summary: Support programs and libraries for Red Hat Satellite or Spacewalk
Name: rhn-client-tools
Version: 2.10.10
Release: 1.0.8%{?dist}
%if "%{_vendor}" == "debbuild"
Group: admin
Packager: Spacewalk Project <spacewalk-devel@redhat.com>
%endif
License: GPLv2
Source0: %{name}-%{version}.tar.gz
URL: https://github.com/spacewalkproject/spacewalk
Patch1000: rhn-client-tools-2.10.10-1.0.6.el9-to-rhn-client-tools-2.10.10-1.0.7.el9.patch
Patch1001: 1001-fix-base64-encoding-Bug34372838.patch
%if 0%{?suse_version}
BuildRequires: update-desktop-files
%endif
%if "%{_vendor}" != "debbuild"
Requires: rpm >= 4.2.3-24_nonptl
Requires: /usr/bin/gpg
Requires: coreutils
%if 0%{?suse_version}
Requires: zypper
%else
%if 0%{?fedora} || 0%{?rhel} >= 8 || 0%{?mageia} >= 6
Requires: dnf
%else
Requires: yum
%endif # 0%{?fedora}
%endif # 0%{?suse_version}
%endif
%if "%{_vendor}" == "debbuild"
Requires: apt
%if 0%{?ubuntu} >= 1804
Requires: gpg
%else
Requires: gnupg
%endif
Requires: coreutils
%endif
BuildRequires: rpm
Requires: %{pythonX}-%{name} = %{version}-%{release}
Conflicts: up2date < 5.0.0
Conflicts: yum-rhn-plugin < 1.6.4-1
Conflicts: rhncfg < 5.9.23-1
Conflicts: spacewalk-koan < 0.2.7-1
Conflicts: rhn-kickstart < 5.4.3-1
Conflicts: rhn-virtualization-host < 5.4.36-2
BuildRequires: gettext
BuildRequires: intltool
BuildRequires: desktop-file-utils
%if 0%{?fedora}
BuildRequires: fedora-logos
BuildRequires: dnf
%endif
%if 0%{?mageia} >= 6
BuildRequires: dnf
%endif
%if 0%{?rhel}
BuildRequires: redhat-logos
%if 0%{?rhel} >= 8
BuildRequires: dnf
%else
BuildRequires: yum
%endif
%endif
%description
Red Hat Satellite Client Tools provides programs and libraries to allow your
system to receive software updates from Red Hat Satellite or Spacewalk.
%if 0%{?build_py2}
%package -n python2-%{name}
Summary: Support programs and libraries for Red Hat Satellite or Spacewalk
%{?python_provide:%python_provide python2-%{name}}
%if "%{_vendor}" == "debbuild"
Group: python
%endif
Requires: %{name} = %{version}-%{release}
Requires: rhnlib >= 2.5.78
%if "%{_vendor}" != "debbuild"
%if 0%{?fedora} || 0%{?rhel} >= 8
Requires: pygobject2
Requires: libgudev
%else
%if 0%{?suse_version} >= 1140
Requires: python-pyudev
%else
Requires: python-gudev
%endif # 0%{?suse_version} >= 1140
%endif # 0%{?fedora}
%if 0%{?rhel} || 0%{?fedora}
%if 0%{?py3_deps}
Requires: python2-newt
%else
Requires: newt-python
%endif
%endif
%if 0%{?suse_version}
Requires: dbus-1-python
Requires: python-newt
%else
%if 0%{?mageia}
Requires: python-dbus
%else
%if 0%{?py3_deps}
%if ! 0%{?rhel} >= 8
Requires: python2-dbus
%endif
%else
Requires: dbus-python
%endif
%endif # 0%{?mageia}
%endif # 0%{?suse_version}
%if 0%{?py3_deps}
Requires: python2-rpm
BuildRequires: python2-devel
BuildRequires: python2-rpm
%if 0%{?mageia}
%ifarch x86_64
Requires: python-dmidecode
%endif
Requires: python-ethtool >= 0.4
Requires: python-hwdata
BuildRequires: python-coverage
%else
%ifarch x86_64
Requires: python2-dmidecode
%endif
Requires: python2-ethtool >= 0.4
Requires: python2-hwdata
BuildRequires: python2-coverage
%endif
%else
Requires: rpm-python
%ifarch x86_64
Requires: python-dmidecode
%endif
Requires: python-ethtool >= 0.4
BuildRequires: python-devel
Requires: python-hwdata
BuildRequires: rpm-python
BuildRequires: python-coverage
%endif
%endif
%if "%{_vendor}" == "debbuild"
Requires: python-rpm
%ifarch x86_64
Requires: python-dmidecode
%endif
Requires: python-ethtool >= 0.4
BuildRequires: python-dev
Requires: python2-hwdata
BuildRequires: python-rpm
BuildRequires: python-coverage
Requires: gir1.2-gudev-1.0
Requires: python-gi
Requires: python-pyudev
Requires: python-dbus
Requires: python-newt
Requires(preun): python-minimal
Requires(post): python-minimal
%endif
# The following BuildRequires are for check only
Requires: rhnlib >= 2.5.78
%description -n python2-%{name}
Python 2 specific files of %{name}.
%endif
%if 0%{?build_py3}
%package -n python3-%{name}
Summary: Support programs and libraries for Red Hat Satellite or Spacewalk
%{?python_provide:%python_provide python3-%{name}}
%if "%{_vendor}" == "debbuild"
Group: python
%endif
Requires: %{name} = %{version}-%{release}
%if "%{_vendor}" != "debbuild"
%if 0%{?suse_version} >= 1140
Requires: python3-dbus-python
Requires: python3-newt
Requires: python3-pyudev
%else
Requires: libgudev
Requires: python3-dbus
%if 0%{?mageia}
Requires: python3-newt
Requires: python3-gobject3
%else
Requires: newt-python3
Requires: python3-gobject-base
%endif # 0%{?mageia}
%endif # 0%{?suse_version} >= 1140
BuildRequires: python3-devel
%endif
Requires: python3-rpm
%ifarch x86_64
Requires: python3-dmidecode
%endif
Requires: python3-netifaces
Requires: python3-hwdata
Requires: python3-rhnlib >= 2.5.78
%if "%{_vendor}" == "debbuild"
BuildRequires: python3-dev
Requires: python3-dbus
Requires: python3-newt
Requires: gir1.2-gudev-1.0
Requires: python3-pyudev
Requires: python3-gi
Requires(preun): python3-minimal
Requires(post): python3-minimal
%endif
# The following BuildRequires are for check only
BuildRequires: python3-coverage
BuildRequires: python3-rpm
Requires: python3-rhnlib >= 2.5.78
%description -n python3-%{name}
Python 3 specific files of %{name}.
%endif
%package -n rhn-check
Summary: Check for RHN actions
Requires: %{name} = %{version}-%{release}
Requires: %{pythonX}-rhn-check = %{version}-%{release}
%if "%{_vendor}" != "debbuild"
%if 0%{?suse_version}
Requires: zypp-plugin-spacewalk
%else
%if 0%{?fedora} || 0%{?rhel} >= 8 || 0%{?mageia} >= 6
Requires: dnf-plugin-spacewalk >= 2.4.0
%else
Requires: yum-rhn-plugin >= 1.6.4-1
%endif
%endif
%endif
%if "%{_vendor}" == "debbuild"
Requires: apt-transport-spacewalk
%endif
%description -n rhn-check
rhn-check polls a Red Hat Satellite or Spacewalk server to find and execute
scheduled actions.
%if 0%{?build_py2}
%package -n python2-rhn-check
Summary: Check for RHN actions
%{?python_provide:%python_provide python2-rhn-check}
Requires: rhn-check = %{version}-%{release}
%if "%{_vendor}" == "debbuild"
Requires(preun): python-minimal
Requires(post): python-minimal
%endif
%description -n python2-rhn-check
Python 2 specific files for rhn-check.
%endif
%if 0%{?build_py3}
%package -n python3-rhn-check
Summary: Support programs and libraries for Red Hat Satellite or Spacewalk
%{?python_provide:%python_provide python3-rhn-check}
Requires: rhn-check = %{version}-%{release}
%if "%{_vendor}" == "debbuild"
Requires(preun): python3-minimal
Requires(post): python3-minimal
%endif
%description -n python3-rhn-check
Python 3 specific files for rhn-check.
%endif
%package -n rhn-setup
Summary: Configure and register an RHN/Spacewalk client
Requires: %{pythonX}-rhn-setup = %{version}-%{release}
%if 0%{?fedora} || 0%{?rhel} || 0%{?debian} || 0%{?ubuntu}
Requires: usermode >= 1.36
%endif
%if 0%{?mageia}
Requires: usermode-consoleonly >= 1.36
%endif
Requires: %{name} = %{version}-%{release}
Requires: rhnsd
%description -n rhn-setup
rhn-setup contains programs and utilities to configure a system to use
Red Hat Satellite or Spacewalk, and to register a system with a Red Hat Satellite or Spacewalk server.
%if 0%{?build_py2}
%package -n python2-rhn-setup
Summary: Configure and register an RHN/Spacewalk client
%{?python_provide:%python_provide python2-rhn-setup}
Requires: rhn-setup = %{version}-%{release}
%if 0%{?fedora} || 0%{?rhel}
Requires: newt-python
%endif
%if 0%{?mageia} || 0%{?debian} || 0%{?ubuntu}
Requires: python-newt
%endif
%if "%{_vendor}" == "debbuild"
Requires(preun): python-minimal
Requires(post): python-minimal
%endif
%description -n python2-rhn-setup
Python 2 specific files for rhn-setup.
%endif
%if 0%{?build_py3}
%package -n python3-rhn-setup
Summary: Configure and register an RHN/Spacewalk client
%{?python_provide:%python_provide python3-rhn-setup}
Requires: rhn-setup = %{version}-%{release}
%if 0%{?mageia} || 0%{?debian} || 0%{?ubuntu} || 0%{?suse_version} >= 1140
Requires: python3-newt
%else
Requires: newt-python3
%endif
%if "%{_vendor}" == "debbuild"
Requires(preun): python3-minimal
Requires(post): python3-minimal
%endif
%description -n python3-rhn-setup
Python 3 specific files for rhn-setup.
%endif
%package -n rhn-setup-gnome
Summary: A GUI interface for RHN/Spacewalk Registration
Requires: %{name} = %{version}-%{release}
Requires: %{pythonX}-rhn-setup = %{version}-%{release}
Requires: %{pythonX}-rhn-setup-gnome = %{version}-%{release}
Requires: rhn-setup = %{version}-%{release}
%if "%{_vendor}" == "debbuild"
Requires: libpam0g
Requires: libpam-modules
Requires: libpam-runtime
Requires: libpam-gnome-keyring
%else
Requires: pam >= 0.72
%endif
%description -n rhn-setup-gnome
rhn-setup-gnome contains a GTK+ graphical interface for configuring and
registering a system with a Red Hat Satellite or Spacewalk server.
%if 0%{?build_py2}
%package -n python2-rhn-setup-gnome
Summary: Configure and register an RHN/Spacewalk client
%{?python_provide:%python_provide python2-rhn-setup-gnome}
Requires: rhn-setup-gnome = %{version}-%{release}
%if "%{_vendor}" != "debbuild"
%if 0%{?suse_version}
Requires: python-gnome python-gtk
%else
%if 0%{?mageia}
Requires: pygtk2.0 pygtk2.0-libglade
Requires: usermode
%else
Requires: pygtk2 pygtk2-libglade
Requires: usermode-gtk
%endif
%endif
%if 0%{?rhel} || 0%{?fedora}
Requires: liberation-sans-fonts
%endif
%if 0%{?mageia}
Requires: fonts-ttf-liberation
%endif
%if 0%{?suse_version}
Requires: liberation-fonts
%endif
%endif
%if "%{_vendor}" == "debbuild"
Requires: python-gnome2
Requires: python-gtk2
Requires: python-glade2
Requires: usermode
Requires: fonts-liberation
Requires(preun): python-minimal
Requires(post): python-minimal
%endif
%description -n python2-rhn-setup-gnome
Python 2 specific files for rhn-setup-gnome.
%endif
%if 0%{?build_py3}
%package -n python3-rhn-setup-gnome
Summary: Configure and register an RHN/Spacewalk client
%{?python_provide:%python_provide python3-rhn-setup-gnome}
Requires: rhn-setup-gnome = %{version}-%{release}
# gtk-builder-convert
%if "%{_vendor}" != "debbuild"
BuildRequires: gtk2-devel
BuildRequires: python3
Requires: gtk3
%if 0%{?suse_version}
Requires: python3-gobject
BuildRequires: python2-xml
%else
%if 0%{?mageia}
Requires: python3-gobject3
%else
Requires: python3-gobject-base
%endif
%endif
%if 0%{?rhel} || 0%{?fedora}
Requires: liberation-sans-fonts
%endif
%if 0%{?mageia}
Requires: fonts-ttf-liberation
%endif
%if 0%{?suse_version}
Requires: liberation-fonts
%endif
%endif
%if "%{_vendor}" == "debbuild"
BuildRequires: libgtk2.0-dev
Requires: libgtk-3-bin
Requires: gir1.2-gtk-3.0
Requires: python3-gi
Requires: fonts-liberation
Requires(preun): python3-minimal
Requires(post): python3-minimal
%endif
%description -n python3-rhn-setup-gnome
Python 3 specific files for rhn-setup-gnome.
%endif
# No debug builds
%define debug_package %{nil}
%prep
%setup -q
%patch1000 -p1
%patch1001 -p1
%build
make -f Makefile.rhn-client-tools %{?is_deb:PLATFORM=deb}
%install
%if 0%{?build_py2}
make -f Makefile.rhn-client-tools install VERSION=%{version}-%{release} \
PYTHONPATH=%{python2_sitelib} PYTHONVERSION=%{python2_version} \
PREFIX=$RPM_BUILD_ROOT MANPATH=%{_mandir} %{?is_deb:PLATFORM=deb}
%endif
%if 0%{?build_py3}
sed -i 's|#!/usr/bin/python2|#!/usr/bin/python3|' src/actions/*.py src/bin/*.py test/*.py
make -f Makefile.rhn-client-tools %{?is_deb:PLATFORM=deb}
for g in data/*.glade ; do
mv $g $g.old
python3 /usr/bin/gtk-builder-convert $g.old $g
done
sed -i 's/GTK_PROGRESS_LEFT_TO_RIGHT/horizontal/' data/progress.glade
sed -i 's/GtkComboBox/GtkComboBoxText/; /property name="has_separator"/ d;' data/rh_register.glade
sed -i '/class="GtkVBox"/ {
s/GtkVBox/GtkBox/;
a \ \ \ \ \ \ \ \ <property name="orientation">vertical</property\>
}' data/gui.glade
make -f Makefile.rhn-client-tools install VERSION=%{version}-%{release} \
PYTHONPATH=%{python3_sitelib} PYTHONVERSION=%{python3_version} \
PREFIX=$RPM_BUILD_ROOT MANPATH=%{_mandir} %{?is_deb:PLATFORM=deb}
%endif
ln -sf consolehelper $RPM_BUILD_ROOT%{_bindir}/rhn_register
ln -s spacewalk-channel $RPM_BUILD_ROOT%{_sbindir}/rhn-channel
mkdir -p $RPM_BUILD_ROOT/var/lib/up2date
mkdir -pm700 $RPM_BUILD_ROOT%{_localstatedir}/spool/up2date
touch $RPM_BUILD_ROOT%{_localstatedir}/spool/up2date/loginAuth.pkl
%if 0%{?fedora} || 0%{?mageia} || 0%{?debian} >= 8 || 0%{?ubuntu} >= 1504
mkdir -p $RPM_BUILD_ROOT/%{_presetdir}
install 50-spacewalk-client.preset $RPM_BUILD_ROOT/%{_presetdir}
%endif
%if 0%{?build_py2}
%if 0%{?fedora} || 0%{?rhel} || 0%{?suse_version} >= 1140 || 0%{?mageia} || 0%{?debian} || 0%{?ubuntu}
rm $RPM_BUILD_ROOT%{python2_sitelib}/up2date_client/hardware_hal.*
%else
rm $RPM_BUILD_ROOT%{python2_sitelib}/up2date_client/hardware_gudev.*
rm $RPM_BUILD_ROOT%{python2_sitelib}/up2date_client/hardware_udev.*
%endif
%endif
%if 0%{?rhel} == 6
rm -rf $RPM_BUILD_ROOT%{_datadir}/firstboot/modules/rhn_*_*.*
%endif
%if ! 0%{?rhel} || 0%{?rhel} > 6
%if 0%{?build_py2}
rm -rf $RPM_BUILD_ROOT%{python2_sitelib}/up2date_client/firstboot
%endif
rm -rf $RPM_BUILD_ROOT%{_datadir}/firstboot/
%endif
%if 0%{?build_py3}
rm -rf $RPM_BUILD_ROOT%{python3_sitelib}/up2date_client/firstboot
%endif
desktop-file-install --dir=${RPM_BUILD_ROOT}%{_datadir}/applications --vendor=rhn rhn_register.desktop
mkdir -p $RPM_BUILD_ROOT/usr/share/metainfo/
install rhn_register.appdata.xml $RPM_BUILD_ROOT/usr/share/metainfo/
%if 0%{?suse_version}
%suse_update_desktop_file -r rhn_register "Settings;System;SystemSetup;"
# no usermod on SUSE
rm -f $RPM_BUILD_ROOT%{_bindir}/rhn_register
%endif
%if "%{_vendor}" != "debbuild"
%find_lang %{name}
%endif
# create links to default script version
%define default_suffix %{?default_py3:-%{python3_version}}%{!?default_py3:-%{python2_version}}
for i in \
/usr/sbin/rhn-profile-sync \
/usr/sbin/rhn_check \
/usr/sbin/rhn_register \
/usr/sbin/rhnreg_ks \
/usr/sbin/spacewalk-channel \
; do
ln -s $(basename "$i")%{default_suffix} "$RPM_BUILD_ROOT$i"
done
%if 0%{?suse_version}
%if 0%{?build_py2}
%py_compile -O %{buildroot}/%{python2_sitelib}
%endif
%if 0%{?build_py3}
%py3_compile -O %{buildroot}/%{python3_sitelib}
%endif
%endif
%post
rm -f %{_localstatedir}/spool/up2date/loginAuth.pkl
%if ! 0%{?build_py3}
%post -n rhn-setup-gnome
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
# See posttrans section below
%if "%{_vendor}" == "debbuild"
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%endif
%postun -n rhn-setup-gnome
%if "%{_vendor}" != "debbuild"
if [ $1 -eq 0 ] ; then
%endif
%if "%{_vendor}" == "debbuild"
if [[ "$1" == "purge" || "$1" == "remove" ]]; then
%endif
touch --no-create %{_datadir}/icons/hicolor &>/dev/null
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
fi
# This macro doesn't exist for debbuild. I'm shoving this into post instead.
%if "%{_vendor}" != "debbuild"
%posttrans -n rhn-setup-gnome
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%endif
%endif
%if 0%{?fedora}
%check
make -f Makefile.rhn-client-tools test
%endif
%if "%{_vendor}" == "debbuild"
%files
# No find_lang on Debian systems
%{_datadir}/locale/
/var/lib/up2date/
%else
%files -f %{name}.lang
%endif
# some info about mirrors
%doc doc/mirrors.txt
%doc doc/AUTHORS
%doc doc/LICENSE
%{_mandir}/man8/rhn-profile-sync.8*
%{_mandir}/man5/up2date.5*
%dir %{_sysconfdir}/sysconfig/rhn
%dir %{_sysconfdir}/sysconfig/rhn/clientCaps.d
%dir %{_sysconfdir}/sysconfig/rhn/allowed-actions
%dir %{_sysconfdir}/sysconfig/rhn/allowed-actions/configfiles
%dir %{_sysconfdir}/sysconfig/rhn/allowed-actions/script
%verify(not md5 mtime size) %config(noreplace) %{_sysconfdir}/sysconfig/rhn/up2date
%config(noreplace) %{_sysconfdir}/logrotate.d/up2date
# dirs
%dir %{_datadir}/rhn
%dir %{_localstatedir}/spool/up2date
%{_sbindir}/rhn-profile-sync
%ghost %attr(600,root,root) %verify(not md5 size mtime) %{_localstatedir}/spool/up2date/loginAuth.pkl
#public keys and certificates
%{_datadir}/rhn/RHNS-CA-CERT
%if 0%{?fedora} || 0%{?mageia} || 0%{?debian} >= 8 || 0%{?ubuntu} >= 1504
%{_presetdir}/50-spacewalk-client.preset
%endif
%if 0%{?build_py2}
%files -n python2-%{name}
%{_sbindir}/rhn-profile-sync-%{python2_version}
%dir %{python2_sitelib}/up2date_client/
%{python2_sitelib}/up2date_client/__init__.*
%{python2_sitelib}/up2date_client/config.*
%{python2_sitelib}/up2date_client/haltree.*
%{python2_sitelib}/up2date_client/hardware*
%{python2_sitelib}/up2date_client/up2dateUtils.*
%{python2_sitelib}/up2date_client/up2dateLog.*
%{python2_sitelib}/up2date_client/up2dateErrors.*
%{python2_sitelib}/up2date_client/up2dateAuth.*
%{python2_sitelib}/up2date_client/rpcServer.*
%{python2_sitelib}/up2date_client/rhnserver.*
%{python2_sitelib}/up2date_client/pkgUtils.*
%{python2_sitelib}/up2date_client/rpmUtils.*
%{python2_sitelib}/up2date_client/debUtils.*
%{python2_sitelib}/up2date_client/rhnPackageInfo.*
%{python2_sitelib}/up2date_client/rhnChannel.*
%{python2_sitelib}/up2date_client/rhnHardware.*
%{python2_sitelib}/up2date_client/transaction.*
%{python2_sitelib}/up2date_client/clientCaps.*
%{python2_sitelib}/up2date_client/capabilities.*
%{python2_sitelib}/up2date_client/rhncli.*
%{python2_sitelib}/up2date_client/pkgplatform.*
%endif
%if 0%{?build_py3}
%files -n python3-%{name}
%{_sbindir}/rhn-profile-sync-%{python3_version}
%dir %{python3_sitelib}/up2date_client/
%{python3_sitelib}/up2date_client/__init__.*
%{python3_sitelib}/up2date_client/config.*
%{python3_sitelib}/up2date_client/haltree.*
%{python3_sitelib}/up2date_client/hardware*
%{python3_sitelib}/up2date_client/up2dateUtils.*
%{python3_sitelib}/up2date_client/up2dateLog.*
%{python3_sitelib}/up2date_client/up2dateErrors.*
%{python3_sitelib}/up2date_client/up2dateAuth.*
%{python3_sitelib}/up2date_client/rpcServer.*
%{python3_sitelib}/up2date_client/rhnserver.*
%{python3_sitelib}/up2date_client/pkgUtils.*
%{python3_sitelib}/up2date_client/rpmUtils.*
%{python3_sitelib}/up2date_client/debUtils.*
%{python3_sitelib}/up2date_client/rhnPackageInfo.*
%{python3_sitelib}/up2date_client/rhnChannel.*
%{python3_sitelib}/up2date_client/rhnHardware.*
%{python3_sitelib}/up2date_client/transaction.*
%{python3_sitelib}/up2date_client/clientCaps.*
%{python3_sitelib}/up2date_client/capabilities.*
%{python3_sitelib}/up2date_client/rhncli.*
%{python3_sitelib}/up2date_client/pkgplatform.*
%if "%{_vendor}" != "debbuild"
%dir %{python3_sitelib}/up2date_client/__pycache__/
%{python3_sitelib}/up2date_client/__pycache__/__init__.*
%{python3_sitelib}/up2date_client/__pycache__/config.*
%{python3_sitelib}/up2date_client/__pycache__/haltree.*
%{python3_sitelib}/up2date_client/__pycache__/hardware*
%{python3_sitelib}/up2date_client/__pycache__/up2dateUtils.*
%{python3_sitelib}/up2date_client/__pycache__/up2dateLog.*
%{python3_sitelib}/up2date_client/__pycache__/up2dateErrors.*
%{python3_sitelib}/up2date_client/__pycache__/up2dateAuth.*
%{python3_sitelib}/up2date_client/__pycache__/rpcServer.*
%{python3_sitelib}/up2date_client/__pycache__/rhnserver.*
%{python3_sitelib}/up2date_client/__pycache__/pkgUtils.*
%{python3_sitelib}/up2date_client/__pycache__/rpmUtils.*
%{python3_sitelib}/up2date_client/__pycache__/debUtils.*
%{python3_sitelib}/up2date_client/__pycache__/rhnPackageInfo.*
%{python3_sitelib}/up2date_client/__pycache__/rhnChannel.*
%{python3_sitelib}/up2date_client/__pycache__/rhnHardware.*
%{python3_sitelib}/up2date_client/__pycache__/transaction.*
%{python3_sitelib}/up2date_client/__pycache__/clientCaps.*
%{python3_sitelib}/up2date_client/__pycache__/capabilities.*
%{python3_sitelib}/up2date_client/__pycache__/rhncli.*
%{python3_sitelib}/up2date_client/__pycache__/pkgplatform.*
%endif
%endif
%files -n rhn-check
%{_mandir}/man8/rhn_check.8*
%{_sbindir}/rhn_check
%if 0%{?build_py2}
%files -n python2-rhn-check
%{_sbindir}/rhn_check-%{python2_version}
%dir %{python2_sitelib}/rhn
%dir %{python2_sitelib}/rhn/actions/
%{python2_sitelib}/up2date_client/getMethod.*
# actions for rhn_check to run
%{python2_sitelib}/rhn/actions/__init__.*
%{python2_sitelib}/rhn/actions/hardware.*
%{python2_sitelib}/rhn/actions/systemid.*
%{python2_sitelib}/rhn/actions/reboot.*
%{python2_sitelib}/rhn/actions/rhnsd.*
%{python2_sitelib}/rhn/actions/up2date_config.*
%endif
%if 0%{?build_py3}
%files -n python3-rhn-check
%{_sbindir}/rhn_check-%{python3_version}
%dir %{python3_sitelib}/rhn
%dir %{python3_sitelib}/rhn/actions/
%{python3_sitelib}/up2date_client/getMethod.*
%{python3_sitelib}/rhn/actions/__init__.*
%{python3_sitelib}/rhn/actions/hardware.*
%{python3_sitelib}/rhn/actions/systemid.*
%{python3_sitelib}/rhn/actions/reboot.*
%{python3_sitelib}/rhn/actions/rhnsd.*
%{python3_sitelib}/rhn/actions/up2date_config.*
%if "%{_vendor}" != "debbuild"
%dir %{python3_sitelib}/rhn/actions/__pycache__/
%{python3_sitelib}/up2date_client/__pycache__/getMethod.*
%{python3_sitelib}/rhn/actions/__pycache__/__init__.*
%{python3_sitelib}/rhn/actions/__pycache__/hardware.*
%{python3_sitelib}/rhn/actions/__pycache__/systemid.*
%{python3_sitelib}/rhn/actions/__pycache__/reboot.*
%{python3_sitelib}/rhn/actions/__pycache__/rhnsd.*
%{python3_sitelib}/rhn/actions/__pycache__/up2date_config.*
%endif
%endif
%files -n rhn-setup
%{_mandir}/man8/rhnreg_ks.8*
%{_mandir}/man8/rhn_register.8*
%{_mandir}/man8/spacewalk-channel.8*
%{_mandir}/man8/rhn-channel.8*
%config(noreplace) %{_sysconfdir}/security/console.apps/rhn_register
%config(noreplace) %{_sysconfdir}/pam.d/rhn_register
%if 0%{?fedora} || 0%{?rhel} || 0%{?mageia}
%{_bindir}/rhn_register
%endif
%{_sbindir}/rhn_register
%{_sbindir}/rhnreg_ks
%{_sbindir}/spacewalk-channel
%{_sbindir}/rhn-channel
%{_datadir}/setuptool/setuptool.d/99rhn_register
%if 0%{?suse_version}
# on SUSE directories not owned by any package
%dir %{_sysconfdir}/security/console.apps
%dir %{_datadir}/setuptool
%dir %{_datadir}/setuptool/setuptool.d
%endif
%if 0%{?build_py2}
%files -n python2-rhn-setup
%{_sbindir}/rhn_register-%{python2_version}
%{_sbindir}/rhnreg_ks-%{python2_version}
%{_sbindir}/spacewalk-channel-%{python2_version}
%{python2_sitelib}/up2date_client/rhnreg.*
%{python2_sitelib}/up2date_client/pmPlugin.*
%{python2_sitelib}/up2date_client/tui.*
%{python2_sitelib}/up2date_client/rhnreg_constants.*
%endif
%if 0%{?build_py3}
%files -n python3-rhn-setup
%{_sbindir}/rhn_register-%{python3_version}
%{_sbindir}/rhnreg_ks-%{python3_version}
%{_sbindir}/spacewalk-channel-%{python3_version}
%{python3_sitelib}/up2date_client/rhnreg.*
%{python3_sitelib}/up2date_client/pmPlugin.*
%{python3_sitelib}/up2date_client/tui.*
%{python3_sitelib}/up2date_client/rhnreg_constants.*
%if "%{_vendor}" != "debbuild"
%{python3_sitelib}/up2date_client/__pycache__/rhnreg.*
%{python3_sitelib}/up2date_client/__pycache__/pmPlugin.*
%{python3_sitelib}/up2date_client/__pycache__/tui.*
%{python3_sitelib}/up2date_client/__pycache__/rhnreg_constants.*
%endif
%endif
%files -n rhn-setup-gnome
%{_datadir}/pixmaps/*png
%{_datadir}/icons/hicolor/16x16/apps/up2date.png
%{_datadir}/icons/hicolor/24x24/apps/up2date.png
%{_datadir}/icons/hicolor/32x32/apps/up2date.png
%{_datadir}/icons/hicolor/48x48/apps/up2date.png
%if 0%{?rhel} > 6 || 0%{?fedora}
%{_datadir}/icons/hicolor/22x22/apps/up2date.png
%{_datadir}/icons/hicolor/256x256/apps/up2date.png
%endif
/usr/share/metainfo/rhn_register.appdata.xml
%{_datadir}/applications/rhn_register.desktop
%{_datadir}/rhn/up2date_client/gui.glade
%{_datadir}/rhn/up2date_client/progress.glade
%{_datadir}/rhn/up2date_client/rh_register.glade
%if 0%{?suse_version}
# on SUSE these directories are part of packages not installed
# at buildtime. OBS failed with not owned by any package
%dir %{_datadir}/icons/hicolor
%dir %{_datadir}/icons/hicolor/16x16
%dir %{_datadir}/icons/hicolor/16x16/apps
%dir %{_datadir}/icons/hicolor/24x24
%dir %{_datadir}/icons/hicolor/24x24/apps
%dir %{_datadir}/icons/hicolor/32x32
%dir %{_datadir}/icons/hicolor/32x32/apps
%dir %{_datadir}/icons/hicolor/48x48
%dir %{_datadir}/icons/hicolor/48x48/apps
%dir %{_datadir}/rhn/up2date_client
%endif
%if 0%{?build_py2}
%files -n python2-rhn-setup-gnome
%{python2_sitelib}/up2date_client/messageWindow.*
%{python2_sitelib}/up2date_client/rhnregGui.*
%{python2_sitelib}/up2date_client/gtk_compat.*
%{python2_sitelib}/up2date_client/gui.*
%{python2_sitelib}/up2date_client/progress.*
%if 0%{?rhel} == 6
%{_datadir}/firstboot/modules/rhn_register.*
%{python2_sitelib}/up2date_client/firstboot/rhn_login_gui.*
%{python2_sitelib}/up2date_client/firstboot/rhn_start_gui.*
%{python2_sitelib}/up2date_client/firstboot/rhn_choose_server_gui.*
%{python2_sitelib}/up2date_client/firstboot/rhn_choose_channel.*
%{python2_sitelib}/up2date_client/firstboot/rhn_provide_certificate_gui.*
%{python2_sitelib}/up2date_client/firstboot/rhn_create_profile_gui.*
%{python2_sitelib}/up2date_client/firstboot/rhn_review_gui.*
%{python2_sitelib}/up2date_client/firstboot/rhn_finish_gui.*
%endif
%endif
%if 0%{?build_py3}
%files -n python3-rhn-setup-gnome
%{python3_sitelib}/up2date_client/messageWindow.*
%{python3_sitelib}/up2date_client/rhnregGui.*
%{python3_sitelib}/up2date_client/gtk_compat.*
%{python3_sitelib}/up2date_client/gui.*
%{python3_sitelib}/up2date_client/progress.*
%if "%{_vendor}" != "debbuild"
%{python3_sitelib}/up2date_client/__pycache__/messageWindow.*
%{python3_sitelib}/up2date_client/__pycache__/rhnregGui.*
%{python3_sitelib}/up2date_client/__pycache__/gtk_compat.*
%{python3_sitelib}/up2date_client/__pycache__/gui.*
%{python3_sitelib}/up2date_client/__pycache__/progress.*
%endif
%endif
%if "%{_vendor}" == "debbuild"
%if 0%{?build_py2}
%post -n python2-%{name}
# Do late-stage bytecompilation, per debian policy
pycompile -p python2-%{name} -V -3.0
%preun -n python2-%{name}
# Ensure all *.py[co] files are deleted, per debian policy
pyclean -p python2-%{name}
%post -n python2-rhn-check
# Do late-stage bytecompilation, per debian policy
pycompile -p python2-rhn-check -V -3.0
%preun -n python2-rhn-check
# Ensure all *.py[co] files are deleted, per debian policy
pyclean -p python2-rhn-check
%post -n python2-rhn-setup
# Do late-stage bytecompilation, per debian policy
pycompile -p python2-rhn-setup -V -3.0
%preun -n python2-rhn-setup
# Ensure all *.py[co] files are deleted, per debian policy
pyclean -p python2-rhn-setup
%post -n python2-rhn-setup-gnome
# Do late-stage bytecompilation, per debian policy
pycompile -p python2-rhn-setup-gnome -V -3.0
%preun -n python2-rhn-setup-gnome
# Ensure all *.py[co] files are deleted, per debian policy
pyclean -p python2-rhn-setup-gnome
%endif
%if 0%{?build_py3}
%post -n python3-%{name}
# Do late-stage bytecompilation, per debian policy
py3compile -p python3-%{name} -V -4.0
%preun -n python3-%{name}
# Ensure all *.py[co] files are deleted, per debian policy
py3clean -p python3-%{name}
%post -n python3-rhn-check
# Do late-stage bytecompilation, per debian policy
py3compile -p python3-rhn-check -V -4.0
%preun -n python3-rhn-check
# Ensure all *.py[co] files are deleted, per debian policy
py3clean -p python3-rhn-check
%post -n python3-rhn-setup
# Do late-stage bytecompilation, per debian policy
py3compile -p python3-rhn-setup -V -4.0
%preun -n python3-rhn-setup
# Ensure all *.py[co] files are deleted, per debian policy
py3clean -p python3-rhn-setup
%post -n python3-rhn-setup-gnome
# Do late-stage bytecompilation, per debian policy
py3compile -p python3-rhn-setup-gnome -V -4.0
%preun -n python3-rhn-setup-gnome
# Ensure all *.py[co] files are deleted, per debian policy
py3clean -p python3-rhn-setup-gnome
%endif
%endif
%changelog
* Tue Jul 12 2022 Laurence Rochfort <laurence.rochfort@oracle.com> 2.10.10-1.0.8
- Fix osad start failure due to base64.encodestring() removal in Python 3.9 [Orabug: 34372838]
* Thu Jun 23 2022 Darren Archibald <darren.archibald@oracle.com> 2.10.10-1.0.7
- Remove unused Platform dist to run on OL9 [Orabug: 33858443]
* Tue Mar 29 2022 David Sloboda <david.x.sloboda@oracle.com> 2.10.10-1.0.6
- Modify spec file due to new RPM requirements
- Do not use python2 for client
* Tue Feb 9 2021 Laurence Rochfort <laurence.rochfort@oracle.com> 2.10.10-1.0.5
- Port the following from base OS rhn-client-tools to allow dmidecode build for OL8 aarch64 [Orabug: 31414043]
- Related: #1622145 - don't run dmi_warnings() if there's no dmidecode
(tkasparek@redhat.com)
- Related: #1622145 - split into arch package (tkasparek@redhat.com)
- Resolves: #1622145 - drop dmidecode dependency on non x86_64 arches
(tkasparek@redhat.com)
* Wed Jun 03 2020 Tunga Mavengere <tunga.mavengere@oracle.com> 2.10.10-1.0.2
- python*dmidecode is not available on aarch64 hosts therefore only require it if architecture is x86_64
* Wed Feb 26 2020 Michael Mraka <michael.mraka@redhat.com> 2.10.10-1
- updated copyright to 2020
* Tue Oct 01 2019 Michael Mraka <michael.mraka@redhat.com> 2.10.9-1
- python2-dbus is not necessary on RHEL8 server
* Thu Aug 08 2019 Michael Mraka <michael.mraka@redhat.com> 2.10.8-1
- return a non-zero exit status on errors in rhn_check
* Wed Jun 26 2019 Michael Mraka <michael.mraka@redhat.com> 2.10.7-1
- removed dead code reported by covscan
* Tue Feb 12 2019 Michael Mraka <michael.mraka@redhat.com> 2.10.6-1
- Add ability to work behind http proxies
- Fix clean-up of Config singleton to allow new config path
* Fri Feb 01 2019 Michael Mraka <michael.mraka@redhat.com> 2.10.5-1
- 1666099 - python3 is picky about bytes and string
* Thu Jan 10 2019 Michael Mraka <michael.mraka@redhat.com> 2.10.4-1
- Revert "1627438 - don't build python2 packages on new Fedoras"
* Wed Dec 19 2018 Michael Mraka <michael.mraka@redhat.com> 2.10.3-1
- xml.dom is not in python2-libs on opensuse
* Wed Dec 19 2018 Michael Mraka <michael.mraka@redhat.com> 2.10.2-1
- still needs python2 for rhn_register gui in build
* Wed Dec 19 2018 Michael Mraka <michael.mraka@redhat.com> 2.10.1-1
- 1627438 - don't build python2 packages on new Fedoras
* Fri Nov 23 2018 Michael Mraka <michael.mraka@redhat.com> 2.9.33-1
- updated copyright years
- Regenerating .po and .pot files for rhn-client-tools
- Updating .po translations from Zanata
* Fri Nov 16 2018 Michael Mraka <michael.mraka@redhat.com> 2.9.32-1
- fix deps on mageia
* Fri Nov 16 2018 Michael Mraka <michael.mraka@redhat.com> 2.9.30-1
- use python2 for converting glade xml
* Fri Nov 16 2018 Michael Mraka <michael.mraka@redhat.com> 2.9.29-1
- fix deps on mageia
* Tue Nov 06 2018 Michael Mraka <michael.mraka@redhat.com> 2.9.27-1
- 1646929 - convert values from bytes to string in py3
* Thu Oct 25 2018 Tomas Kasparek <tkasparek@redhat.com> 2.9.26-1
- Fix wrong python3-newt dependency name for SUSE
* Wed Oct 03 2018 Michael Mraka <michael.mraka@redhat.com> 2.9.25-1
- dbus package has different name in mageia
* Wed Oct 03 2018 Michael Mraka <michael.mraka@redhat.com> 2.9.24-1
- mageia does not provice 22x22 and 256x256 icons
* Wed Oct 03 2018 Michael Mraka <michael.mraka@redhat.com> 2.9.23-1
- fix build on mageia
* Wed Oct 03 2018 Michael Mraka <michael.mraka@redhat.com> 2.9.22-1
- coverage is in python-coverage on mageia
* Wed Oct 03 2018 Michael Mraka <michael.mraka@redhat.com> 2.9.21-1
- use explicit version of python
* Wed Oct 03 2018 Michael Mraka <michael.mraka@redhat.com> 2.9.20-1
- fix build on mageia
* Mon Sep 17 2018 Tomas Kasparek <tkasparek@redhat.com> 2.9.19-1
- python-unversioned-command is no longer needed
- 1626421 - python3 is expecting str, not bytes
* Tue Aug 21 2018 Tomas Kasparek <tkasparek@redhat.com> 2.9.18-1
- Revert "1617942 - drop dmidecode dependency on s390x" - Spacewalk is
supported on x86_64 only
- Revert "1617942 - split into arch package" - Spacewalk is supported on x86_64
only
* Thu Aug 16 2018 Tomas Kasparek <tkasparek@redhat.com> 2.9.17-1
- 1617942 - split into arch package
* Thu Aug 16 2018 Tomas Kasparek <tkasparek@redhat.com> 2.9.16-1
- 1617942 - drop dmidecode dependency on s390x
- debUtils.py: Fix edge case finding pkg install time on Debian
* Tue Jul 31 2018 Tomas Kasparek <tkasparek@redhat.com> 2.9.15-1
- client, usix: Rework how client packaging is done for Debian/Ubuntu
* Thu Jul 12 2018 Tomas Kasparek <tkasparek@redhat.com> 2.9.14-1
- rhn-client-tools: Fix typo in rhnreg
* Wed Jul 11 2018 Tomas Kasparek <tkasparek@redhat.com> 2.9.13-1
- rhn-client-tools: Fix systemd detection for non-UsrMerge systems
* Tue Jul 10 2018 Tomas Kasparek <tkasparek@redhat.com> 2.9.12-1
- python-unversioned-command is available only in Rawhide
* Tue Jul 10 2018 Tomas Kasparek <tkasparek@redhat.com> 2.9.11-1
- require python-unversioned-command for /usr/bin/python simlink
* Tue Jul 10 2018 Tomas Kasparek <tkasparek@redhat.com> 2.9.10-1
- python_sitelib is actually python2_sitelib, be more clear about that
* Tue Jul 10 2018 Tomas Kasparek <tkasparek@redhat.com> 2.9.9-1
- be more explicit about which python version we require
* Wed May 30 2018 Tomas Kasparek <tkasparek@redhat.com> 2.9.8-1
- client/rhel: Enable DNF plugin for Mageia 6+ and openSUSE Leap 15.0+
* Fri May 04 2018 Tomas Kasparek <tkasparek@redhat.com> 2.9.7-1
- 1094744 - provide AppData file for rhn-setup-gnome
* Mon Apr 30 2018 Tomas Kasparek <tkasparek@redhat.com> 2.9.6-1
- further fix building on older Fedoras
* Mon Apr 30 2018 Tomas Kasparek <tkasparek@redhat.com> 2.9.5-1
- fix dependencies on older Fedoras
* Wed Apr 25 2018 Tomas Kasparek <tkasparek@redhat.com> 2.9.4-1
- do touch --no-create only on older systems
* Wed Apr 18 2018 Tomas Kasparek <tkasparek@redhat.com> 2.9.3-1
- adapt to new fedora python2/3 packaging
- RHEL 5 is no longer supported
* Mon Apr 16 2018 Tomas Kasparek <tkasparek@redhat.com> 2.9.2-1
- 1566025 - require latest provider of /usr/bin/gpg
* Tue Apr 03 2018 Jiri Dostal <jdostal@redhat.com> 2.9.1-1
- Build both python 2/3 because of rhnpush
- Bumping package versions for 2.9.
* Fri Mar 23 2018 Jiri Dostal <jdostal@redhat.com> 2.8.22-1
- strip quotes when reading /etc/sysconfig/network
* Mon Mar 19 2018 Tomas Kasparek <tkasparek@redhat.com> 2.8.21-1
- don't try to delete python2 files when there are none
* Mon Mar 19 2018 Tomas Kasparek <tkasparek@redhat.com> 2.8.20-1
- don't build python2 when building python3 only
* Mon Mar 19 2018 Tomas Kasparek <tkasparek@redhat.com> 2.8.19-1
- don't build python2 subpackages on systems with default python2
- Regenerating .po and .pot files for rhn-client-tools.
- Updating .po translations from Zanata
* Tue Feb 20 2018 Tomas Kasparek <tkasparek@redhat.com> 2.8.18-1
- don't require yum on rhel8
* Tue Feb 20 2018 Tomas Kasparek <tkasparek@redhat.com> 2.8.17-1
- require dnf-plugin-spacewalk on rhel8
- rhel8 utilizes python3
* Fri Feb 09 2018 Michael Mraka <michael.mraka@redhat.com> 2.8.16-1
- remove install/clean section initial cleanup
- removed Group from specfile
- removed BuildRoot from specfiles
* Wed Dec 13 2017 Tomas Kasparek <tkasparek@redhat.com> 2.8.15-1
- 1417185 - do chmod an the new file, not the old one which will be deleted
- 1417185 - change permissions to default provided by rhn-client-tools rpm
* Fri Dec 08 2017 Tomas Kasparek <tkasparek@redhat.com> 2.8.14-1
- fix warning: numeric expression expected (got ")
* Fri Dec 01 2017 Michael Mraka <michael.mraka@redhat.com> 2.8.13-1
- dist cannot detect the distribution anymore
- fix rpm names in SUSE
- rhn-client-tools: fix filelist for SUSE and enable py3 build for Tumbleweed
* Wed Nov 22 2017 Michael Mraka <michael.mraka@redhat.com> 2.8.12-1
- update rhn-setup-gnome to work on python3 based systems
* Wed Nov 15 2017 Michael Mraka <michael.mraka@redhat.com> 2.8.11-1
- sh-utils provide has been removed from coreutils
* Wed Oct 25 2017 Michael Mraka <michael.mraka@redhat.com> 2.8.10-1
- device.sys_path is attribute not function
* Mon Oct 23 2017 Michael Mraka <michael.mraka@redhat.com> 2.8.9-1
- make getting device properties compatible with older versions of pyudev
- use new pyudev module on SUSE to get udev information
- add getting device information using pyudev module
* Wed Oct 18 2017 Michael Mraka <michael.mraka@redhat.com> 2.8.8-1
- expanded tabs to spaces
- 1502695 - remove dependency on libgnome
* Tue Oct 17 2017 Michael Mraka <michael.mraka@redhat.com> 2.8.7-1
- 1502695 - removed dependency on libgnome
- fixed typo introduced in 8ed741dfaf76b37dc88724692f90240aed7a85a5
- gui has moved to standard path
- removed settings for old RH build system
* Thu Oct 05 2017 Tomas Kasparek <tkasparek@redhat.com> 2.8.6-1
- 1494389 - detect if action has been picked up for 2nd time
- 1494389 - Revert "[1260527] RHEL7 reboot loop"
- 1494389 - Revert "fix except to be compatible with Python 2.4"
* Mon Oct 02 2017 Michael Mraka <michael.mraka@redhat.com> 2.8.5-1
- fixed python2 on Fedora requires
* Fri Sep 29 2017 Michael Mraka <michael.mraka@redhat.com> 2.8.4-1
- require the same version of other packages
- move client actions to rhn namespace
- import methods from standard path
- all python modules are now in standard sitelib
* Wed Sep 27 2017 Gennadii Altukhov <grinrag@gmail.com> 2.8.3-1
- fix dependencies of rhn-client-tools on different platforms
* Fri Sep 22 2017 Michael Mraka <michael.mraka@redhat.com> 2.8.2-1
- install files into python2_sitelib/python3_sitelib
- let rpmbuild take care of .pyc/.pyo
- move rhn-setup-gnome files into proper python2/python3 subpackages
- move rhn-setup files into proper python2/python3 subpackages
- move rhn-check files into proper python2/python3 subpackages
- move rhn-client-tools files into proper python2/python3 subpackages
- split rhn-setup-gnome into python2/python3 specific packages
- split rhn-setup into python2/python3 specific packages
- split rhn-check into python2/python3 specific packages
- split rhn-client-tools into python2/python3 specific packages
- simplified Requires/Provides definition
- remove unused import
* Wed Sep 06 2017 Michael Mraka <michael.mraka@redhat.com> 2.8.1-1
- purged changelog entries for Spacewalk 2.0 and older
- Bumping package versions for 2.8.
* Wed Aug 09 2017 Michael Mraka <michael.mraka@redhat.com> 2.7.16-1
- precompile py3 bytecode on Fedora 23+
- use standard brp-python-bytecompile
* Mon Aug 07 2017 Eric Herget <eherget@redhat.com> 2.7.15-1
- another pass to update copyright year
* Fri Aug 04 2017 Tomas Kasparek <tkasparek@redhat.com> 2.7.14-1
- 1430298 - rhnreg_ks man page missing documentation for some options
* Wed Aug 02 2017 Gennadii Altukhov <grinrag@gmail.com> 2.7.13-1
- 1477149 - fix rhn-profile sync on Fedora 26 fix ipv6 network mask calculation
* Mon Jul 31 2017 Eric Herget <eherget@redhat.com> 2.7.12-1
- update copyright year
* Tue Jul 18 2017 Michael Mraka <michael.mraka@redhat.com> 2.7.11-1
- move version and release before sources
* Mon Jul 17 2017 Jan Dobes 2.7.10-1
- Regenerating .po and .pot files for rhn-client-tools
- Updating .po translations from Zanata
- PR 500 - Add epoch information for deb packages
* Mon Apr 24 2017 Tomas Kasparek <tkasparek@redhat.com> 2.7.9-1
- 1444764 - sgmlop module might not be available on RHEL 7
* Fri Apr 21 2017 Michael Mraka <michael.mraka@redhat.com> 2.7.8-1
- Enable detection of Oracle Linux during registration.
* Wed Apr 19 2017 Ondrej Gajdusek <ogajduse@redhat.com> 2.7.7-1
- change requirement from python2 package to python3 for fedora
* Mon Mar 06 2017 Gennadii Altukhov <galt@redhat.com> 2.7.6-1
- 1371871 - fix UnicodeDecodeError when running rhnreg_ks with a different
locale than en_US
- Updated links to github in spec files
- Migrating Fedorahosted to GitHub
* Fri Mar 03 2017 Jiri Dostal <jdostal@redhat.com> 2.7.5-1
- 1427249 - Fix rhn_register crashing on startup on Python < 2.5.
* Wed Feb 01 2017 Eric Herget <eherget@redhat.com> 2.7.4-1
- 1414579 - remove sstr call on list arguments to fix rhel7 client issue
* Wed Jan 18 2017 Eric Herget <eherget@redhat.com> 2.7.3-1
- 1414579 - rhn-search traceback - immediateTrigger-server exists with certain
identification
* Mon Jan 02 2017 Jiri Dostal <jdostal@redhat.com> 2.7.2-1
- urlsplit back compatibility with python 2.4 fixing bug introduced in dc7ee6d
* Tue Nov 15 2016 Gennadii Altukhov <galt@redhat.com> 2.7.1-1
- fix except to be compatible with Python 2.4
- Bumping package versions for 2.7.
* Fri Nov 11 2016 Jiri Dostal <jdostal@redhat.com> 2.6.7-1
- [1260527] RHEL7 reboot loop
* Wed Nov 09 2016 Gennadii Altukhov <galt@redhat.com> 2.6.6-1
- Revert Project-Id-Version for translations
* Tue Nov 08 2016 Gennadii Altukhov <galt@redhat.com> 2.6.5-1
- Regenerating .po and .pot files for rhn-client-tools.
- Updating .po translations from Zanata
* Tue Oct 25 2016 Gennadii Altukhov <galt@redhat.com> 2.6.4-1
- 1320468 - add newline before hostname in LoginPage label
* Fri Sep 23 2016 Jiri Dostal <jdostal@redhat.com> 2.6.3-1
- Fix of deprecated functions urllib.splittype and urllib.splithost
* Thu Sep 22 2016 Jan Dobes 2.6.2-1
- fedora 24 client will not send it's smbios because there is a warning and it
fails on syntax error
* Wed Aug 03 2016 Tomas Lestach <tlestach@redhat.com> 2.6.1-1
- fix typo/missing space in rhn_check rpm description
- Bumping package versions for 2.6.
* Tue May 24 2016 Tomas Kasparek <tkasparek@redhat.com> 2.5.16-1
- updating copyright years
- Regenerating .po and .pot files for rhn-client-tools.
- Updating .po translations from Zanata
* Thu May 12 2016 Gennadii Altukhov <galt@redhat.com> 2.5.15-1
- change build dependency on python-devel, because we don't use Python3 during
package building
* Wed May 11 2016 Gennadii Altukhov <galt@redhat.com> 2.5.14-1
- 1326306 - use 'netifaces' module for Python3 instead of 'ethtools'
* Fri Feb 19 2016 Jan Dobes 2.5.13-1
- fixed 'exceptions.ValueError: invalid literal for int(): 0oxxx' to work in
python 2.4 (RHEL5)
* Thu Feb 18 2016 Jan Dobes 2.5.12-1
- delete file with input files after template is created
- try to generate more similar order of entries in template
- pulling *.po translations from Zanata
- fixing current *.po translations
* Fri Feb 12 2016 Michael Mraka <michael.mraka@redhat.com> 2.5.11-1
- 1259884 - fixed missing method for sorting of rhnChannels
- 1259884 - open terminal for write only
* Fri Jan 22 2016 Tomas Kasparek <tkasparek@redhat.com> 2.5.10-1
- Bug 1300251 - clientCaps.py : IndexError: string index out of range
* Tue Jan 19 2016 Michael Mraka <michael.mraka@redhat.com> 2.5.9-1
- yet another python3 fixes
* Tue Jan 12 2016 Grant Gainey 2.5.8-1
- 875728 - Clarify useNoSSLForPackages comment to match reality
* Tue Jan 12 2016 Michael Mraka <michael.mraka@redhat.com> 2.5.7-1
- 1259884, 1286555 - more python3 fixes
* Fri Jan 08 2016 Michael Mraka <michael.mraka@redhat.com> 2.5.6-1
- updated dnf / rhnlib / rhn-client-tools dependencies
- fixed rpmbuild tests
* Fri Jan 08 2016 Michael Mraka <michael.mraka@redhat.com> 2.5.5-1
- 1259884, 1286555 - updated to work in python3
* Fri Jan 08 2016 Tomas Lestach <tlestach@redhat.com> 2.5.4-1
- 1260454 - clean up channels to subscribe before processing results
* Thu Dec 17 2015 Jan Dobes 2.5.3-1
- 1262780 - alow to use existing rpcServer when creating RhnServer
* Tue Nov 24 2015 Jan Dobes 2.5.2-1
- rhel client tools: po files updated
- rhel client tools: remove virtualization host platform entitlement references
- rhel client tools: drop references to update entitlements
- client-tools: Remove 'provisioning_entitled' slot from RHEL and Debian
- backend: unused reg_num parameter removed from documentation
- client-tools: Remove 'monitoring_entitled' slot from RHEL and Debian
* Thu Oct 15 2015 Tomas Lestach <tlestach@redhat.com> 2.5.1-1
- fix rhnChannel instance has no attribute 'get'
- Bumping package versions for 2.5.
* Thu Sep 24 2015 Jan Dobes 2.4.11-1
- Bumping copyright year.
* Wed Sep 23 2015 Jan Dobes 2.4.10-1
- Pulling updated *.po translations from Zanata.
* Wed Sep 16 2015 Jan Dobes 2.4.9-1
- 1263707 - fixing python2.4 to python3.3 exception compatibility
* Wed Sep 02 2015 Jan Dobes 2.4.8-1
- Show a descriptive message on reboot
* Fri Jul 24 2015 Tomas Kasparek <tkasparek@redhat.com> 2.4.7-1
- merge if into into one registerSystem call
- remove dead code
* Thu May 21 2015 Matej Kollar <mkollar@redhat.com> 2.4.6-1
- dnf is default on fedora22, so require it instead of yum-rhn-plugin
- Dependencies on rhnlib
* Tue May 19 2015 Tomas Kasparek <tkasparek@redhat.com> 2.4.5-1
- dnf is default on fedora22, so require it instead of yum
* Fri Apr 24 2015 Michael Mraka <michael.mraka@redhat.com> 2.4.4-1
- make code python 2.4 to 3.3 compatible
* Thu Apr 23 2015 Michael Mraka <michael.mraka@redhat.com> 2.4.2-1
- allow rhn-client-tool use yum or dnf
* Mon Apr 20 2015 Michael Mraka <michael.mraka@redhat.com> 2.4.1-1
- missing buildrequires for F23
* Thu Mar 19 2015 Grant Gainey 2.3.16-1
- Updating copyright info for 2015
- Revert "allow building rhn-client-tools package on rhel5"
* Thu Mar 19 2015 Tomas Kasparek <tkasparek@redhat.com> 2.3.15-1
- allow building rhn-client-tools package on rhel5
* Fri Mar 06 2015 Matej Kollar <mkollar@redhat.com> 2.3.14-1
- Fixed typos with options and function name
* Fri Mar 06 2015 Matej Kollar <mkollar@redhat.com> 2.3.13-1
- Fix issue introduced by b0cd7ef72cd92837155e6c5dcdb5213cba31af48
* Mon Mar 02 2015 Grant Gainey 2.3.12-1
- Use plural for lists
- Refactoring
- Sanitize input
- Fix grammar
- Extract listing of available channels
- Extract listing of base channel
- Extract channels listing
- Extract channel removal
- Extract channel addition
- Extract logging function
- Cleanup
- Pylint/Pep8
- Get rid of unused global variable
* Mon Mar 02 2015 Matej Kollar <mkollar@redhat.com> 2.3.11-1
- 1147425 - we might be registered also via rhsm
- 1147425 - avoid "list index out of range"
- Make indentation more PEP8
* Fri Feb 20 2015 Matej Kollar <mkollar@redhat.com> 2.3.10-1
- Localize error messages
- Typo
- 1036586 - separate username/password request
- Remove unused variable
- Indentation homogenization
- Separate definitions from directly executed code
- Remove unused import
* Wed Feb 18 2015 Matej Kollar <mkollar@redhat.com> 2.3.9-1
- 916597 - More helpful message
* Thu Feb 05 2015 Matej Kollar <mkollar@redhat.com> 2.3.8-1
- Updating function names
- Documentation changes - fix name and refer to RFC.
* Tue Jan 13 2015 Matej Kollar <mkollar@redhat.com> 2.3.7-1
- Getting rid of Tabs and trailing spaces in Python
- Getting rid of Tabs and trailing spaces in LICENSE, COPYING, and README files
* Mon Dec 22 2014 Stephen Herr <sherr@redhat.com> 2.3.6-1
- rhn-client-tools: no usermod on SUSE
* Thu Oct 09 2014 Michael Mraka <michael.mraka@redhat.com> 2.3.5-1
- fixed translations
* Thu Oct 09 2014 Michael Mraka <michael.mraka@redhat.com> 2.3.4-1
- fixed ar.po formating
* Tue Oct 07 2014 Michael Mraka <michael.mraka@redhat.com> 2.3.3-1
- disable sgmlop import in rhn_check
* Mon Oct 06 2014 Michael Mraka <michael.mraka@redhat.com> 2.3.2-1
- rhn-client-tools translations backported from RHEL6
- rhn-client-tools translations updated from Transifex
* Tue Aug 26 2014 Michael Mraka <michael.mraka@redhat.com> 2.3.1-1
- updated translations
* Fri Jul 11 2014 Milan Zazrivec <mzazrivec@redhat.com> 2.2.7-1
- fix copyright years
* Thu Jul 10 2014 Tomas Kasparek <tkasparek@redhat.com> 2.2.6-1
- Update .po and .pot files for rhn-client-tools.
* Wed Jul 09 2014 Milan Zazrivec <mzazrivec@redhat.com> 2.2.5-1
- allow unicode characters in proxy username / password
* Fri Jun 13 2014 Michael Mraka <michael.mraka@redhat.com> 2.2.4-1
- replace python-gudev by gudev introspection
* Wed Jun 04 2014 Milan Zazrivec <mzazrivec@redhat.com> 2.2.3-1
- tmpDir option from up2date is no longer used, removing
* Fri May 23 2014 Milan Zazrivec <mzazrivec@redhat.com> 2.2.2-1
- spec file polish
* Mon May 12 2014 Michael Mraka <michael.mraka@redhat.com> 2.2.1-1
- use set() for list of unique values
- 1094749 - fix cpu socket counting
* Fri Feb 14 2014 Milan Zazrivec <mzazrivec@redhat.com> 2.1.16-1
- 1061013 - remove up2date_config.rpmmacros client action
- 1061013 - remove macros.up2date from package build
* Fri Feb 14 2014 Matej Kollar <mkollar@redhat.com> 2.1.15-1
- 1061013 - remove unneeded rpm macros file
- 1060742 - new information icon in gnome3
* Tue Jan 14 2014 Matej Kollar <mkollar@redhat.com> 2.1.14-1
- Updating the copyright years info
- Update .po and .pot files for rhn-client-tools.
* Thu Dec 12 2013 Milan Zazrivec <mzazrivec@redhat.com> 2.1.13-1
- 1038694 - remove text from registration screen
- 1038694 - new error icon in gnome3
* Mon Dec 09 2013 Milan Zazrivec <mzazrivec@redhat.com> 2.1.12-1
- 1037778 - new registration icons
* Wed Nov 27 2013 Milan Zazrivec <mzazrivec@redhat.com> 2.1.11-1
- 1035330 - run TUI registration when executed from setuptool
* Wed Oct 09 2013 Milan Zazrivec <mzazrivec@redhat.com> 2.1.10-1
- 1017249 - TUI rhn_register: string polish
- 1017249 - GUI rhn_register: string polish
* Mon Sep 30 2013 Michael Mraka <michael.mraka@redhat.com> 2.1.9-1
- removed trailing whitespaces
* Mon Sep 30 2013 Michael Mraka <michael.mraka@redhat.com> 2.1.8-1
- 994531 - uptime report: respect xmlrpc's integer limits
* Tue Sep 17 2013 Michael Mraka <michael.mraka@redhat.com> 2.1.7-1
- Grammar error occurred
* Wed Sep 11 2013 Stephen Herr <sherr@redhat.com> 2.1.6-1
- 988839 - rhn-client-tools can get the variant information from the new place
* Thu Aug 29 2013 Tomas Lestach <tlestach@redhat.com> 2.1.5-1
- fix source string typo
* Wed Aug 28 2013 Milan Zazrivec <mzazrivec@redhat.com> 2.1.4-1
- No firstboot modules on RHEL 7 and later
* Thu Aug 15 2013 Stephen Herr <sherr@redhat.com> 2.1.3-1
- 919432 - rhn-client-tools should correctly conflict with old virt-host
versions
* Wed Aug 14 2013 Tomas Lestach <tlestach@redhat.com> 2.1.2-1
- 983999 - put the 1st element of the python search path to the end
* Tue Aug 06 2013 Tomas Kasparek <tkasparek@redhat.com> 2.1.1-1
- Branding clean-up of proxy stuff in client dir
- Bumping package versions for 2.1.