Update subscription-manager to 1.20.1-1

Resolves: #1472746 - Correct sorting of dates in subman gui (jhnidek@redhat.com)
Resolves: #1472715 - Python module rhsm should never call exit() (jhnidek@redhat.com)
Resolves: #1462456 - added flush() method to Tee class in fixtures. (jhnidek@redhat.com)
Resolves: #1462456 - flushing of stdout and stderr once again (jhnidek@redhat.com)
Resolves: #1329349 - Add subscription-manager plugin to yum-config-manager
Resolves: #1468297 - Fix gui proxy check (khowell@redhat.com)
Resolves: #1367672 - Ignore "already attached" in register GUI (khowell@redhat.com)
Resolves: #1350402 - fix broken pipe error in other bin scripts (jhnidek@redhat.com)
Resolves: #1463325 - Output consumer name on registration (tony@anthonyjames.org)
Resolves: #1380341 - Better dialog in GUI, when consumer is deleted at CP.
Resolves: #1459194 - open Online Documentation, when env. var. LANG is unset
Resolves: #1455681 - rhsm-debug created report dir with wrong perms (jhnidek@redhat.com)
Resolves: #1452075 - print only readable part of SSL error to console
Resolves: #1413161 - Add baseurl examples, explanation (khowell@redhat.com)
Resolves: #1386914 - Add hypervisor consumer type to manpages (khowell@redhat.com)
Resolves: #1444453 - Have gettext return unicode instead of bytes. (awood@redhat.com)
Resolves: #1443570 - Update retired article reference (redhatrises@gmail.com)
Resolves: #1457348 - Use https for the redhat.com/forgot_password label.
Resolves: #1457197 - Env. variable no_proxy=* is not ignored (jhnidek@redhat.com)
Resolves: #1392709 - Display better error msg., when wrong proxy is set up
Resolves: #1448501 - subman gui can unregister, when network is up again
Resolves: #1422196 - Update container certs after plugin install (khowell@redhat.com)
Resolves: #1441397 - added --noproxy for rhsm-debug auto-completion (jhnidek@redhat.com)
Resolves: #1421010 - GUI opens network dialog due to bad proxy during startup
Resolves: #1414529 - Raise exception with path/string of wrong certificate.
Resolves: #1443164 - no_proxy match the host name when *.redhat.com is used
Resolves: #1441397 - Added --noproxy to bash completion script (jhnidek@redhat.com)
Resolves: #1365472 - Add mnemonic for subscription-manager spoke (khowell@redhat.com)
Resolves: #1443159 - Added default value for splay configuration (jhnidek@redhat.com)
Resolves: #1452737 - Enable saving no_proxy settings from GUI (jhnidek@redhat.com)
Resolves: #1451003 - identity reports right info in name field (jhnidek@redhat.com)
Resolves: #1450818 - Bug fix of com.redhat.Subscriptionmanager D-Bus policy
Resolves: #1451166 - Fix Host header when using proxy (khowell@redhat.com)
Resolves: #1450049 - Replace `-` with `_` in completion functions (khowell@redhat.com)
Resolves: #1450862 - remove obsolete certiciates of golden ticket (jhnidek@redhat.com)
Resolves: #1448855 - golden ticket entitlement was not removed. (jhnidek@redhat.com)
Resolves: #1449824 - facts collection aborts with unknown locale (jhnidek@redhat.com)
Resolves: #1432231 - Support /etc/init.d daemon even on EL7 (khowell@redhat.com)
Resolves: #1450210 - Make lscpu ignore locale again (khowell@redhat.com)
Resolves: #1447211 - Don't read non-existing json cache file. (jhnidek@redhat.com)
Resolves: #1401787 - Use json file for caching pool type. (jhnidek@redhat.com)
Resolves: #1447722 - use socket.getaddrinfo() to mimic hostname -f cmd
Resolves: #1427069 - Add secondary file to determine external repo file changes
Resolves: #1444453 - set bin scripts file encoding to utf-8 (khowell@redhat.com)
Resolves: #1444453 - Set default encoding for gui to UTF-8 (khowell@redhat.com)
Resolves: #1445204 - Update timestamp during intitial cert check. (jhnidek@redhat.com)
Resolves: #1444512 - Display deleted uuid in facts dialog correctly. (jhnidek@redhat.com)
Resolves: #1446638 - Remove dbus-x11 dependency (khowell@redhat.com)
Resolves: #1443101 - Provide feedback for force register (khowell@redhat.com)
Resolves: #1446469 - Use sys.setdefaultencoding('utf-8') in better way.
Resolves: #1440319 - fixed wrong spelling. (jhnidek@redhat.com)
Resolves: #1426343 - fixed rct to display cert without subjectAltName.
Resolves: #1444714 - Error reading system DMI information (jhnidek@redhat.com)
Resolves: #1357152 - Print right dates on subscription-manager list --installed
Resolves: #1445387 - Set locale fact to Unknown if value cannot be determined
Resolves: #1443693 - Enable to overwrite system.certificate_version with custom fact.
Resolves: #1444800 - Added mising policy file. (jhnidek@redhat.com)
Resolves: #1429505 - Facts dbus service does not start properly due to timeout.
Resolves: #1443215 - bug fix of writing time stamps. (jhnidek@redhat.com)
Resolves: #1443554 - Clicking at Help->Getting Started opens yelp. (jhnidek@redhat.com)
Resolves: #1428002 - Add proxy configuration info to man page (khowell@redhat.com)
Resolves: #1443598 - Remove M2Crypto reference from rhsmlib (khowell@redhat.com)
Resolves: #1438869 - Capture dmidecode errors at fact gathering (khowell@redhat.com)
Resolves: #1443205 - Simplify rhsmcertd log message plurality (csnyder@redhat.com)
Resolves: #1435771 - Fix UnboundLocalError during custom facts collection
Resolves: #1426357 - Fix DBus register service configuration issue. (awood@redhat.com)
Resolves: #1405314 - Better output message, when subman gui is launched with non-root
Resolves: #1426685 - Bug fix: subman doesn't log errors when repository enabling failed
Resolves: #1441698 - Install missing rpm package with fonts. (jhnidek@redhat.com)
Resolves: #1438085 - Do not include virt.uuid for platforms where it is not known
Resolves: #1435013 - Add splay option to rhsmcertd, randomize over interval
Resolves: #1438139 - Make subscription details view expand (khowell@redhat.com)
Resolves: #1438869 - Clear dmidecode warnings (khowell@redhat.com)
Resolves: #1438561 - Do not use D-Bus for facts collection (khowell@redhat.com)
Resolves: #1433368 - 1432947: Filter content access certs at entitlement list level
This commit is contained in:
Alex Wood 2017-07-27 11:53:18 -04:00
parent e5d06bd99a
commit e368f8da6c
4 changed files with 354 additions and 97 deletions

