diff --git a/.gitignore b/.gitignore index 1fc0334..79616ab 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,2 @@ -SOURCES/subscription-manager-1.28.16.tar.gz -SOURCES/subscription-manager-cockpit-1.28.16.tar.gz +SOURCES/subscription-manager-1.28.17.tar.gz +SOURCES/subscription-manager-cockpit-1.28.17.tar.gz diff --git a/.subscription-manager.metadata b/.subscription-manager.metadata index 4a2b70e..e970f2b 100644 --- a/.subscription-manager.metadata +++ b/.subscription-manager.metadata @@ -1,2 +1,2 @@ -03e021d57bb8bc2cf305f4dfc4165a41a4baeda8 SOURCES/subscription-manager-1.28.16.tar.gz -6e3acabd98661be3ad590c116ed0c5aacfc81686 SOURCES/subscription-manager-cockpit-1.28.16.tar.gz +6a0531614481fd4603a6f6e4f7a4bc26ba2097ca SOURCES/subscription-manager-1.28.17.tar.gz +23c9343d6a1c5f024ca4c9a143755713d0b6f89a SOURCES/subscription-manager-cockpit-1.28.17.tar.gz diff --git a/SOURCES/CENTOS-use-centos-syspurposes.patch b/SOURCES/CENTOS-use-centos-syspurposes.patch deleted file mode 100644 index 52d2e66..0000000 --- a/SOURCES/CENTOS-use-centos-syspurposes.patch +++ /dev/null @@ -1,20 +0,0 @@ -diff --git a/etc-conf/syspurpose/valid_fields.json b/etc-conf/syspurpose/valid_fields.json -index 1ac7ea0e..305ec4b9 100644 ---- a/etc-conf/syspurpose/valid_fields.json -+++ b/etc-conf/syspurpose/valid_fields.json -@@ -1,12 +1,10 @@ - { - "role": [ -- "Red Hat Enterprise Linux Server", -- "Red Hat Enterprise Linux Workstation", -- "Red Hat Enterprise Linux Compute Node" -+ "CentOS Linux Server", -+ "CentOS Linux Workstation", -+ "CentOS Linux Compute Node" - ], - "service_level_agreement": [ -- "Premium", -- "Standard", - "Self-Support" - ], - "usage": [ diff --git a/SOURCES/subscription-manager-centos-remove-redhat.repo.patch b/SOURCES/subscription-manager-centos-remove-redhat.repo.patch deleted file mode 100644 index 0001d86..0000000 --- a/SOURCES/subscription-manager-centos-remove-redhat.repo.patch +++ /dev/null @@ -1,16 +0,0 @@ -diff -Nurp subscription-manager-1.27.11.orig/src/subscription_manager/repofile.py subscription-manager-1.27.11/src/subscription_manager/repofile.py ---- subscription-manager-1.27.11.orig/src/subscription_manager/repofile.py 2020-07-28 11:06:10.000000000 -0500 -+++ subscription-manager-1.27.11/src/subscription_manager/repofile.py 2020-08-05 16:48:00.911709258 -0500 -@@ -368,11 +368,7 @@ class RepoFileBase(object): - Try to create new repo file. - :return: None - """ -- self.create_dir_path() -- if self.path_exists(self.path) or not self.manage_repos: -- return -- with open(self.path, 'w') as f: -- f.write(self.REPOFILE_HEADER) -+ pass - - def fix_content(self, content): - return content diff --git a/SPECS/subscription-manager.spec b/SPECS/subscription-manager.spec index 42054ab..d0d9d18 100644 --- a/SPECS/subscription-manager.spec +++ b/SPECS/subscription-manager.spec @@ -243,7 +243,7 @@ %global use_rhsm_icons 0%{use_cockpit} || 0%{use_rhsm_gtk} Name: subscription-manager -Version: 1.28.16 +Version: 1.28.17 Release: 1%{?dist} Summary: Tools and libraries for subscription and repository management %if 0%{?suse_version} @@ -274,9 +274,6 @@ Source2: subscription-manager-rpmlintrc BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) %endif -Patch100: CENTOS-use-centos-syspurposes.patch -Patch101: subscription-manager-centos-remove-redhat.repo.patch - # The following macro examples are preceeded by '%' to stop macro expansion # in the comments. (See https://bugzilla.redhat.com/show_bug.cgi?id=1224660 for # why this is necessary) @@ -588,11 +585,9 @@ Group: System Environment/Base Requires: rhsm-gtk = %{version}-%{release} Requires: initial-setup-gui >= 0.3.9.24-1 Obsoletes: subscription-manager-firstboot < 1.15.3-1 -%if %{undefined centos} %if (0%{?rhel} >= 8) Supplements: initial-setup-gui %endif -%endif %description -n subscription-manager-initial-setup-addon This package contains the initial-setup screens for subscription-manager. @@ -745,8 +740,6 @@ subscription-manager-initial-setup-addon, and subscription-manager-cockpit-plugi %prep %setup -q -%patch100 -p1 -%patch101 -p1 %build make -f Makefile VERSION=%{version}-%{release} CFLAGS="%{optflags}" \ @@ -831,9 +824,7 @@ desktop-file-validate %{buildroot}/usr/share/applications/subscription-manager-c # fake out the redhat.repo file %if %{use_yum} || %{use_dnf} mkdir %{buildroot}%{_sysconfdir}/yum.repos.d - %if %{undefined centos} touch %{buildroot}%{_sysconfdir}/yum.repos.d/redhat.repo - %endif %endif # fake out the certificate directories @@ -843,19 +834,13 @@ mkdir -p %{buildroot}%{_sysconfdir}/pki/entitlement %if %{use_container_plugin} # Setup cert directories for the container plugin: mkdir -p %{buildroot}%{_sysconfdir}/docker/certs.d/ -%if %{undefined centos} mkdir %{buildroot}%{_sysconfdir}/docker/certs.d/cdn.redhat.com install -m 644 %{_builddir}/%{buildsubdir}/etc-conf/redhat-entitlement-authority.pem %{buildroot}%{_sysconfdir}/docker/certs.d/cdn.redhat.com/redhat-entitlement-authority.crt %endif -%endif -%if %{undefined centos} mkdir -p %{buildroot}%{_sysconfdir}/etc/rhsm/ca install -m 644 %{_builddir}/%{buildsubdir}/etc-conf/redhat-entitlement-authority.pem %{buildroot}/%{_sysconfdir}/rhsm/ca/redhat-entitlement-authority.pem install -m 644 %{_builddir}/%{buildsubdir}/etc-conf/redhat-uep.pem %{buildroot}/%{_sysconfdir}/rhsm/ca/redhat-uep.pem -%else -rm %{buildroot}/%{_sysconfdir}/rhsm/ca/redhat-entitlement-authority.pem -%endif %if %use_cockpit # install cockpit dist targz @@ -881,10 +866,6 @@ find %{buildroot} -name \*.py* -exec touch -r %{SOURCE0} '{}' \; %endif %endif -%if %{defined centos} -sed -e '/^enabled=/ s/1/0/' -i %{buildroot}%{_sysconfdir}/dnf/plugins/subscription-manager.conf -%endif - # base/cli tools use the gettext domain 'rhsm', while the # gnome-help tools use domain 'subscription-manager' %files -f rhsm.lang @@ -1271,12 +1252,10 @@ sed -e '/^enabled=/ s/1/0/' -i %{buildroot}%{_sysconfdir}/dnf/plugins/subscripti %endif %{python_sitearch}/subscription_manager/plugin/container/*.py* -%if %{undefined centos} # Copying Red Hat CA cert into each directory: %attr(755,root,root) %dir %{_sysconfdir}/docker/certs.d/cdn.redhat.com %attr(644,root,root) %{_sysconfdir}/docker/certs.d/cdn.redhat.com/redhat-entitlement-authority.crt %endif -%endif %if %has_ostree %files -n subscription-manager-plugin-ostree @@ -1331,10 +1310,8 @@ sed -e '/^enabled=/ s/1/0/' -i %{buildroot}%{_sysconfdir}/dnf/plugins/subscripti %attr(755,root,root) %dir %{_sysconfdir}/rhsm %attr(755,root,root) %dir %{_sysconfdir}/rhsm/ca -%if %{undefined centos} %attr(644,root,root) %{_sysconfdir}/rhsm/ca/redhat-entitlement-authority.pem %attr(644,root,root) %{_sysconfdir}/rhsm/ca/redhat-uep.pem -%endif %if %use_cockpit %files -n subscription-manager-cockpit @@ -1488,6 +1465,27 @@ gtk-update-icon-cache -f %{_datadir}/icons/hicolor &>/dev/null || : %endif %changelog +* Mon Jun 07 2021 Christopher Snyder 1.28.17-1 +- 1920020: show error message when setting invalid default_log_level as well as + on every run until changed to a valid value (#2641) + (tmerry@redhat.com) +- 1897767: improve wording for missing or empty syspurpose values + (ptoscano@redhat.com) +- 1951057: Cherry Pick to Add in memory read of cache, delete SCA cert with not + needed. (#2618) (tmerry@redhat.com) +- 1896715: Set proper read permissions on certs (wpoteat@redhat.com) +- Update translation files (noreply@weblate.org) +- 1956764: New extraction for translatable strings (ptoscano@redhat.com) +- 1672805: 'Addons' is failing spell check and should be changed to 'Add-ons' + to match documentation (tmerry@redhat.com) +- 1638080: surround the syspurpose feedback in quotes (tmerry@redhat.com) +- 1949492: remove bogus %%changelog entries (ptoscano@redhat.com) +- 1637083: remove the unset PROPERTY VALUE from the Generic Commands + (tmerry@redhat.com) +- 1897767: what does 'No valid values provided for usage' mean to the user for + subscription-manager-1.28 branch (tmerry@redhat.com) +- 1879856: suppress the warning message when setting syspurpose values (tmerry@redhat.com) + * Mon Apr 26 2021 Christopher Snyder 1.28.16-1 - 1950015: fix typos in syspurpose(8) (#2604) (ptoscano@redhat.com) - Updated translations for Korean and Italian from weblate (simmon@nplob.com) @@ -1522,56 +1520,20 @@ gtk-update-icon-cache -f %{_datadir}/icons/hicolor &>/dev/null || : - Add RHEL 8.5 releaser (csnyder@redhat.com) * Tue Mar 30 2021 Christopher Snyder 1.28.15-1 -- 1944093: Translated using Weblate (Korean) (simmon@nplob.com) -- 1944093: Translated using Weblate (Korean) (simmon@nplob.com) -- 1636950: make value possibly plural for addons in syspurpose man page - (tmerry@localhost.localdomain) -- 1944093: Translated using Weblate (Korean) (simmon@nplob.com) -- 1944093: Translated using Weblate (Italian) (toscano.pino@tiscali.it) -- 1944093: Translated using Weblate (Korean) (simmon@nplob.com) -- 1944093: Translated using Weblate (Italian) (toscano.pino@tiscali.it) -- 1944093: Translated using Weblate (Korean) (simmon@nplob.com) -- 1944093: Translated using Weblate (Korean) (simmon@nplob.com) -- 1944093: Translated using Weblate (Korean) (simmon@nplob.com) -- update language of REPOS OPTIONS in subscription-manager man page - (tmerry@localhost.localdomain) -- 1944093: Translated using Weblate (Korean) (simmon@nplob.com) -- change add-ons to addons (tmerry@localhost.localdomain) -- 1634780: typo in syspurpose man page (tmerry@localhost.localdomain) -- 1856832: add --org=ORG to the ROLE OPTIONS, USAGE OPTIONS and ADDONS OPTIONS - of the subscription-manager man pages (tmerry@localhost.localdomain) -- 1637083: add unset sections (tmerry@localhost.localdomain) -- 1920017: Remove a sentence from the subscription-manager man page. - (tmerry@localhost.localdomain) -- 1646718: Debrand message to not include Red Hat Subscription Manager but - instead with an entitlement server (tmerry@localhost.localdomain) -- 1682943: put a blank space back into a comment to separate two sentences - (tmerry@localhost.localdomain) -- 1857491: Add newline character to split a message into 2 lines - (tmerry@localhost.localdomain) -- 1920020: Set default_log_level to INFO when an invalid value is passed on the - command line (#2481) (31166354+tlhmerry9@users.noreply.github.com) -- 1924921: Fix getting releases, when SCA is used (jhnidek@redhat.com) -- 1944093: Translated using Weblate (Korean) (simmon@nplob.com) -- 1944093: Added translation using Weblate (Sinhala) (r45xveza@pm.me) -- 1944093: Added translation using Weblate (Sinhala) (r45xveza@pm.me) -- 1927245: Mark several dir as part of RPM (jhnidek@redhat.com) - -* Tue Mar 30 2021 Christopher Snyder -- 1944093: Translated using Weblate (Korean) (simmon@nplob.com) -- 1944093: Translated using Weblate (Korean) (simmon@nplob.com) -- 1636950: make value possibly plural for addons in syspurpose man page +- Translated using Weblate (Korean) (simmon@nplob.com) +- Translated using Weblate (Korean) (simmon@nplob.com) +- make value possibly plural for addons in syspurpose man page (tmerry@localhost.localdomain) -- 1944093: Translated using Weblate (Korean) (simmon@nplob.com) -- 1944093: Translated using Weblate (Italian) (toscano.pino@tiscali.it) -- 1944093: Translated using Weblate (Korean) (simmon@nplob.com) -- 1944093: Translated using Weblate (Italian) (toscano.pino@tiscali.it) -- 1944093: Translated using Weblate (Korean) (simmon@nplob.com) -- 1944093: Translated using Weblate (Korean) (simmon@nplob.com) -- 1944093: Translated using Weblate (Korean) (simmon@nplob.com) +- Translated using Weblate (Korean) (simmon@nplob.com) +- Translated using Weblate (Italian) (toscano.pino@tiscali.it) +- Translated using Weblate (Korean) (simmon@nplob.com) +- Translated using Weblate (Italian) (toscano.pino@tiscali.it) +- Translated using Weblate (Korean) (simmon@nplob.com) +- Translated using Weblate (Korean) (simmon@nplob.com) +- Translated using Weblate (Korean) (simmon@nplob.com) - update language of REPOS OPTIONS in subscription-manager man page (tmerry@localhost.localdomain) -- 1944093: Translated using Weblate (Korean) (simmon@nplob.com) +- Translated using Weblate (Korean) (simmon@nplob.com) - change add-ons to addons (tmerry@localhost.localdomain) - 1634780: typo in syspurpose man page (tmerry@localhost.localdomain) - 1856832: add --org=ORG to the ROLE OPTIONS, USAGE OPTIONS and ADDONS OPTIONS @@ -1588,9 +1550,9 @@ gtk-update-icon-cache -f %{_datadir}/icons/hicolor &>/dev/null || : - 1920020: Set default_log_level to INFO when an invalid value is passed on the command line (#2481) (31166354+tlhmerry9@users.noreply.github.com) - 1924921: Fix getting releases, when SCA is used (jhnidek@redhat.com) -- 1944093: Translated using Weblate (Korean) (simmon@nplob.com) -- 1944093: Added translation using Weblate (Sinhala) (r45xveza@pm.me) -- 1944093: Added translation using Weblate (Sinhala) (r45xveza@pm.me) +- Translated using Weblate (Korean) (simmon@nplob.com) +- Added translation using Weblate (Sinhala) (r45xveza@pm.me) +- Added translation using Weblate (Sinhala) (r45xveza@pm.me) - 1927245: Mark several dir as part of RPM (jhnidek@redhat.com) * Thu Feb 18 2021 Christopher Snyder 1.28.13-1