Debrand for AlmaLinux

This commit is contained in:
Eduard Abdullin 2025-03-17 13:32:00 +03:00 committed by eabdullin
commit 66e6ad1f1b
3 changed files with 55 additions and 9 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
SOURCES/subscription-manager-1.29.42.tar.gz
SOURCES/subscription-manager-1.29.45.tar.gz

View File

@ -1 +1 @@
96fe0bb71a717a9b248374f7252505e74d61f3f8 SOURCES/subscription-manager-1.29.42.tar.gz
2d08de5742a7355bdf3c6126e74b22cf9ecafe86 SOURCES/subscription-manager-1.29.45.tar.gz

View File

@ -95,7 +95,7 @@
%global exclude_packages %{exclude_packages}"
Name: subscription-manager
Version: 1.29.42
Version: 1.29.45
Release: 1%{?dist}.alma.1
Summary: Tools and libraries for subscription and repository management
%if 0%{?suse_version}
@ -113,13 +113,14 @@ URL: http://www.candlepinproject.org/
# tito build --tag subscription-manager-$VERSION-$RELEASE --tgz
Source0: %{name}-%{version}.tar.gz
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
%endif
# AlmaLinux Patch
Patch100: almalinux_debrand.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)
@ -262,7 +263,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 the Red Hat
This package provides a plugin to interact with repositories from an
entitlement platform; contains only one product-id binary plugin used by
e.g. microdnf.
@ -287,7 +288,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 the Red Hat entitlement platform; contains subscription-manager and
from an entitlement platform; contains subscription-manager and
product-id plugins.
%endif
@ -351,6 +352,7 @@ 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}
@ -368,7 +370,9 @@ cloud metadata and signatures.
%prep
%setup -q
%patch100 -p1
# Applying AlmaLinux Patch
%patch -P 100 -p1 -b .almalinux_debrand
%build
make -f Makefile VERSION=%{version}-%{release} CFLAGS="%{optflags}" \
@ -752,12 +756,54 @@ rmdir %{python_sitearch}/subscription_manager-*-*.egg-info --ignore-fail-on-non-
rm -f /var/lib/rhsm/cache/rhsm_icon.json
%changelog
* Mon Sep 30 2024 Eduard Abdullin <eabdullin@almalinux.org> - 1.29.42-1.alma.1
* Mon Mar 17 2025 Eduard Abdullin <eabdullin@almalinux.org> - 1.29.45-1.alma.1
- Debrand for AlmaLinux
* Tue Feb 11 2025 Pino Toscano <ptoscano@redhat.com> 1.29.45-1
- fix: Do not upload profile from DNF, when it is disabled in conf
(jhnidek@redhat.com)
- feat: dnf plugin - outsource uploading of profile to rhsmcertd.
(jhnidek@redhat.com)
- feat: Enable register with environment names and environment types
(jhnidek@redhat.com)
- feat: support registering specifying environments with activation keys
(ryanverdile@gmail.com)
- chore: Remove auto-assign CI job (mhorky@redhat.com)
- feat: [1.29] Added basic configuration for Packit (jhnidek@redhat.com)
* Fri Jan 24 2025 Pino Toscano <ptoscano@redhat.com> 1.29.44-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 (French) (leane.grasser@proton.me)
- Update translation files (noreply@weblate.org)
- New extraction for translatable strings (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)
- Translated using Weblate (Georgian) (temuri.doghonadze@gmail.com)
* Thu Dec 19 2024 Jiri Hnidek <jhnidek@redhat.com> 1.29.43-1
- [1.29] feat/cct-868: Subset of list command options marked as deprecated *
Options --available, --all, --ondate, --servicelevel --no-overlap --match-
install, --pool-only, --afterdate were marked as deprecated in ListCommand
definition of their help string. (mgrunwal@redhat.com)
- fix: Handle Retry-After headers better for 429 responses (mhorky@redhat.com)
- feat: Better automatic registration logging (mhorky@redhat.com)
- fix: perform autoreg waiting when performing standard autoreg
(ptoscano@redhat.com)
- chore: move autoreg waiting code in own function (ptoscano@redhat.com)
- docs: update proxy details in man page (jvlcek@redhat.com)
* Thu Aug 22 2024 Pino Toscano <ptoscano@redhat.com> 1.29.42-1
- feat: forcefully switch automatic cloud registration to v1
(ptoscano@redhat.com)
* Thu Aug 15 2024 Pino Toscano <ptoscano@redhat.com> 1.29.41-1
- feat: update man page with deprecation notices (jajerome@redhat.com)
- feat: Disable anonymous cloud registration temporarily (mhorky@redhat.com)