1
.gitignore vendored
View File

@ -71,3 +71,4 @@
/subscription-manager-1.19.0.tar.gz
/subscription-manager-1.19.1.tar.gz
/subscription-manager-1.19.7.tar.gz
/subscription-manager-1.20.1.tar.gz

View File

@ -1 +1 @@
SHA512 (subscription-manager-1.19.7.tar.gz) = 41c16d5dcfa48cd54c9f9ba4b3b2c0fddd41179f46dde7e77750a90e04006e4268f2bfc71ceffa9d23e86ea2a287d490e65de1784b654184f01016e6749b7e8a
SHA512 (subscription-manager-1.20.1.tar.gz) = aca92ab9ed709559e77a85a326949016ab147038b66ba10b8f157f3ba71686f1dfe52af4ead9b7cc61ce1cbb3fad2276fe1d4f11c2c4af29215180bb6fa40dcc

View File

@ -0,0 +1,12 @@
# this seems ok to me
addFilter('invalid-url')
# all yum plugins seem to hardcode paths
addFilter("hardcoded-library-path .*lib/yum-plugins/.*")
# filter out zypper plugins too!
addFilter("hardcoded-library-path .*lib/zypp/plugins/.*")
#sytemd tmpfiles are in /usr/lib
addFilter("hardcoded-library-path .*lib/tmpfiles.d/.*")
# ignore failing suse specific checks
setBadness("suse-dbus-unauthorized-service", 0)
setBadness("polkit-unauthorized-privilege", 0)

View File

