From defa32f606691f72971f730b3fec694d1f5814c1 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Apr 24 2020 03:40:30 +0000 Subject: import subscription-manager-1.27.2-1.el8 --- diff --git a/.gitignore b/.gitignore index 4b09410..b20c1ef 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,2 @@ -SOURCES/subscription-manager-1.26.16.tar.gz -SOURCES/subscription-manager-cockpit-1.26.16.tar.gz +SOURCES/subscription-manager-1.27.2.tar.gz +SOURCES/subscription-manager-cockpit-1.27.2.tar.gz diff --git a/.subscription-manager.metadata b/.subscription-manager.metadata index f18d6d5..23abb80 100644 --- a/.subscription-manager.metadata +++ b/.subscription-manager.metadata @@ -1,2 +1,2 @@ -c775f87b247870cf48da3f4be4317540a2b97228 SOURCES/subscription-manager-1.26.16.tar.gz -e26075c89ebffcffeec8b8759b9a9603c1589053 SOURCES/subscription-manager-cockpit-1.26.16.tar.gz +03dc1274180068cd4beeb81f5173ff0c2f81739a SOURCES/subscription-manager-1.27.2.tar.gz +3961036cee1f496d2f6157f559525f68e882cc49 SOURCES/subscription-manager-cockpit-1.27.2.tar.gz diff --git a/SPECS/subscription-manager.spec b/SPECS/subscription-manager.spec index 7a92bee..aa58794 100644 --- a/SPECS/subscription-manager.spec +++ b/SPECS/subscription-manager.spec @@ -93,7 +93,7 @@ %endif %global use_dnf (%{with python3} && (0%{?fedora} || (0%{?rhel}))) || (0%{?rhel} >= 7) -%global use_yum (0%{?rhel} && 0%{?rhel} <= 7) || (0%{?suse_version}) +%global use_yum (0%{?rhel} && 0%{?rhel} <= 7) %global use_cockpit 0%{?fedora} || 0%{?rhel} >= 7 %if %{with python3} @@ -222,7 +222,7 @@ %global use_rhsm_icons 0%{use_cockpit} || 0%{use_rhsm_gtk} Name: subscription-manager -Version: 1.26.16 +Version: 1.27.2 Release: 1%{?dist} Summary: Tools and libraries for subscription and repository management %if 0%{?suse_version} @@ -772,14 +772,18 @@ cp %{buildroot}%{python_sitearch}/rhsm/*.py %{buildroot}%{python2_sitearch}/rhsm desktop-file-validate %{buildroot}/etc/xdg/autostart/rhsm-icon.desktop desktop-file-validate %{buildroot}/usr/share/applications/subscription-manager-gui.desktop %else + %if %use_cockpit desktop-file-validate %{buildroot}/usr/share/applications/subscription-manager-cockpit.desktop %endif + %endif # libexec directory does not exist on sles based distros %if 0%{?suse_version} -sed -i 's/libexec/lib/g' %{buildroot}/%{_sysconfdir}/cron.daily/rhsmd +%if %use_subman_gui + sed -i 's/libexec/lib/g' %{buildroot}/%{_sysconfdir}/cron.daily/rhsmd +%endif %endif %find_lang rhsm @@ -885,7 +889,10 @@ find %{buildroot} -name \*.py* -exec touch -r %{SOURCE0} '{}' \; %attr(755,root,root) %{_bindir}/rhsmcertd %attr(755,root,root) %{_libexecdir}/rhsmcertd-worker -%attr(755,root,root) %{_libexecdir}/rhsmd + +%if %{use_subman_gui} + %attr(755,root,root) %{_libexecdir}/rhsmd +%endif # our config dirs and files @@ -931,7 +938,9 @@ find %{buildroot} -name \*.py* -exec touch -r %{SOURCE0} '{}' \; # misc system config %config(noreplace) %attr(644,root,root) %{_sysconfdir}/logrotate.d/subscription-manager -%attr(700,root,root) %{_sysconfdir}/cron.daily/rhsmd +%if %{use_subman_gui} + %attr(700,root,root) %{_sysconfdir}/cron.daily/rhsmd +%endif %attr(755,root,root) %dir %{_var}/log/rhsm %attr(755,root,root) %dir %{_var}/spool/rhsm/debug @@ -1105,6 +1114,7 @@ find %{buildroot} -name \*.py* -exec touch -r %{SOURCE0} '{}' \; # symlink to console-helper %{_bindir}/subscription-manager-gui %endif + %{_bindir}/rhsm-icon %doc %{_datadir}/gnome/help/subscription-manager/C/figures/*.png @@ -1198,9 +1208,9 @@ find %{buildroot} -name \*.py* -exec touch -r %{SOURCE0} '{}' \; %{rhsm_plugins_dir}/container_content.py* %if %{with python3} %{rhsm_plugins_dir}/__pycache__/*container* +%{python_sitearch}/subscription_manager/plugin/container/__pycache__ %endif %{python_sitearch}/subscription_manager/plugin/container/*.py* -%{python_sitearch}/subscription_manager/plugin/container/__pycache__ # Copying Red Hat CA cert into each directory: %attr(755,root,root) %dir %{_sysconfdir}/docker/certs.d/cdn.redhat.com @@ -1400,47 +1410,113 @@ gtk-update-icon-cache -f %{_datadir}/icons/hicolor &>/dev/null || : %endif %changelog -* Thu Apr 02 2020 Christopher Snyder 1.26.16-1 +* Wed Apr 15 2020 William Poteat 1.27.2-1 +- Update releasers for 8.3 (wpoteat@redhat.com) +- 1821747: Automatically create /etc/rhsm/syspurpose (jhnidek@redhat.com) + +* Tue Apr 14 2020 Christopher Snyder 1.27.1-1 +- Fix broken zypepr repo print (suttner@atix.de) +- Fix apt-plugin for subscription-manager (bucher@atix.de) +- Support to upload zypper repository profile (suttner@atix.de) +- 1816926: Fix "attach --auto" command; ENT-2242 (jhnidek@redhat.com) - 1820001: initConfig method needs to be reinstated (wpoteat@redhat.com) - -* Mon Mar 23 2020 Christopher Snyder 1.26.15-1 +- 1774187: Reinitialize logger, when necessary; ENT-1960 (jhnidek@redhat.com) +- 1796833: New keys.pot with new strings; ENT-2058 (jhnidek@redhat.com) +- 1775714: Do not install rhsmd and rhsm-icon on rhel8; ENT-1959 + (jhnidek@redhat.com) +- Various fixes for debian building and packaging (bucher@atix.de) +- Fix gcc warnings and clang build failures (tstellar@redhat.com) +- 1569491: rhn-migrate-classic-to-rhsm should try to resolve product ID + collisions (wpoteat@redhat.com) +- Remove yum for suse (suttner@atix.de) +- Add basic build-instructions for debian packages (bucher@atix.de) +- Make debian build more versatile (bucher@atix.de) +- Add missing debian-build-dependency for libssl-dev (bucher@atix.de) +- 1763271: Golden ticket: do not print list of products; ENT-2017 + (jhnidek@redhat.com) +- Added basic support for Pipenv for subscription-manager; ENT-1755 + (jhnidek@redhat.com) +- Implement --token option in subscription-manager (shwethakraman57@gmail.com) +- Fixed saving and reading configuration file from cockpit plugin. + (jhnidek@redhat.com) +- cockpit: Be more robust when showing the time for next Insights upload + (mvollmer@redhat.com) +- Fixed few issues with initConfig() (jhnidek@redhat.com) +- 1803783: Added copytruncate option to logrotate conf file; ENT-2114 + (jhnidek@redhat.com) - 1804114: New D-Bus method SetAll; ENT-2124 (jhnidek@redhat.com) - -* Fri Mar 06 2020 Christopher Snyder 1.26.14-1 -- 1754952: Update translations for syspurpose (csnyder@redhat.com) - -* Mon Feb 24 2020 Christopher Snyder 1.26.13-1 -- 1754952: Update translations (csnyder@redhat.com) -- cockpit: CSS fixes for dialog error messages (mvollmer@redhat.com) -- cockpit: Update cockpit-component-dialog (mvollmer@redhat.com) - -* Wed Feb 19 2020 Christopher Snyder 1.26.12-1 -- 1803858: Install insights-client package on demand (mvollmer@redhat.com) - -* Mon Feb 17 2020 Christopher Snyder 1.26.11-1 +- 1796986: Collect AWS instance id when available (wpoteat@redhat.com) +- Hint is printed by subscription-manager during registration. + (jhnidek@redhat.com) +- Implementation of getting organization using D-Bus API; ENT-1760 + (jhnidek@redhat.com) +- List user's organization during registration process on CLI + (jhnidek@redhat.com) +- Enable building of libdnf product-id plugin on RHEL 7. (jhnidek@redhat.com) +- Refactoring of DNF subscription-manager plugin; ENT-1906 (jhnidek@redhat.com) +- 1794826: Added option --force for command refresh; ENT-2033 + (jhnidek@redhat.com) - 1794653: corrected missing quotes for config check; ENT-2010 (crag@redhat.com) - -* Fri Jan 24 2020 Christopher Snyder 1.26.10-1 +- Ensure serial existence before comparison (csnyder@redhat.com) +- D-Bus API: support for pagged list of available subscriptions; ENT-1762 + (jhnidek@redhat.com) +- 1797386: Allow service plugin for zypper (SLES) to set autorefresh + (darinlively@gmail.com) - 1782910: Log errors in logging set up after set up completes; ENT-1890 (jhnidek@redhat.com) - -* Fri Dec 13 2019 Christopher Snyder 1.26.9-1 +- Add unit test for ASN1 generalized time (khowell@redhat.com) +- 1667792: added --disable-auto-attach option to register command; ENT-1684 + (jhnidek@redhat.com) +- ENT-1620: Add option to use our cache of npmjs repository (Nexus) + (jhnidek@redhat.com) +- cockpit: Sync with current Cockpit test API (martin@piware.de) +- Make x509 date parsing handle dates after 2049 (khowell@redhat.com) +- cockpit: Add 'doc' and 'keywords' into manifest (mmarusak@redhat.com) +- 1741183: Yum loaded subscription-manager plugin multiple times + (hyu@redhat.com) +- 1761566: include kpatch in facts; ENT-1700 (jhnidek@redhat.com) +- Fixed several issues based on PR review. (jhnidek@redhat.com) +- 1751200: Cockpit plugin: select registration method; ENT-1651 + (jhnidek@redhat.com) +- ENT-1682: Update build process to use Fedora Zanata (ojanus@redhat.com) +- Do not include pycache for container plugin on python2 (csnyder@redhat.com) - Make sure to set the mtime of the py files before creating pyc (csnyder@redhat.com) - -* Sun Dec 01 2019 Christopher Snyder 1.26.8-1 +- cockpit: Install insights-client package on demand (mvollmer@redhat.com) +- cockpit: CSS fixes for dialog error messages (mvollmer@redhat.com) +- Fixed unit test and build process specific for suse (jhnidek@redhat.com) +- cockpit: Update cockpit-component-dialog (mvollmer@redhat.com) - Fix downgradability due to conflicts with rhsm-icons (csnyder@redhat.com) - -* Wed Nov 20 2019 Christopher Snyder 1.26.7-1 - Add rhsm-icons package to contain all icons required by gui interfaces (csnyder@redhat.com) - -* Tue Nov 19 2019 Christopher Snyder 1.26.6-1 - 1728054: Obsolete sm-plugin-container on RHEL 8 (csnyder@redhat.com) +- cockpit: Don't use objects as React children for error details + (mvollmer@redhat.com) +- Security upgrades of javascript packages (jhnidek@redhat.com) +- D-BUS API: Better listing of provided products (jhnidek@redhat.com) + +* Mon Nov 18 2019 Christopher Snyder 1.27.0-1 +- Make Makefile SLE15 compatible (khowell@redhat.com) +- 1764265: Set gpgcheck to 0, when zypper is used; ENT-1758 + (jhnidek@redhat.com) +- 1760837: Disable zypper plugin via ZYPP_RHSM_PLUGIN_DISABLE + (khowell@redhat.com) +- 1764340: Handle RestlibException in zypper plugin (khowell@redhat.com) +- cockpit: Use new services image instead of candlepin (martin@piware.de) +- 1738764: Fix issue with syspurpose three-way merge; ENT-1564 + (jhnidek@redhat.com) +- 1703054: Blacklist some locales for Python2.x; ENT-1288 (jhnidek@redhat.com) +- 1752400: Ensure that configuration is recorded before data sync processes + (wpoteat@redhat.com) +- fixed wrong package name for dependency (p.seiler@linuxmail.org) +- cockpit: Bump test API to 204 (martin@piware.de) +- cockpit: Move default TESTS_OS to rhel-8-1 (martin@piware.de) +- cockpit: Support CI testing against a bots project PR (martin@piware.de) +- No need for inotify on suse (csnyder@redhat.com) +- cockpit: Don't clobber an existing bots checkout (martin@piware.de) -* Mon Nov 18 2019 Christopher Snyder 1.26.5-1 -- Add RHEL 8.2 releaser (csnyder@redhat.com) +* Mon Nov 18 2019 Christopher Snyder - Make Makefile SLE15 compatible (khowell@redhat.com) - 1764265: Set gpgcheck to 0, when zypper is used; ENT-1758 (jhnidek@redhat.com)