Import from AlmaLinux stable repository

This commit is contained in:
eabdullin 2024-05-15 06:58:32 +00:00
parent 0bdf9149a6
commit defc3a1952
3 changed files with 46 additions and 12 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
SOURCES/subscription-manager-1.29.38.tar.gz
SOURCES/subscription-manager-1.29.40.tar.gz

View File

@ -1 +1 @@
711306cb958fd5b645191e8e35aebc432818501d SOURCES/subscription-manager-1.29.38.tar.gz
79971108b37f2e6535b899f9dfb9fc61a5f1f1bd SOURCES/subscription-manager-1.29.40.tar.gz

View File

@ -95,7 +95,7 @@
%global exclude_packages %{exclude_packages}"
Name: subscription-manager
Version: 1.29.38
Version: 1.29.40
Release: 1%{?dist}.alma.1
Summary: Tools and libraries for subscription and repository management
%if 0%{?suse_version}
@ -113,10 +113,8 @@ URL: http://www.candlepinproject.org/
# tito build --tag subscription-manager-$VERSION-$RELEASE --tgz
Source0: %{name}-%{version}.tar.gz
# AlmaLinux patches
Patch100: almalinux_debrand.patch
# Especially for the OpenSuse Build Service we need to have another lint config
%if 0%{?suse_version}
Source2: subscription-manager-rpmlintrc
@ -160,10 +158,9 @@ 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
%else
Requires: %{py_package_prefix}-setuptools
%endif
%if %{use_dnf}
@ -191,6 +188,7 @@ BuildRequires: openssl-devel
BuildRequires: gcc
BuildRequires: %{py_package_prefix}-setuptools
BuildRequires: gettext
BuildRequires: glib2-devel
%if 0%{?suse_version}
BuildRequires: distribution-release
@ -264,7 +262,7 @@ BuildRequires: libdnf-devel >= 0.22.5
Obsoletes: dnf-plugin-subscription-manager < 1.29.0
%description -n libdnf-plugin-subscription-manager
This package provides a plugin to interact with repositories from an
This package provides a plugin to interact with repositories from the Red Hat
entitlement platform; contains only one product-id binary plugin used by
e.g. microdnf.
@ -289,7 +287,7 @@ Requires: python3-librepo
Requires: dnf >= 1.0.0
%description -n dnf-plugin-subscription-manager
This package provides plugins to interact with repositories and subscriptions
from an entitlement platform; contains subscription-manager and
from the Red Hat entitlement platform; contains subscription-manager and
product-id plugins.
%endif
@ -353,7 +351,6 @@ Entitlement Platform. This interface is used for the management of system
entitlements, certificates, and access to content.
%package -n python3-cloud-what
Summary: Python package for detection of public cloud provider
%if 0%{?suse_version}
@ -371,7 +368,7 @@ cloud metadata and signatures.
%prep
%setup -q
%autopatch -p1
%patch100 -p1
%build
make -f Makefile VERSION=%{version}-%{release} CFLAGS="%{optflags}" \
@ -755,9 +752,46 @@ rmdir %{python_sitearch}/subscription_manager-*-*.egg-info --ignore-fail-on-non-
rm -f /var/lib/rhsm/cache/rhsm_icon.json
%changelog
* Tue Nov 07 2023 Eduard Abdullin <eabdullin@almalinux.org> - 1.29.38-1.alma.1
* Thu Mar 28 2024 Eduard Abdullin <eabdullin@almalinux.org> - 1.29.40-1.alma.1
- Debrand for AlmaLinux
* Thu Jan 18 2024 Pino Toscano <ptoscano@redhat.com> 1.29.40-1
- Translated using Weblate (Korean) (simmon@nplob.com)
- Translated using Weblate (Chinese (Simplified) (zh_CN))
(mariocanfly@hotmail.com)
- spec: Add missing GLib dependency when building without DNF
(debarshir@gnome.org)
- Remove deprecated `locale.*()` functions (mhorky@redhat.com)
- Remove version constraint of pytest (mhorky@redhat.com)
- RHEL-15110: RegisterServer is stopped, when not needed (jhnidek@redhat.com)
- RHEL-15110: Fix issue with registration using gsd-subman (jhnidek@redhat.com)
- Fix an error in debug logging of cloud-what (mhorky@redhat.com)
- ci: bump actions/upload-artifact from 3 to 4
(49699333+dependabot[bot]@users.noreply.github.com)
- Improve debug logging to make it faster to understand (mhorky@redhat.com)
* Thu Nov 23 2023 Pino Toscano <ptoscano@redhat.com> 1.29.39-1
- tito: drop bz requirement (ptoscano@redhat.com)
- Translated using Weblate (Chinese (Simplified) (zh_CN)) (jsefler@redhat.com)
- RHEL-7206: Small change of message printed by dnf plugin (jhnidek@redhat.com)
- CCT-118: Fix flake8 error E721 (mhorky@redhat.com)
- Fix type hint in rhsm (mhorky@redhat.com)
- Simplify autoregistration test setup (mhorky@redhat.com)
- RHEL-9435: Get AWS metadata via IMDSv2 (mhorky@redhat.com)
- Fixed inappropriate logical expression (ataf@openrefactory.com)
- CCT-71: Try to ping server, when --proxy is used (jhnidek@redhat.com)
- CCT-10: Ensure IPv6-based URLs are properly formatted (mhorky@redhat.com)
- RPM: Avoid needless runtime requirement on python3-setuptools
(miro@hroncok.cz)
- cli: normalize hostname in error message (ptoscano@redhat.com)
- connection: normalize hostname in ConnectionOSErrorException
(ptoscano@redhat.com)
- Improved printing of addresses and URLs (jhnidek@redhat.com)
- Use username and password from --proxy=URL (jhnidek@redhat.com)
- Use parse_url() from utils.py for parsing URL, when --proxy is used.
(jhnidek@redhat.com)
- 2225403: Parse URL properly (jhnidek@redhat.com)
* Thu Sep 14 2023 Pino Toscano <ptoscano@redhat.com> 1.29.38-1
- Translated using Weblate (Chinese (Simplified) (zh_CN)) (ptoscano@redhat.com)
- ci: bump actions/checkout from 3 to 4