@ -1,31 +1,26 @@
# Prefer systemd over sysv on Fedora 17+ and RHEL 7+
%global use_systemd (0%{?fedora} && 0%{?fedora} >= 17) || (0%{?rhel} && 0%{?rhel} >= 7)
# Prefer systemd over sysv on Fedora and RHEL 7+
%global use_systemd 0%{?fedora} || (0%{?rhel} && 0%{?rhel} >= 7) || (0%{?suse_version} && 0%{?suse_version} >= 1315)
# For optional building of ostree-plugin sub package. Unrelated to systemd
# but the same versions apply at the moment.
%global has_ostree %use_systemd
%global use_firstboot 0
%global has_ostree %use_systemd && 0%{?suse_version} == 0
%global use_initial_setup 1
%global use_firstboot 0
%global use_kitchen 1
%global rhsm_plugins_dir /usr/share/rhsm-plugins
%global use_gtk3 %use_systemd
%if 0%{?rhel} == 7
%global use_initial_setup 1
%global use_firstboot 0
%if %{use_systemd}
# Note that %gtk3 will be undefined if it's not used
%global gtk3 1
%endif
# 6 < rhel < 7
%if 0%{?rhel} == 6
%if 0%{?rhel} == 6 || 0%{?suse_version}
%global use_initial_setup 0
%global use_firstboot 1
%global use_kitchen 0
%endif
# SLES
%if 0%{?sles_version}
%global use_initial_setup 0
%global use_firstboot 1
%endif
%global use_dnf (0%{?fedora} && 0%{?fedora} >= 22)
%global use_dnf 0%{?fedora}
%global use_yum (0%{?rhel} && 0%{?rhel} <= 7) || (0%{?suse_version})
%global _hardened_build 1
%{!?__global_ldflags: %global __global_ldflags -Wl,-z,relro -Wl,-z,now}
@ -37,7 +32,7 @@
%endif
# makefile will guess, but be specific.
%if %{use_gtk3}
%if 0%{?gtk3}
%define gtk_version GTK_VERSION=3
%else
%define gtk_version GTK_VERSION=2
@ -49,8 +44,11 @@
%define post_boot_tool INSTALL_INITIAL_SETUP=false INSTALL_FIRSTBOOT=true
%endif
# makefile defaults to INSTALL_YUM_PLUGIN=true
%define install_yum_plugins INSTALL_YUM_PLUGINS=true
%if 0%{?suse_version}
%define install_zypper_plugins INSTALL_ZYPPER_PLUGINS=true
%else
%define install_zypper_plugins INSTALL_ZYPPER_PLUGINS=false
%endif
# makefile defaults to INSTALL_DNF_PLUGIN=false
%if %{use_dnf}
@ -59,8 +57,21 @@
%define install_dnf_plugins INSTALL_DNF_PLUGINS=false
%endif
# makefile defaults to INSTALL_DNF_PLUGIN=true
%if %{use_yum}
%define install_yum_plugins INSTALL_YUM_PLUGINS=true
%else
%define install_yum_plugins INSTALL_YUM_PLUGINS=false
%endif
%if %{use_systemd}
%define with_systemd WITH_SYSTEMD=true
%else
%define with_systemd WITH_SYSTEMD=false
%endif
Name: subscription-manager
Version: 1.19.7
Version: 1.20.1
Release: 1%{?dist}
Summary: Tools and libraries for subscription and repository management
Group: System Environment/Base
@ -73,56 +84,54 @@ URL: http://www.candlepinproject.org/
# yum install tito
# tito build --tag subscription-manager-$VERSION-$RELEASE --tgz
Source0: %{name}-%{version}.tar.gz
%if 0%{?suse_version}
Source1: subscription-manager-rpmlintrc
%endif
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
# A note about the %{?foo:bar} %{!?foo:quux} convention. The %{?foo:bar}
# syntax evaluates foo and if it is **defined**, it expands to "bar" otherwise it
# expands to nothing. The %{!?foo:quux} syntax similarily only the expansion
# occurs when foo is **undefined**. Since one and only one of the expressions will
# expand we can more concisely handle when a dependency has different names in
# SUSE versus RHEL. The traditional if syntax gets extremely confusing when
# nesting is required since RPM requires the various preamble directives to be
# at the start of a line making meaningful indentation impossible.
Requires: python-ethtool
Requires: python-iniparse
Requires: python-decorator
Requires: dbus-x11
Requires: virt-what
Requires: python-rhsm >= 1.19.4
Requires: python-rhsm >= 1.20.0
Requires: python-decorator
%if 0%{?sles_version}
Requires: dbus-1-python
%else
Requires: dbus-python
%endif
Requires: yum >= 3.2.29-73
%if !0%{?sles_version}
Requires: usermode
%endif
Requires: python-six
Requires: python-dateutil
%if %use_gtk3
Requires: gobject-introspection
Requires: pygobject3-base
Requires: dbus-glib
%else
%if 0%{?sles_version}
Requires: python-gobject2
%else
Requires: pygobject2
%endif
%endif
Requires: %{?suse_version:dbus-1-python} %{!?suse_version:dbus-python}
Requires: %{?suse_version:aaa_base} %{!?suse_version:chkconfig}
Requires: %{?suse_version:yum} %{!?suse_version:yum >= 3.2.29-73}
# Support GTK2 and GTK3 on both SUSE and RHEL...
%if 0%{?suse_version}
Requires: %{?gtk3:python-gobject} %{!?gtk3:python-gobject2, libzypp, zypp-plugin-python, python-zypp}
%else
Requires: usermode
Requires: %{?gtk3:gobject-introspection, pygobject3-base} %{!?gtk3:pygobject2}
# There's no dmi to read on these arches, so don't pull in this dep.
# Additionally, dmidecode isn't packaged at all on SUSE
%ifnarch ppc ppc64 s390 s390x
Requires: python-dmidecode
%endif
%endif
%if %use_systemd
Requires(post): systemd
Requires(preun): systemd
Requires(postun): systemd
%else
%if 0%{?sles_version}
Requires(post): aaa_base
Requires(preun): aaa_base
%else
Requires(post): chkconfig
Requires(preun): chkconfig
Requires(preun): initscripts
%endif
Requires(post): %{?suse_version:aaa_base} %{!?suse_version:chkconfig}
Requires(preun): %{?suse_version:aaa_base} %{!?suse_version:chkconfig, initscripts}
%endif
BuildRequires: python-devel
@ -131,22 +140,23 @@ BuildRequires: gettext
BuildRequires: intltool
BuildRequires: libnotify-devel
BuildRequires: desktop-file-utils
BuildRequires: dbus-glib-devel
%if 0%{?fedora} || 0%{?rhel}
BuildRequires: redhat-lsb
BuildRequires: python-six
BuildRequires: %{?suse_version:dbus-1-glib-devel} %{!?suse_version:dbus-glib-devel}
BuildRequires: %{?suse_version:lsb-release, distribution-release} %{!?suse_version:redhat-lsb}
BuildRequires: %{?suse_version:gconf2-devel} %{!?suse_version:GConf2-devel}
BuildRequires: %{?suse_version:update-desktop-files} %{!?suse_version:scrollkeeper}
BuildRequires: %{?gtk3:gtk3-devel} %{!?gtk3:gtk2-devel}
%if 0%{?suse_version}
BuildRequires: libzypp
%endif
BuildRequires: scrollkeeper
%if 0%{?sles_version}
BuildRequires: gconf2-devel
%else
BuildRequires: GConf2-devel
%if 0%{?suse_version} >= 1210
BuildRequires: systemd-rpm-macros
%endif
%if %use_gtk3
BuildRequires: gtk3-devel
%else
BuildRequires: gtk2-devel
%endif
BuildRequires: dbus-glib-devel
%if %use_systemd
# We need the systemd RPM macros
BuildRequires: systemd
@ -159,7 +169,7 @@ platform.
%package -n subscription-manager-plugin-container
Summary: A plugin for handling container content.
Summary: A plugin for handling container content
Group: System Environment/Base
Requires: %{name} = %{version}-%{release}
@ -174,17 +184,20 @@ Group: System Environment/Base
Requires: %{name} = %{version}-%{release}
# We need pygtk3 and gtk2 until rhsm-icon is ported to gtk3
%if %use_gtk3
Requires: pygobject3
Requires: gtk3
%else
Requires: pygtk2 pygtk2-libglade
%endif
Requires: %{?gtk3:pygobject3, gtk3} %{!?gtk3:pygtk2, pygtk2-libglade}
Requires: usermode-gtk
Requires: dbus-x11
Requires: gnome-icon-theme
%if 0%{?gtk3}
Requires: font(cantarell)
%else
Requires: %{?suse_version:dejavu} %{!?suse_version:dejavu-sans-fonts}
%endif
%if !0%{?suse_version}
Requires(post): scrollkeeper
Requires(postun): scrollkeeper
%endif
# Renamed from -gnome, so obsolete it properly
Obsoletes: %{name}-gnome < 1.0.3-1
@ -288,9 +301,15 @@ make -f Makefile VERSION=%{version}-%{release} CFLAGS="%{optflags}" \
rm -rf %{buildroot}
make -f Makefile install VERSION=%{version}-%{release} \
PREFIX=%{buildroot} PYTHON_SITELIB=%{python_sitelib} \
OS_VERSION=%{?fedora}%{?rhel}%{?sles_version} OS_DIST=%{dist} \
OS_VERSION=%{?fedora}%{?rhel}%{?suse_version} OS_DIST=%{dist} \
%{?install_ostree} %{?post_boot_tool} %{?gtk_version} \
%{?install_yum_plugins} %{?install_dnf_plugins}
%{?install_yum_plugins} %{?install_dnf_plugins} \
%{?install_zypper_plugins} \
%{?with_systemd}
%if 0%{?suse_version}
%suse_update_desktop_file -n -r subscription-manager-gui Settings PackageManager
%endif
desktop-file-validate %{buildroot}/etc/xdg/autostart/rhsm-icon.desktop
desktop-file-validate %{buildroot}/usr/share/applications/subscription-manager-gui.desktop
@ -302,8 +321,10 @@ desktop-file-validate %{buildroot}/usr/share/applications/subscription-manager-g
find %{buildroot} -name \*.py -exec touch -r %{SOURCE0} '{}' \;
# fake out the redhat.repo file
%{__mkdir} %{buildroot}%{_sysconfdir}/yum.repos.d
touch %{buildroot}%{_sysconfdir}/yum.repos.d/redhat.repo
%if %{use_yum} || %{use_dnf}
%{__mkdir} %{buildroot}%{_sysconfdir}/yum.repos.d
touch %{buildroot}%{_sysconfdir}/yum.repos.d/redhat.repo
%endif
# fake out the certificate directories
%{__mkdir_p} %{buildroot}%{_sysconfdir}/pki/consumer
@ -325,10 +346,43 @@ rm -rf %{buildroot}
# gnome-help tools use domain 'subscription-manager'
%files -f rhsm.lang
%defattr(-,root,root,-)
%if 0%{?suse_version}
%dir %{_sysconfdir}/pki
%if %{use_yum}
%dir %{_sysconfdir}/yum
%dir %{_sysconfdir}/yum/pluginconf.d
%dir %{_prefix}/lib/yum-plugins/
%endif
%if %{use_yum} || %{use_dnf}
%dir %{_sysconfdir}/yum.repos.d
%endif
%dir %{python_sitelib}/rhsmlib/candlepin
%dir %{python_sitelib}/rhsmlib/compat
%dir %{python_sitelib}/rhsmlib/dbus
%dir %{python_sitelib}/rhsmlib/dbus/facts
%dir %{python_sitelib}/rhsmlib/dbus/objects
%dir %{python_sitelib}/rhsmlib/facts
%dir %{python_sitelib}/rhsmlib/services
%dir %{python_sitelib}/subscription_manager-%{version}-*.egg-info
%dir %{python_sitelib}/subscription_manager/api
%dir %{python_sitelib}/subscription_manager/branding
%dir %{python_sitelib}/subscription_manager/model
%dir %{python_sitelib}/subscription_manager/plugin
%dir %{_var}/spool/rhsm
%dir %{_prefix}/share/polkit-1
%dir %{_prefix}/share/polkit-1/actions
%endif
%if 0%{?suse_version} && 0%{?suse_version} < 1315
%dir %{_prefix}/share/locale/ta_IN
%dir %{_prefix}/share/locale/ta_IN/LC_MESSAGES
%endif
%attr(755,root,root) %{_sbindir}/subscription-manager
# symlink to console-helper
%if !0%{?sles_version}
%if !0%{?suse_version}
%{_bindir}/subscription-manager
%endif
%attr(755,root,root) %{_bindir}/rhsmcertd
@ -341,22 +395,30 @@ rm -rf %{buildroot}
%attr(755,root,root) %dir %{_sysconfdir}/pki/entitlement
%attr(755,root,root) %dir %{_sysconfdir}/rhsm
%attr(755,root,root) %dir %{_sysconfdir}/rhsm/facts
%if 0%{?suse_version}
%attr(755,root,root) %dir %{_sysconfdir}/rhsm/zypper.repos.d
%endif
%attr(644,root,root) %config(noreplace) %{_sysconfdir}/rhsm/rhsm.conf
%config %attr(644,root,root) %{_sysconfdir}/rhsm/logging.conf
# PAM config
%if !0%{?sles_version}
%if !0%{?suse_version}
%{_sysconfdir}/pam.d/subscription-manager
%{_sysconfdir}/security/console.apps/subscription-manager
%endif
# remove the repo file when we are deleted
%ghost %{_sysconfdir}/yum.repos.d/redhat.repo
%if %{use_yum} || %{use_dnf}
%ghost %{_sysconfdir}/yum.repos.d/redhat.repo
%endif
# yum plugin config
%config(noreplace) %attr(644,root,root) %{_sysconfdir}/yum/pluginconf.d/subscription-manager.conf
%config(noreplace) %attr(644,root,root) %{_sysconfdir}/yum/pluginconf.d/product-id.conf
%config(noreplace) %attr(644,root,root) %{_sysconfdir}/yum/pluginconf.d/search-disabled-repos.conf
%if %{use_yum}
# remove the repo file when we are deleted
%config(noreplace) %attr(644,root,root) %{_sysconfdir}/yum/pluginconf.d/subscription-manager.conf
%config(noreplace) %attr(644,root,root) %{_sysconfdir}/yum/pluginconf.d/product-id.conf
%config(noreplace) %attr(644,root,root) %{_sysconfdir}/yum/pluginconf.d/search-disabled-repos.conf
%endif
# misc system config
%config(noreplace) %attr(644,root,root) %{_sysconfdir}/logrotate.d/subscription-manager
@ -369,6 +431,7 @@ rm -rf %{buildroot}
%attr(750,root,root) %dir %{_var}/lib/rhsm/facts
%attr(750,root,root) %dir %{_var}/lib/rhsm/packages
%attr(750,root,root) %dir %{_var}/lib/rhsm/cache
%attr(750,root,root) %dir %{_var}/lib/rhsm/repo_server_val
%{_sysconfdir}/bash_completion.d/subscription-manager
%{_sysconfdir}/bash_completion.d/rct
@ -385,13 +448,13 @@ rm -rf %{buildroot}
%{python_sitelib}/subscription_manager/api/*.py*
%{python_sitelib}/subscription_manager/branding/*.py*
%{python_sitelib}/subscription_manager/model/*.py*
%{python_sitelib}/subscription_manager/plugin/*.py*
%{python_sitelib}/subscription_manager/plugin/__init__.py*
# our gtk2/gtk3 compat modules
%dir %{python_sitelib}/subscription_manager/ga_impls
%{python_sitelib}/subscription_manager/ga_impls/__init__.py*
%if %use_gtk3
%if 0%{?gtk3}
%{python_sitelib}/subscription_manager/ga_impls/ga_gtk3.py*
%else
%dir %{python_sitelib}/subscription_manager/ga_impls/ga_gtk2
@ -405,9 +468,17 @@ rm -rf %{buildroot}
# yum plugins
# Using _prefix + lib here instead of libdir as that evaluates to /usr/lib64 on x86_64,
# but yum plugins seem to normally be sent to /usr/lib/:
%{_prefix}/lib/yum-plugins/subscription-manager.py*
%{_prefix}/lib/yum-plugins/product-id.py*
%{_prefix}/lib/yum-plugins/search-disabled-repos.py*
%if %{use_yum}
%{_prefix}/lib/yum-plugins/subscription-manager.py*
%{_prefix}/lib/yum-plugins/product-id.py*
%{_prefix}/lib/yum-plugins/search-disabled-repos.py*
%endif
# zypper plugins
%if 0%{?suse_version}
%{_prefix}/lib/zypp/plugins/services/subscription-manager
%{_prefix}/lib/zypp/plugins/commit/product-id
%endif
# rhsmlib
%dir %{python_sitelib}/rhsmlib
@ -455,8 +526,17 @@ rm -rf %{buildroot}
%files -n subscription-manager-gui -f subscription-manager.lang
%defattr(-,root,root,-)
%attr(755,root,root) %{_sbindir}/subscription-manager-gui
%if 0%{?suse_version}
%dir %{python_sitelib}/subscription_manager/gui/data
%dir %{python_sitelib}/subscription_manager/gui/data/glade
%dir %{python_sitelib}/subscription_manager/gui/data/icons
%dir %{python_sitelib}/subscription_manager/gui/data/ui
%dir %{_datadir}/appdata
%dir %{_datadir}/gnome
%dir %{_datadir}/gnome/help
%dir %{_datadir}/omf
%else
# symlink to console-helper
%if !0%{?sles_version}
%{_bindir}/subscription-manager-gui
%endif
%{_bindir}/rhsm-icon
@ -480,7 +560,7 @@ rm -rf %{buildroot}
# gui system config files
%{_sysconfdir}/xdg/autostart/rhsm-icon.desktop
%if !0%{?sles_version}
%if !0%{?suse_version}
%{_sysconfdir}/pam.d/subscription-manager-gui
%{_sysconfdir}/security/console.apps/subscription-manager-gui
%endif
@ -501,13 +581,19 @@ rm -rf %{buildroot}
%doc
%{_mandir}/man8/rhn-migrate-classic-to-rhsm.8*
%doc LICENSE
%if 0%{?fedora} > 14
%if 0%{?fedora}
%doc README.Fedora
%endif
%files -n subscription-manager-plugin-container
%defattr(-,root,root,-)
%if 0%{?suse_version}
%dir %{_sysconfdir}/docker
%dir %{_sysconfdir}/docker/certs.d
%dir %{_sysconfdir}/rhsm/ca
%dir %{python_sitelib}/subscription_manager/plugin
%endif
%{_sysconfdir}/rhsm/pluginconf.d/container_content.ContainerContentPlugin.conf
%{rhsm_plugins_dir}/container_content.py*
%{python_sitelib}/subscription_manager/plugin/container.py*
@ -542,6 +628,11 @@ rm -rf %{buildroot}
%if %use_firstboot
%files -n subscription-manager-firstboot
%defattr(-,root,root,-)
%if 0%{?suse_version}
%dir %{_datadir}/rhn
%dir %{_datadir}/rhn/up2date_client
%dir %{_datadir}/rhn/up2date_client/firstboot
%endif
%{_datadir}/rhn/up2date_client/firstboot/rhsm_login.py*
%endif
@ -555,9 +646,17 @@ rm -rf %{buildroot}
%post
%if %use_systemd
%systemd_post rhsmcertd.service
%if 0%{?suse_version}
%service_add_post rhsmcertd.service
%else
%systemd_post rhsmcertd.service
%endif
%else
chkconfig --add rhsmcertd
%if 0%{?suse_version}
%fillup_and_insserv -f rhsmcertd
%else
chkconfig --add rhsmcertd
%endif
%endif
if [ -x /bin/dbus-send ] ; then
@ -572,7 +671,12 @@ fi
%post -n subscription-manager-gui
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
%if !0%{?suse_version}
scrollkeeper-update -q -o %{_datadir}/omf/%{name} || :
%endif
%post -n subscription-manager-plugin-container
%{__python} %{rhsm_plugins_dir}/container_content.py || :
%preun
if [ $1 -eq 0 ] ; then
@ -590,14 +694,20 @@ fi
%postun
%if %use_systemd
%systemd_postun_with_restart rhsmcertd.service
%if 0%{?suse_version}
%service_del_postun rhsmcertd.service
%else
%systemd_postun_with_restart rhsmcertd.service
%endif
%endif
%postun -n subscription-manager-gui
if [ $1 -eq 0 ] ; then
touch --no-create %{_datadir}/icons/hicolor &>/dev/null
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%if !0%{?suse_version}
scrollkeeper-update -q || :
%endif
fi
%posttrans -n subscription-manager-gui
@ -605,6 +715,140 @@ touch --no-create %{_datadir}/icons/hicolor &>/dev/null
gtk-update-icon-cache -f %{_datadir}/icons/hicolor &>/dev/null || :
%changelog
* Thu Jul 27 2017 Alex Wood <awood@redhat.com> 1.20.1-1
- Only return JSON body from Register service. (awood@redhat.com)
- Add a DBus object and service to attach subscriptions. (awood@redhat.com)
- 1472746: Correct sorting of dates in subman gui (jhnidek@redhat.com)
- 1472715: Python module rhsm should never call exit() (jhnidek@redhat.com)
- 1462456: added flush() method to Tee class in fixtures. (jhnidek@redhat.com)
- 1462456: flushing of stdout and stderr once again (jhnidek@redhat.com)
- 1329349: Add subscription-manager plugin to yum-config-manager
(khowell@redhat.com)
- 1468297: Fix gui proxy check (khowell@redhat.com)
- 1367672: Ignore "already attached" in register GUI (khowell@redhat.com)
- 1350402: fix broken pipe error in other bin scripts (jhnidek@redhat.com)
- 1463325: Output consumer name on registration (tony@anthonyjames.org)
- Tell SUSE to use yum since python-kitchen is unavailable. (awood@redhat.com)
- Do not package the yum plugins if they are not needed. (awood@redhat.com)
- Use python-kitchen instead of yum for util method. (awood@redhat.com)
- 1380341: Better dialog in GUI, when consumer is deleted at CP.
(jhnidek@redhat.com)
- 1459194: open Online Documentation, when env. var. LANG is unset
(jhnidek@redhat.com)
- 1455681: rhsm-debug created report dir with wrong perms (jhnidek@redhat.com)
- 1452075: print only readable part of SSL error to console
(jhnidek@redhat.com)
- 1413161: Add baseurl examples, explanation (khowell@redhat.com)
- 1386914: Add hypervisor consumer type to manpages (khowell@redhat.com)
- 1444453: Have gettext return unicode instead of bytes. (awood@redhat.com)
- 1443570: Update retired article reference (redhatrises@gmail.com)
- 1457348: Use https for the redhat.com/forgot_password label.
(jhnidek@redhat.com)
- 1457197: Env. variable no_proxy=* is not ignored (jhnidek@redhat.com)
- 1392709: Display better error msg., when wrong proxy is set up
(jhnidek@redhat.com)
- 1448501: subman gui can unregister, when network is up again
(jhnidek@redhat.com)
- 1422196: Update container certs after plugin install (khowell@redhat.com)
- 1441397: added --noproxy for rhsm-debug auto-completion (jhnidek@redhat.com)
- 1421010: GUI opens network dialog due to bad proxy during startup
(jhnidek@redhat.com)
- 1414529: Raise exception with path/string of wrong certificate.
(jhnidek@redhat.com)
- 1443164: no_proxy match the host name when *.redhat.com is used
(jhnidek@redhat.com)
- 1441397: Added --noproxy to bash completion script (jhnidek@redhat.com)
- Python 3 compatability fixes. (awood@redhat.com)
- 1365472: Add mnemonic for subscription-manager spoke (khowell@redhat.com)
- 1443159: Added default value for splay configuration (jhnidek@redhat.com)
- 1452737: Enable saving no_proxy settings from GUI (jhnidek@redhat.com)
- 1451003: identity reports right info in name field (jhnidek@redhat.com)
- 1450818: Bug fix of com.redhat.Subscriptionmanager D-Bus policy
(jhnidek@redhat.com)
- 1451166: Fix Host header when using proxy (khowell@redhat.com)
- 1450049: Replace `-` with `_` in completion functions (khowell@redhat.com)
- 1450862: remove obsolete certiciates of golden ticket (jhnidek@redhat.com)
- 1448855: golden ticket entitlement was not removed. (jhnidek@redhat.com)
- 1449824: facts collection aborts with unknown locale (jhnidek@redhat.com)
- 1432231: Support /etc/init.d daemon even on EL7 (khowell@redhat.com)
- 1450210: Make lscpu ignore locale again (khowell@redhat.com)
- 1447211: Don't read non-existing json cache file. (jhnidek@redhat.com)
- 1401787: Use json file for caching pool type. (jhnidek@redhat.com)
- 1447722: use socket.getaddrinfo() to mimic hostname -f cmd
(jhnidek@redhat.com)
- 1427069: Add secondary file to determine external repo file changes
(wpoteat@redhat.com)
- 1444453: set bin scripts file encoding to utf-8 (khowell@redhat.com)
- 1444453: Set default encoding for gui to UTF-8 (khowell@redhat.com)
- include 'full_refresh_on_yum' logic in zypper service plugin
(dellweg@atix.de)
- rehash ca-path in zypper service plugin (dellweg@atix.de)
- Add preliminary zypper support (khowell@redhat.com)
- Define libexec directory at compile time (kkaempf@suse.de)
- Separate CFLAGS and LDFLAGS (kkaempf@suse.de)
- 1445204: Update timestamp during intitial cert check. (jhnidek@redhat.com)
* Mon May 08 2017 Kevin Howell <khowell@redhat.com> 1.20.0-1
- Bump python-rhsm requirement to 1.20.0 (khowell@redhat.com)
- 1444512: Display deleted uuid in facts dialog correctly. (jhnidek@redhat.com)
* Tue May 02 2017 Kevin Howell <khowell@redhat.com> 1.19.12-1
- Bump python-rhsm requirement to 1.19.6 (khowell@redhat.com)
* Tue May 02 2017 Kevin Howell <khowell@redhat.com> 1.19.11-1
- 1446638: Remove dbus-x11 dependency (khowell@redhat.com)
- 1443101: Provide feedback for force register (khowell@redhat.com)
- 1446469: Use sys.setdefaultencoding('utf-8') in better way.
(jhnidek@redhat.com)
- 1440319: fixed wrong spelling. (jhnidek@redhat.com)
- 1426343: fixed rct to display cert without subjectAltName.
(jhnidek@redhat.com)
* Thu Apr 27 2017 Kevin Howell <khowell@redhat.com> 1.19.10-1
- Sync zanata translations (khowell@redhat.com)
- 1444714: Error reading system DMI information (jhnidek@redhat.com)
- 1357152: Print right dates on subscription-manager list --installed
(jhnidek@redhat.com)
- 1445387: Set locale fact to Unknown if value cannot be determined
(khowell@redhat.com)
- 1443693: Enable to overwrite system.certificate_version with custom fact.
(jhnidek@redhat.com)
- 1444800: Added mising policy file. (jhnidek@redhat.com)
- 1429505: Facts dbus service does not start properly due to timeout.
(jhnidek@redhat.com)
- 1443215: bug fix of writing time stamps. (jhnidek@redhat.com)
- 1443554: Clicking at Help->Getting Started opens yelp. (jhnidek@redhat.com)
- 1428002: Add proxy configuration info to man page (khowell@redhat.com)
- 1443598: Remove M2Crypto reference from rhsmlib (khowell@redhat.com)
* Thu Apr 20 2017 Kevin Howell <khowell@redhat.com> 1.19.9-1
- Sync zanata translations (khowell@redhat.com)
- 1438869: Capture dmidecode errors at fact gathering (khowell@redhat.com)
- 1443205: Simplify rhsmcertd log message plurality (csnyder@redhat.com)
- 1435771: Fix UnboundLocalError during custom facts collection
(csnyder@redhat.com)
- 1426357: Fix DBus register service configuration issue. (awood@redhat.com)
- 1405314: Better output message, when subman gui is launched with non-root
user. (jhnidek@redhat.com)
- 1426685: Bug fix: subman doesn't log errors when repository enabling failed
(jhnidek@redhat.com)
- 1441698: Install missing rpm package with fonts. (jhnidek@redhat.com)
- 1438085: Do not include virt.uuid for platforms where it is not known
(csnyder@redhat.com)
* Mon Apr 17 2017 Kevin Howell <khowell@redhat.com> 1.19.8-1
- Sync zanata translations (khowell@redhat.com)
- Bump python-rhsm requirement to 1.19.5 (khowell@redhat.com)
- 1435013: Add splay option to rhsmcertd, randomize over interval
(csnyder@redhat.com)
- 1438139: Make subscription details view expand (khowell@redhat.com)
- 1438869: Clear dmidecode warnings (khowell@redhat.com)
- Update log message to be more clear about the splay time being used
(csnyder@redhat.com)
- 1438561: Do not use D-Bus for facts collection (khowell@redhat.com)
- 1433368: 1432947: Filter content access certs at entitlement list level
(wpoteat@redhat.com)
* Tue Apr 11 2017 Kevin Howell <khowell@redhat.com> 1.19.7-1
- Sync zanata translations (khowell@redhat.com)
- 1440934: Ensure rhsmcertd performs both types of checks (csnyder@redhat.com)