import UBI subscription-manager-1.30.10.1-1.el10_1

This commit is contained in:
eabdullin 2025-11-11 22:18:51 +00:00
parent c12de547e7
commit fc3e90b8b1
3 changed files with 200 additions and 173 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
subscription-manager-1.30.6.1.tar.gz
subscription-manager-1.30.10.1.tar.gz

View File

@ -1 +1 @@
SHA512 (subscription-manager-1.30.6.1.tar.gz) = b4f3f41869ce32a9fc2d9eb7e4d8a4077e7174ae9cefab5e3b182dcff229c05eb2c7dcda5baa5f1d1a1ca5d9e26a94c87c6dab0a624c35c5c4011693964bd29e
SHA512 (subscription-manager-1.30.10.1.tar.gz) = 1aa23cf4000e92d7c71ceabf3c2f41926a5585e61df928125d7fe2bf42b50be8cdb6b01057126ae9416dd2c95c8c30cbd1f28416bef03e8aba7ab8763fa4083f

View File

@ -14,8 +14,6 @@
%global completion_dir %{_datadir}/bash-completion/completions
%global run_dir /run
%global rhsm_plugins_dir /usr/share/rhsm-plugins
%if 0%{?suse_version}
@ -24,17 +22,7 @@
%endif
%global use_dnf (0%{?fedora} || (0%{?rhel}))
%global create_libdnf_rpm (0%{?fedora} || 0%{?rhel} > 8)
%global python_sitearch %python3_sitearch
%global python_sitelib %python3_sitelib
%global __python %__python3
%if 0%{?suse_version}
%global py_package_prefix python3
%else
%global py_package_prefix python%{python3_pkgversion}
%endif
%global rhsm_package_name %{py_package_prefix}-subscription-manager-rhsm
%global create_libdnf_rpm (0%{?fedora} || 0%{?rhel})
%global _hardened_build 1
%{!?__global_ldflags: %global __global_ldflags -Wl,-z,relro -Wl,-z,now}
@ -95,7 +83,7 @@
%global exclude_packages %{exclude_packages}"
Name: subscription-manager
Version: 1.30.6.1
Version: 1.30.10.1
Release: 1%{?dist}
Summary: Tools and libraries for subscription and repository management
%if 0%{?suse_version}
@ -131,47 +119,52 @@ Source2: subscription-manager-rpmlintrc
# at the start of a line making meaningful indentation impossible.
Requires: iproute
Requires: %{py_package_prefix}-iniparse
Requires: %{py_package_prefix}-decorator
Requires: python3-iniparse
Requires: python3-decorator
Requires: virt-what
Requires: %{rhsm_package_name} = %{version}
Requires: python3-subscription-manager-rhsm = %{version}-%{release}
Requires: subscription-manager-rhsm-certificates
Requires(post): findutils
%ifarch %{dmidecode_arches}
Requires: dmidecode
%endif
%if 0%{?suse_version}
Requires: %{py_package_prefix}-python-dateutil
Requires: %{py_package_prefix}-dbus-python
Requires: python3-python-dateutil
Requires: python3-dbus-python
Requires: logrotate
Requires: cron
Requires: %{py_package_prefix}-gobject2
Requires: python3-gobject2
Requires: libzypp
Requires: %{py_package_prefix}-zypp-plugin
Requires: python3-zypp-plugin
%else
Requires: %{py_package_prefix}-dateutil
Requires: %{py_package_prefix}-dbus
Requires: python3-dateutil
Requires: python3-dbus
Requires: python3-gobject-base
%endif
# rhel 8 has different naming for setuptools going forward
# on newer rhels and Fedora setuptools is not needed on runtime at all
%if (0%{?rhel} && 0%{?rhel} == 8)
Requires: platform-python-setuptools
%endif
%if %{use_dnf}
BuildRequires: cmake
BuildRequires: gcc
BuildRequires: json-c-devel
BuildRequires: libdnf-devel >= 0.22.5
%if %{create_libdnf_rpm}
Requires: python3-dnf
Requires: python3-dnf-plugins-core
Requires: python3-librepo
# The libdnf plugin is in a separate RPM, but subscription-manager should be dependent
# on this RPM, because somebody can install microdnf on host and installing of product
# certs would not work as expected without libdnf plugin
Requires: libdnf-plugin-subscription-manager = %{version}-%{release}
# The dnf plugin is now part of subscription-manager
Obsoletes: dnf-plugin-subscription-manager < 1.29.0
%else
Requires: dnf-plugin-subscription-manager = %{version}
Requires: dnf-plugin-subscription-manager = %{version}-%{release}
%endif
%endif
%if %use_inotify
Requires: %{py_package_prefix}-inotify
Requires: python3-inotify
%endif
Requires(post): systemd
@ -180,22 +173,23 @@ Requires(postun): systemd
Requires: python3-cloud-what = %{version}-%{release}
BuildRequires: %{py_package_prefix}-devel
BuildRequires: python3-devel
BuildRequires: openssl-devel
BuildRequires: gcc
BuildRequires: %{py_package_prefix}-setuptools
BuildRequires: python3-setuptools
BuildRequires: gettext
BuildRequires: glib2-devel
BuildRequires: findutils
%if 0%{?suse_version}
BuildRequires: distribution-release
BuildRequires: libzypp
BuildRequires: systemd-rpm-macros
BuildRequires: python3-rpm-macros
BuildRequires: %{py_package_prefix}-python-dateutil
BuildRequires: python3-python-dateutil
%else
BuildRequires: system-release
BuildRequires: %{py_package_prefix}-dateutil
BuildRequires: python3-dateutil
%endif
BuildRequires: systemd
@ -210,18 +204,7 @@ Obsoletes: rhsm-gtk <= %{version}-%{release}
Obsoletes: subscription-manager-plugin-container <= %{version}
%endif
%if %{use_dnf}
%if %{create_libdnf_rpm}
# The libdnf plugin is in separate RPM, but shubscription-manager should be dependent
# on this RPM, because somebody can install microdnf on host and installing of product
# certs would not work as expected without libdnf plugin
Requires: libdnf-plugin-subscription-manager = %{version}
# The dnf plugin is now part of subscription-manager
Obsoletes: dnf-plugin-subscription-manager < 1.29.0
%endif
%endif
Obsoletes: %{py_package_prefix}-syspurpose <= %{version}
Obsoletes: python3-syspurpose <= %{version}
%description
The Subscription Manager package provides programs and libraries to allow users
@ -245,10 +228,6 @@ from the server. Populates /etc/docker/certs.d appropriately.
%if %{create_libdnf_rpm}
%package -n libdnf-plugin-subscription-manager
Summary: Subscription Manager plugin for libdnf
BuildRequires: cmake
BuildRequires: gcc
BuildRequires: json-c-devel
BuildRequires: libdnf-devel >= 0.22.5
Obsoletes: dnf-plugin-subscription-manager < 1.29.0
@ -263,13 +242,7 @@ e.g. microdnf.
%package -n dnf-plugin-subscription-manager
Summary: Subscription Manager plugins for DNF
%if (0%{?fedora} || 0%{?rhel})
BuildRequires: cmake
BuildRequires: gcc
BuildRequires: json-c-devel
BuildRequires: libdnf-devel >= 0.22.5
Requires: libdnf%{?_isa} >= 0.22.5
%endif
Requires: python3-dnf-plugins-core
Requires: python3-librepo
@ -281,18 +254,6 @@ from the Red Hat entitlement platform; contains subscription-manager and
product-id plugins.
%endif
# This redefinition of debuginfo package has to be here, because we
# need to solve the issue described in this BZ:
# https://bugzilla.redhat.com/show_bug.cgi?id=1920568
# We need to obsolete old dnf-sub-man-plugin-debuginfo RPM
%package -n libdnf-plugin-subscription-manager-debuginfo
Summary: Debug information for package libdnf-plugin-subscription-manager
Obsoletes: dnf-plugin-subscription-manager-debuginfo < 1.29.0
%description -n libdnf-plugin-subscription-manager-debuginfo
This package provides debug information for package libdnf-plugin-subscription-manager.
Debug information is useful when developing applications that use this
package or when debugging this package.
%endif
@ -300,9 +261,9 @@ package or when debugging this package.
%package -n subscription-manager-plugin-ostree
Summary: A plugin for handling OSTree content.
Requires: %{py_package_prefix}-gobject-base
Requires: python3-gobject-base
# plugin needs a slightly newer version of python-iniparse for 'tidy'
Requires: %{py_package_prefix}-iniparse >= 0.4
Requires: python3-iniparse >= 0.4
Requires: %{name}%{?_isa} = %{version}-%{release}
%description -n subscription-manager-plugin-ostree
@ -312,7 +273,7 @@ the remote in the currently deployed .origin file.
%endif
%package -n %{rhsm_package_name}
%package -n python3-subscription-manager-rhsm
Summary: A Python library to communicate with a Red Hat Unified Entitlement Platform
%if 0%{?suse_version}
Group: Development/Libraries/Python
@ -320,14 +281,14 @@ Group: Development/Libraries/Python
%if 0%{?suse_version}
Requires: %{py_package_prefix}-python-dateutil
Requires: python3-python-dateutil
%else
Requires: %{py_package_prefix}-dateutil
Requires: python3-dateutil
%endif
Requires: %{py_package_prefix}-iniparse
Requires: python3-iniparse
Requires: subscription-manager-rhsm-certificates
# Required by Fedora packaging guidelines
%{?python_provide:%python_provide %{py_package_prefix}-rhsm}
%{?python_provide:%python_provide python3-rhsm}
Requires: python3-cloud-what = %{version}-%{release}
Requires: python3-rpm
Provides: python3-rhsm = %{version}-%{release}
@ -335,7 +296,7 @@ Obsoletes: python3-rhsm <= 1.20.3-1
Provides: python-rhsm = %{version}-%{release}
Obsoletes: python-rhsm <= 1.20.3-1
%description -n %{rhsm_package_name}
%description -n python3-subscription-manager-rhsm
A small library for communicating with the REST interface of a Red Hat Unified
Entitlement Platform. This interface is used for the management of system
entitlements, certificates, and access to content.
@ -362,27 +323,23 @@ cloud metadata and signatures.
%build
make -f Makefile VERSION=%{version}-%{release} CFLAGS="%{optflags}" \
LDFLAGS="%{__global_ldflags}" OS_DIST="%{dist}" PYTHON="%{__python}" \
LDFLAGS="%{__global_ldflags}" OS_DIST="%{dist}" PYTHON="%{__python3}" \
%{?subpackages} %{exclude_packages}
%if %{use_dnf}
pushd src/plugins/libdnf
%cmake -DCMAKE_BUILD_TYPE="Release"
%if (0%{?rhel} && 0%{?rhel} <= 8)
%make_build
%else
%cmake_build
%endif
popd
%endif
%install
make -f Makefile install VERSION=%{version}-%{release} \
PYTHON=%{__python} PREFIX=%{_prefix} \
DESTDIR=%{buildroot} PYTHON_SITELIB=%{python_sitearch} \
PYTHON=%{__python3} PREFIX=%{_prefix} \
DESTDIR=%{buildroot} PYTHON_SITELIB=%{python3_sitearch} \
OS_VERSION=%{?fedora}%{?rhel}%{?suse_version} OS_DIST=%{dist} \
COMPLETION_DIR=%{completion_dir} \
RUN_DIR=%{run_dir} \
RUN_DIR=%{_rundir} \
SBIN_DIR=%{_sbindir} \
%{?install_ostree} %{?install_container} \
%{?install_dnf_plugins} \
@ -393,11 +350,7 @@ make -f Makefile install VERSION=%{version}-%{release} \
%if %{use_dnf}
pushd src/plugins/libdnf
mkdir -p %{buildroot}%{_libdir}/libdnf/plugins
%if (0%{?rhel} && 0%{?rhel} <= 8)
%make_install
%else
%cmake_install
%endif
popd
%endif
@ -458,19 +411,19 @@ find %{buildroot} -name \*.py* -exec touch -r %{SOURCE0} '{}' \;
%endif
%dir %{python_sitearch}/rhsmlib/candlepin
%dir %{python_sitearch}/rhsmlib/dbus
%dir %{python_sitearch}/rhsmlib/dbus/facts
%dir %{python_sitearch}/rhsmlib/dbus/objects
%dir %{python_sitearch}/rhsmlib/facts
%dir %{python_sitearch}/rhsmlib/services
%dir %{python_sitearch}/subscription_manager-%{version}-*.egg-info
%dir %{python_sitearch}/subscription_manager/api
%dir %{python_sitearch}/subscription_manager/branding
%dir %{python_sitearch}/subscription_manager/cli_command
%dir %{python_sitearch}/subscription_manager/model
%dir %{python_sitearch}/subscription_manager/plugin
%dir %{python_sitearch}/subscription_manager/scripts
%dir %{python3_sitearch}/rhsmlib/candlepin
%dir %{python3_sitearch}/rhsmlib/dbus
%dir %{python3_sitearch}/rhsmlib/dbus/facts
%dir %{python3_sitearch}/rhsmlib/dbus/objects
%dir %{python3_sitearch}/rhsmlib/facts
%dir %{python3_sitearch}/rhsmlib/services
%dir %{python3_sitearch}/subscription_manager-%{version}-*.egg-info
%dir %{python3_sitearch}/subscription_manager/api
%dir %{python3_sitearch}/subscription_manager/branding
%dir %{python3_sitearch}/subscription_manager/cli_command
%dir %{python3_sitearch}/subscription_manager/model
%dir %{python3_sitearch}/subscription_manager/plugin
%dir %{python3_sitearch}/subscription_manager/scripts
%dir %{_var}/spool/rhsm
%attr(755,root,root) %{_sbindir}/subscription-manager
@ -506,7 +459,7 @@ find %{buildroot} -name \*.py* -exec touch -r %{SOURCE0} '{}' \;
%attr(755,root,root) %dir %{_var}/log/rhsm
%attr(755,root,root) %dir %{_var}/spool/rhsm/debug
%ghost %attr(755,root,root) %dir %{run_dir}/rhsm
%ghost %attr(755,root,root) %dir %{_rundir}/rhsm
%attr(750,root,root) %dir %{_var}/lib/rhsm
%attr(750,root,root) %dir %{_var}/lib/rhsm/facts
%attr(750,root,root) %dir %{_var}/lib/rhsm/packages
@ -520,24 +473,24 @@ find %{buildroot} -name \*.py* -exec touch -r %{SOURCE0} '{}' \;
%{_sysusersdir}/rhsm.conf
%dir %{python_sitearch}/subscription_manager
%dir %{python3_sitearch}/subscription_manager
# code, python modules and packages
%{python_sitearch}/subscription_manager-*.egg-info/*
%{python_sitearch}/subscription_manager/*.py*
%{python_sitearch}/subscription_manager/api/*.py*
%{python_sitearch}/subscription_manager/branding/*.py*
%{python_sitearch}/subscription_manager/cli_command/*.py*
%{python_sitearch}/subscription_manager/model/*.py*
%{python_sitearch}/subscription_manager/plugin/__init__.py*
%{python_sitearch}/subscription_manager/scripts/*.py*
%{python_sitearch}/subscription_manager/__pycache__
%{python_sitearch}/subscription_manager/api/__pycache__
%{python_sitearch}/subscription_manager/branding/__pycache__
%{python_sitearch}/subscription_manager/cli_command/__pycache__
%{python_sitearch}/subscription_manager/model/__pycache__
%{python_sitearch}/subscription_manager/plugin/__pycache__
%{python_sitearch}/subscription_manager/scripts/__pycache__
%{python3_sitearch}/subscription_manager-*.egg-info/*
%{python3_sitearch}/subscription_manager/*.py*
%{python3_sitearch}/subscription_manager/api/*.py*
%{python3_sitearch}/subscription_manager/branding/*.py*
%{python3_sitearch}/subscription_manager/cli_command/*.py*
%{python3_sitearch}/subscription_manager/model/*.py*
%{python3_sitearch}/subscription_manager/plugin/__init__.py*
%{python3_sitearch}/subscription_manager/scripts/*.py*
%{python3_sitearch}/subscription_manager/__pycache__
%{python3_sitearch}/subscription_manager/api/__pycache__
%{python3_sitearch}/subscription_manager/branding/__pycache__
%{python3_sitearch}/subscription_manager/cli_command/__pycache__
%{python3_sitearch}/subscription_manager/model/__pycache__
%{python3_sitearch}/subscription_manager/plugin/__pycache__
%{python3_sitearch}/subscription_manager/scripts/__pycache__
# subscription-manager plugins
%dir %{rhsm_plugins_dir}
@ -545,30 +498,30 @@ find %{buildroot} -name \*.py* -exec touch -r %{SOURCE0} '{}' \;
# When libdnf rpm is created, then dnf plugin is part of subscription-manager rpm
%if %{create_libdnf_rpm}
%{python_sitelib}/dnf-plugins/*
%{python3_sitelib}/dnf-plugins/*
%endif
# rhsmlib
%dir %{python_sitearch}/rhsmlib
%{python_sitearch}/rhsmlib/*.py*
%{python_sitearch}/rhsmlib/candlepin/*.py*
%{python_sitearch}/rhsmlib/facts/*.py*
%{python_sitearch}/rhsmlib/services/*.py*
%{python_sitearch}/rhsmlib/dbus/*.py*
%{python_sitearch}/rhsmlib/dbus/facts/*.py*
%{python_sitearch}/rhsmlib/dbus/objects/*.py*
%{python_sitearch}/rhsmlib/__pycache__
%{python_sitearch}/rhsmlib/candlepin/__pycache__
%{python_sitearch}/rhsmlib/dbus/__pycache__
%{python_sitearch}/rhsmlib/dbus/facts/__pycache__
%{python_sitearch}/rhsmlib/dbus/objects/__pycache__
%{python_sitearch}/rhsmlib/facts/__pycache__
%{python_sitearch}/rhsmlib/services/__pycache__
%dir %{python3_sitearch}/rhsmlib
%{python3_sitearch}/rhsmlib/*.py*
%{python3_sitearch}/rhsmlib/candlepin/*.py*
%{python3_sitearch}/rhsmlib/facts/*.py*
%{python3_sitearch}/rhsmlib/services/*.py*
%{python3_sitearch}/rhsmlib/dbus/*.py*
%{python3_sitearch}/rhsmlib/dbus/facts/*.py*
%{python3_sitearch}/rhsmlib/dbus/objects/*.py*
%{python3_sitearch}/rhsmlib/__pycache__
%{python3_sitearch}/rhsmlib/candlepin/__pycache__
%{python3_sitearch}/rhsmlib/dbus/__pycache__
%{python3_sitearch}/rhsmlib/dbus/facts/__pycache__
%{python3_sitearch}/rhsmlib/dbus/objects/__pycache__
%{python3_sitearch}/rhsmlib/facts/__pycache__
%{python3_sitearch}/rhsmlib/services/__pycache__
# syspurpose
%dir %{python_sitearch}/syspurpose
%{python_sitearch}/syspurpose/*.py*
%{python_sitearch}/syspurpose/__pycache__
%dir %{python3_sitearch}/syspurpose
%{python3_sitearch}/syspurpose/*.py*
%{python3_sitearch}/syspurpose/__pycache__
%{_datadir}/polkit-1/actions/com.redhat.*.policy
%{_datadir}/dbus-1/system-services/com.redhat.*.service
@ -580,15 +533,15 @@ find %{buildroot} -name \*.py* -exec touch -r %{SOURCE0} '{}' \;
%attr(644,root,root) %{_tmpfilesdir}/%{name}.conf
# Incude rt CLI tool
%dir %{python_sitearch}/rct
%{python_sitearch}/rct/*.py*
%{python_sitearch}/rct/__pycache__
%dir %{python3_sitearch}/rct
%{python3_sitearch}/rct/*.py*
%{python3_sitearch}/rct/__pycache__
%attr(755,root,root) %{_bindir}/rct
# Include consumer debug CLI tool
%dir %{python_sitearch}/rhsm_debug
%{python_sitearch}/rhsm_debug/*.py*
%{python_sitearch}/rhsm_debug/__pycache__
%dir %{python3_sitearch}/rhsm_debug
%{python3_sitearch}/rhsm_debug/*.py*
%{python3_sitearch}/rhsm_debug/__pycache__
%attr(755,root,root) %{_bindir}/rhsm-debug
%doc
@ -605,8 +558,8 @@ find %{buildroot} -name \*.py* -exec touch -r %{SOURCE0} '{}' \;
%{_sysconfdir}/rhsm/pluginconf.d/container_content.ContainerContentPlugin.conf
%{rhsm_plugins_dir}/container_content.py*
%{rhsm_plugins_dir}/__pycache__/*container*
%{python_sitearch}/subscription_manager/plugin/container/__pycache__
%{python_sitearch}/subscription_manager/plugin/container/*.py*
%{python3_sitearch}/subscription_manager/plugin/container/__pycache__
%{python3_sitearch}/subscription_manager/plugin/container/*.py*
# Copying Red Hat CA cert into each directory:
%attr(755,root,root) %dir %{_sysconfdir}/docker/certs.d/cdn.redhat.com
@ -618,8 +571,8 @@ find %{buildroot} -name \*.py* -exec touch -r %{SOURCE0} '{}' \;
%defattr(-,root,root,-)
%{_sysconfdir}/rhsm/pluginconf.d/ostree_content.OstreeContentPlugin.conf
%{rhsm_plugins_dir}/ostree_content.py*
%{python_sitearch}/subscription_manager/plugin/ostree/*.py*
%{python_sitearch}/subscription_manager/plugin/ostree/__pycache__
%{python3_sitearch}/subscription_manager/plugin/ostree/*.py*
%{python3_sitearch}/subscription_manager/plugin/ostree/__pycache__
%{rhsm_plugins_dir}/__pycache__/*ostree*
%endif
@ -634,26 +587,26 @@ find %{buildroot} -name \*.py* -exec touch -r %{SOURCE0} '{}' \;
# DNF RPM
%files -n dnf-plugin-subscription-manager
%defattr(-,root,root,-)
%{python_sitelib}/dnf-plugins/*
%{python3_sitelib}/dnf-plugins/*
%{_libdir}/libdnf/plugins/product-id.so
%endif
%endif
%files -n %{rhsm_package_name}
%files -n python3-subscription-manager-rhsm
%defattr(-,root,root,-)
%dir %{python_sitearch}/rhsm
%{python_sitearch}/rhsm/*
%dir %{python3_sitearch}/rhsm
%{python3_sitearch}/rhsm/*
%files -n python3-cloud-what
%defattr(-,root,root,-)
%attr(750,root,root) %dir %{_var}/cache/cloud-what
%dir %{python_sitearch}/cloud_what
%dir %{python_sitearch}/cloud_what/providers
%{python_sitearch}/cloud_what/*.py*
%{python_sitearch}/cloud_what/providers/*.py*
%{python_sitearch}/cloud_what/__pycache__
%{python_sitearch}/cloud_what/providers/__pycache__
%dir %{python3_sitearch}/cloud_what
%dir %{python3_sitearch}/cloud_what/providers
%{python3_sitearch}/cloud_what/*.py*
%{python3_sitearch}/cloud_what/providers/*.py*
%{python3_sitearch}/cloud_what/__pycache__
%{python3_sitearch}/cloud_what/providers/__pycache__
%pre
@ -674,15 +627,6 @@ find %{buildroot} -name \*.py* -exec touch -r %{SOURCE0} '{}' \;
%systemd_post rhsmcertd.service
%endif
# When subscription-manager is upgraded on RHEL 8 (from RHEL 8.2 to RHEL 8.3), then kill
# instance of rhsmd, because it is not necessary anymore and it can cause issues.
# See: https://bugzilla.redhat.com/show_bug.cgi?id=1840364
%if ( 0%{?rhel} || 0%{?fedora} )
if [ "$1" = "2" ] ; then
killall rhsmd 2> /dev/null || true
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
@ -697,7 +641,7 @@ fi
%if %{use_container_plugin}
%post -n subscription-manager-plugin-container
%{__python} %{rhsm_plugins_dir}/container_content.py || :
%{__python3} %{rhsm_plugins_dir}/container_content.py || :
%endif
%preun
@ -728,17 +672,100 @@ fi
%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
rmdir %{python3_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 Jun 05 2025 Jiri Hnidek <jhnidek@redhat.com> 1.30.6.1-1
* Wed Oct 01 2025 Jiri Hnidek <jhnidek@redhat.com> 1.30.10.1-1
- fix: [1.30.10] Require findutils in .spec file (jhnidek@redhat.com)
* Wed Jul 30 2025 Jiri Hnidek <jhnidek@redhat.com> 1.30.10-1
- Translated using Weblate (Georgian) (temuri.doghonadze@gmail.com)
- Translated using Weblate (Spanish) (fserrador@gmail.com)
- Translated using Weblate (Spanish) (jsefler@redhat.com)
- Translated using Weblate (Korean) (simmon@nplob.com)
- fix: Wait random time before reaching IMDS server (jhnidek@redhat.com)
- CCT-745: added properties for multi org environment (#3589)
(jstavel@redhat.com)
* Wed Jul 23 2025 Jiri Hnidek <jhnidek@redhat.com> 1.30.9-1
- feat: Call random.seed() at begining of auto-register (jhnidek@redhat.com)
- feat: Better control over auto-reg waiting game (jhnidek@redhat.com)
* Mon Jul 14 2025 Jiri Hnidek <jhnidek@redhat.com> 1.30.8-1
- fix: Enable content during auto-registration v2 (jhnidek@redhat.com)
- CCT-1490: blackified repolib.py (jstavel@redhat.com)
- CCT-1473: new url for local candlepin image, fixed register test (#3580)
(jstavel@redhat.com)
- fix: Create consumer cert & key, when chown failed (jhnidek@redhat.com)
- Skip to load default plugins on suse/sles (suttner@atix.de)
- CCT-739: tests for GetUuid method (jstavel@redhat.com)
- feat: Added warning to dnf4 plugin about skewed clock (jhnidek@redhat.com)
- CCT-1081 FEAT Remove unused classes and functions - including
Conduits/Slots/Hooks for pre/post_subscribe Remove "pre_subscribe" and
"post_subscribe" plugin slots by removing classes SubscriptionConduit and
PostSubscriptionConduit. (mgrunwal@redhat.com)
- Fix upload profile if rhsmcertd is not running at all (suttner@atix.de)
- chore: Drop get_status_for_icon (mhorky@redhat.com)
- chore: Remove getCompliance method from connection.py (mhorky@redhat.com)
- chore: Clean up compliance status of ComplianceManager (mhorky@redhat.com)
- chore: Hardcode SCA-relevant values to ComplianceManager (mhorky@redhat.com)
- chore: Drop HTTP call to /consumers/{uuid}/compliance (mhorky@redhat.com)
- feat: adding sourcery config (jmolet@redhat.com)
* Wed May 14 2025 Jiri Hnidek <jhnidek@redhat.com> 1.30.7-1
- Translated using Weblate (Georgian) (temuri.doghonadze@gmail.com)
- Translated using Weblate (Italian) (noreply-mt-weblate-translation-
memory@weblate.org)
- Translated using Weblate (Italian) (info@salvatorecocuzza.it)
- Translated using Weblate (Spanish) (fserrador@gmail.com)
- Translated using Weblate (Chinese (Traditional) (zh_TW)) (chzang55@gmail.com)
- Translated using Weblate (Chinese (Traditional) (zh_TW)) (noreply-mt-weblate-
translation-memory@weblate.org)
- Translated using Weblate (Chinese (Traditional) (zh_TW)) (chzang55@gmail.com)
- Translated using Weblate (Japanese) (mhorky@redhat.com)
- Translated using Weblate (French) (leane.grasser@proton.me)
- fix: Unit test should ignore locale, when generating test timestamp
(jhnidek@redhat.com)
- fix: Handle improperly closed connections (mhorky@redhat.com)
- ci: drop Fedora from testing OSes (ptoscano@redhat.com)
- test: Added integration tests for activation keys (jstavel@redhat.com)
- test: Integration tests for DBus Unregister call (jhnidek@redhat.com)
- fix: Do not call removed bash script from tesh.sh (jhnidek@redhat.com)
- spec: drop old libdnf-plugin-subscription-manager-debuginfo definition
(ptoscano@redhat.com)
- spec: switch from an own run_dir to _rundir (ptoscano@redhat.com)
- spec: switch from python_sitelib to python3_sitelib (ptoscano@redhat.com)
- spec: switch from python_sitearch to python3_sitearch (ptoscano@redhat.com)
- spec: inline & drop rhsm_package_name (ptoscano@redhat.com)
- spec: switch from __python to __python3 (ptoscano@redhat.com)
- spec: inline & drop py_package_prefix (ptoscano@redhat.com)
- spec: remove redundant check (ptoscano@redhat.com)
- spec: deduplicate BuildRequires for use_dnf (ptoscano@redhat.com)
- spec: drop old %%post snippet for rhsmd (ptoscano@redhat.com)
- spec: drop EL 8 bits (ptoscano@redhat.com)
- ci: tweak the dependabot config for branches a bit (ptoscano@redhat.com)
- feat: remove no more needed branding strings (ptoscano@redhat.com)
- feat: drop ClassicCheck (ptoscano@redhat.com)
- ci: track also active stable branches with dependabot for GitHub actions
(ptoscano@redhat.com)
- tests: update location of pytest-client-tools (ptoscano@redhat.com)
- Handle URL params for AptRepoFiles (grigo@atix.de)
- fix: Append two additional facts to the graylist (pkoprda@redhat.com)
- refactor: Use class constant instead of variable graylist
(pkoprda@redhat.com)
- spec: Require subpackages from the same build as the base package
(debarshir@gnome.org)
- spec: Consolidate dependencies on the DNF & libdnf plugins in one place
(debarshir@gnome.org)
- spec: Fix grammar and spelling mistakes (debarshir@gnome.org)
- build: use cmake pkg-config imported targets (ptoscano@redhat.com)
- build: fix order of parameters for pkg_check_modules() (ptoscano@redhat.com)
- build: drop manual setting of -std=c99 (ptoscano@redhat.com)
- build: remove check for in source cmake builddir (ptoscano@redhat.com)
- build: bump cmake required version to 3.20 (ptoscano@redhat.com)
* Thu Mar 06 2025 Pino Toscano <ptoscano@redhat.com> 1.30.6-1
- Translated using Weblate (Italian) (toscano.pino@tiscali.it)