import CS subscription-manager-1.30.6-1.el10

This commit is contained in:
eabdullin 2025-03-27 13:12:52 +00:00
parent f95cdd0ed2
commit dcfaf80257
3 changed files with 159 additions and 16 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
subscription-manager-1.30.1.tar.gz
subscription-manager-1.30.6.tar.gz

View File

@ -1 +1 @@
SHA512 (subscription-manager-1.30.1.tar.gz) = dd8736098eae91577fc41a1c2313f91807a684bf644e2f86db918b9b14da26859918ece61789d33a1ee41fd71574c09157be91d350cd77481f2271b9411bb196
SHA512 (subscription-manager-1.30.6.tar.gz) = 9122fc3c331aa883ce2ec5d2a188c611475c2059af267101dead14fce57be40fbb20b5998b8dad4db06547d9bbc3ef1c2ae1563b3f0b426fb42d791d393f470b

View File

@ -95,7 +95,7 @@
%global exclude_packages %{exclude_packages}"
Name: subscription-manager
Version: 1.30.1
Version: 1.30.6
Release: 1%{?dist}
Summary: Tools and libraries for subscription and repository management
%if 0%{?suse_version}
@ -151,7 +151,6 @@ Requires: %{py_package_prefix}-zypp-plugin
%else
Requires: %{py_package_prefix}-dateutil
Requires: %{py_package_prefix}-dbus
Requires: usermode
Requires: python3-gobject-base
%endif
@ -233,7 +232,7 @@ platform.
%if %{use_container_plugin}
%package -n subscription-manager-plugin-container
Summary: A plugin for handling container content
Requires: %{name} = %{version}-%{release}
Requires: %{name}%{?_isa} = %{version}-%{release}
%description -n subscription-manager-plugin-container
Enables handling of content of type 'containerImage' in any certificates
@ -269,8 +268,7 @@ BuildRequires: cmake
BuildRequires: gcc
BuildRequires: json-c-devel
BuildRequires: libdnf-devel >= 0.22.5
Requires: json-c
Requires: libdnf >= 0.22.5
Requires: libdnf%{?_isa} >= 0.22.5
%endif
Requires: python3-dnf-plugins-core
@ -305,7 +303,7 @@ Summary: A plugin for handling OSTree content.
Requires: %{py_package_prefix}-gobject-base
# plugin needs a slightly newer version of python-iniparse for 'tidy'
Requires: %{py_package_prefix}-iniparse >= 0.4
Requires: %{name} = %{version}-%{release}
Requires: %{name}%{?_isa} = %{version}-%{release}
%description -n subscription-manager-plugin-ostree
Enables handling of content of type 'ostree' in any certificates
@ -385,6 +383,7 @@ make -f Makefile install VERSION=%{version}-%{release} \
OS_VERSION=%{?fedora}%{?rhel}%{?suse_version} OS_DIST=%{dist} \
COMPLETION_DIR=%{completion_dir} \
RUN_DIR=%{run_dir} \
SBIN_DIR=%{_sbindir} \
%{?install_ostree} %{?install_container} \
%{?install_dnf_plugins} \
%{?install_zypper_plugins} \
@ -457,14 +456,6 @@ find %{buildroot} -name \*.py* -exec touch -r %{SOURCE0} '{}' \;
%{_sbindir}/rcrhsm-facts
%{_sbindir}/rcrhsmcertd
%else
# symlink to console-helper
%{_bindir}/subscription-manager
# PAM config
%{_sysconfdir}/pam.d/subscription-manager
%{_sysconfdir}/security/console.apps/subscription-manager
%endif
%dir %{python_sitearch}/rhsmlib/candlepin
@ -527,6 +518,8 @@ find %{buildroot} -name \*.py* -exec touch -r %{SOURCE0} '{}' \;
%{completion_dir}/rhsm-debug
%{completion_dir}/rhsmcertd
%{_sysusersdir}/rhsm.conf
%dir %{python_sitearch}/subscription_manager
# code, python modules and packages
@ -690,6 +683,10 @@ if [ "$1" = "2" ] ; then
fi
%endif
# Make all consumer certificates and keys readable by group rhsm
find /etc/pki/consumer -mindepth 1 -maxdepth 1 -name '*.pem' | xargs --no-run-if-empty chgrp rhsm
find /etc/pki/consumer -mindepth 1 -maxdepth 1 -name '*.pem' | xargs --no-run-if-empty chmod g+r
# Make all entitlement certificates and keys files readable by group and other
find /etc/pki/entitlement -mindepth 1 -maxdepth 1 -name '*.pem' | xargs --no-run-if-empty chmod go+r
@ -728,14 +725,160 @@ fi
%endif
%posttrans
%systemd_posttrans_with_restart rhsm.service
# Remove old *.egg-info empty directories not removed be previous versions of RPMs
# due to this BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1927245
rmdir %{python_sitearch}/subscription_manager-*-*.egg-info --ignore-fail-on-non-empty
# Remove old cache files
# The -f flag ensures that exit code 0 will be returned even if the file does not exist.
rm -f /var/lib/rhsm/cache/rhsm_icon.json
rm -f /var/lib/rhsm/cache/content_access_mode.json
%changelog
* Thu Mar 06 2025 Pino Toscano <ptoscano@redhat.com> 1.30.6-1
- Translated using Weblate (Italian) (toscano.pino@tiscali.it)
- Translated using Weblate (Japanese) (ptoscano@redhat.com)
- Translated using Weblate (Georgian) (temuri.doghonadze@gmail.com)
- Translated using Weblate (French) (leane.grasser@proton.me)
- Translated using Weblate (Korean) (simmon@nplob.com)
- Translated using Weblate (Korean) (noreply-mt-weblate-translation-
memory@weblate.org)
- Translated using Weblate (Korean) (simmon@nplob.com)
- Update translation files (noreply@weblate.org)
- spec: Remove an unnecessary explicit dependency on json-c
(debarshir@gnome.org)
- spec: Require shared libraries with architecture-specific dependencies
(debarshir@gnome.org)
- Revert "ci: temporarily install 'which' on CentOS Stream 10"
(ptoscano@redhat.com)
- build: cockpit: fix installation of sub-man with newer Fedora
(ptoscano@redhat.com)
- spec: Require the base package with architecture-specific dependencies
(debarshir@gnome.org)
- New extraction for translatable strings (ptoscano@redhat.com)
- feat: drop the --ondate option of "status" (ptoscano@redhat.com)
- feat: drop non-SCA support in status command (ptoscano@redhat.com)
- tests: fix mocking of get_terminal_width() in TestColumnize
(ptoscano@redhat.com)
- feat: print compliance errors & syspurpose status only in entitlement mode
(ptoscano@redhat.com)
- feat: print "registered" as status when using SCA (ptoscano@redhat.com)
- feat: print "not registered" on status when not registered
(ptoscano@redhat.com)
- tests: force syspurpose tests in test_status to non-SCA (ptoscano@redhat.com)
- refactor: move determination of content access mode in own method
(ptoscano@redhat.com)
- tests: move StubIdentity to stubs (ptoscano@redhat.com)
- tests: cleanup dead/broken bits in test_status (ptoscano@redhat.com)
- chore: move banner printing to its own function (ptoscano@redhat.com)
* Tue Feb 04 2025 Pino Toscano <ptoscano@redhat.com> 1.30.5-1
- fix: Disabling of content in D-Bus methods Register*() (jhnidek@redhat.com)
- chore: logging.warn() -> logging.warning() (ptoscano@redhat.com)
- Feat CCT-467: Add explanatory info about the source of overrides in repo-
overrides command (mgrunwal@mgrunwal-thinkpadp1gen3.rmtcz.csb)
- feat: Allow to call RegisterWithActivationKeys() with enable_content
(jhnidek@redhat.com)
- refactor: Small changes of _enable_content (jhnidek@redhat.com)
- fix: It is possible to disable content using enable_content option
(jhnidek@redhat.com)
* Wed Jan 22 2025 Pino Toscano <ptoscano@redhat.com> 1.30.4-1
- Revert "feat: Disable anonymous cloud registration temporarily"
(ptoscano@redhat.com)
- Revert "feat: forcefully switch automatic cloud registration to v1"
(ptoscano@redhat.com)
- Translated using Weblate (Chinese (Simplified) (zh_CN)) (ptoscano@redhat.com)
- Translated using Weblate (Georgian) (temuri.doghonadze@gmail.com)
- Translated using Weblate (Korean) (simmon@nplob.com)
- Translated using Weblate (Italian) (toscano.pino@tiscali.it)
- Translated using Weblate (French) (leane.grasser@proton.me)
- Translated using Weblate (Georgian) (noreply-mt-weblate-translation-
memory@weblate.org)
- Update translation files (noreply@weblate.org)
- spec: respect the %%{_sbindir} of the distro (ptoscano@redhat.com)
- build: make it possible to customize the 'sbin' install dir
(ptoscano@redhat.com)
- fix: Restart rhsm service after installation (pkoprda@redhat.com)
- Drop pam_console leftovers (ptoscano@redhat.com)
- Stop using usermode (ptoscano@redhat.com)
- fix: Do not upload profile from DNF, when it is disabled in conf
(jhnidek@redhat.com)
- rhsmcertd: use ISO 8601 timestamps for the log file (ptoscano@redhat.com)
- rhsmcertd: refactor timestamp function (ptoscano@redhat.com)
- ci: temporarily install 'which' on CentOS Stream 10 (ptoscano@redhat.com)
- New extraction for translatable strings (ptoscano@redhat.com)
- ci: use official c10s container image (ptoscano@redhat.com)
- Translated using Weblate (Italian) (info@salvatorecocuzza.it)
- Translated using Weblate (French) (leane.grasser@proton.me)
- Translated using Weblate (German) (atalanttore@googlemail.com)
- Translated using Weblate (Korean) (simmon@nplob.com)
- feat: Enable register with environment names and environment types
(jhnidek@redhat.com)
* Thu Dec 19 2024 Jiri Hnidek <jhnidek@redhat.com> 1.30.3-1
- Card ID: CCT-731 - integration tests for DBus Register method
(jstavel@redhat.com)
- chore: Remove the --token authentication (pkoprda@redhat.com)
- chore: Remove artifacts of import (stomsa@redhat.com)
- chore: Remove artifacts of redeem (stomsa@redhat.com)
- chore: Remove artifacts of remove (stomsa@redhat.com)
- chore: Remove artifacts of autoheal (glutexo@icloud.com)
- chore: Remove artifacts of --auto-attach (glutexo@icloud.com)
- chore: Remove artifacts of attach (stomsa@redhat.com)
- fix: Added missing python packages (jhnidek@redhat.com)
- fix: Fixed integration tests (jhnidek@redhat.com)
- chore: Remove auto-assign CI job (mhorky@redhat.com)
- feat: Add initial support for tmt (jhnidek@redhat.com)
- fix: Renamed integration-tests to cockpit-tests (jhnidek@redhat.com)
- Feat CCT-965: Include timezone in the logs In `subscription-
manager/src/rhsm/logutil.py`i: (mgrunwal@redhat.com)
- feat: remove content access mode cache (jajerome@redhat.com)
- feat: add GetEnvironments method to DBus register (ryanverdile@gmail.com)
- feat: Added basic configuration for Packit (jhnidek@redhat.com)
- fix: drop "autoattachinterval" from the rhsmcertd defaults
(ptoscano@redhat.com)
- feat/cct-875: Options -i and --cert-interval were removed from rhsmcertd
command autocompletion Options -i and --cert-interval were removed from
rhsmcertd command autocompletion. (mgrunwal@mgrunwal-
thinkpadp1gen3.rmtcz.csb)
- feat/cct-874: Autocompletion for option --servicelevel removed Autocompletion
for option --servicelevel (sub-man register --servicelevel) was removed.
(mgrunwal@mgrunwal-thinkpadp1gen3.rmtcz.csb)
- fix: Handle Retry-After headers better for 429 responses (mhorky@redhat.com)
- feat: Better automatic registration logging (mhorky@redhat.com)
- refactor: Moved some definition of lists from list.py (jhnidek@redhat.com)
- fix: Removed show_autosubscribe_output() method (jhnidek@redhat.com)
- feat: Remove useless CLI options from list command (jhnidek@redhat.com)
- fix: perform autoreg waiting when performing standard autoreg
(ptoscano@redhat.com)
- chore: move autoreg waiting code in own function (ptoscano@redhat.com)
- feat: support registering specifying environments with activation keys
(ryanverdile@gmail.com)
- feat: Remove autoheal functionality from rhsmcertd (jvlcek@redhat.com)
* Thu Sep 26 2024 Pino Toscano <ptoscano@redhat.com> 1.30.2-1
- Translated using Weblate (Georgian) (temuri.doghonadze@gmail.com)
- feat: Create consumer cert & key owner by rhsm group (jhnidek@redhat.com)
- feat: Add rhsm group during installation of subman RPM (jhnidek@redhat.com)
- feat: dnf plugin - outsource uploading of profile to rhsmcertd.
(jhnidek@redhat.com)
- docs: remove references to removed commands (jajerome@redhat.com)
- feat: Remove auto-attach command (jhnidek@redhat.com)
- feat: Eliminate command 'remove' from subscription-manager
(jvlcek@redhat.com)
- feat: Remove attach from bash completion script (jhnidek@redhat.com)
- feat: Remove references on auto-attach in man page (jhnidek@redhat.com)
- feat: Removed attach service (jhnidek@redhat.com)
- feat: Removed D-Bus methods related to attach (jhnidek@redhat.com)
- feat: Removed attach command and CLI option related to attach
(jhnidek@redhat.com)
- feat: Remove 'addons' subcommand(s) (mhorky@redhat.com)
- feat: Removed command "redeem" from subscription-manager (jhnidek@redhat.com)
- Update the correct man page file. (jvlcek@redhat.com)
- docs: Change reverse proxy to proxy in man page (jvlcek@redhat.com)
- test(ci): Improve container pre-test script (mhorky@redhat.com)
* Wed Aug 21 2024 Pino Toscano <ptoscano@redhat.com> 1.30.1-1
- feat: forcefully switch automatic cloud registration to v1
(ptoscano@redhat.com)