Implement ELevate vendors support

This commit is contained in:
Yuriy Kohut 2024-08-13 20:02:00 +03:00
parent 6e448a755d
commit 779a8d0516
2 changed files with 5521 additions and 3 deletions

File diff suppressed because it is too large Load Diff

View File

@ -40,9 +40,10 @@ py2_byte_compile "%1" "%2"}
# to create such an rpm. Instead, we are going to introduce new naming for
# RHEL 8+ packages to be consistent with other leapp projects in future.
Epoch: 1
Name: leapp-repository
Version: 0.20.0
Release: 2%{?dist}
Release: 3%{?dist}
Summary: Repositories for leapp
License: ASL 2.0
@ -57,6 +58,7 @@ BuildArch: noarch
# Patch0001: filename.patch
Patch0001: 0001-rhui-do-not-bootstrap-target-client-on-aws.patch
Patch0010: leapp-repository-0.20.0-elevate.patch
%description
@ -210,6 +212,7 @@ Requires: python3-gobject-base
# APPLY PATCHES HERE
# %%patch0001 -p1
%patch0001 -p1
%patch0010 -p1
%build
@ -271,12 +274,12 @@ done;
%doc README.md
%license LICENSE
%dir %{_sysconfdir}/leapp/transaction
%dir %{_sysconfdir}/leapp/files
%exclude %{_sysconfdir}/leapp/files
%dir %{leapp_datadir}
%dir %{repositorydir}
%dir %{custom_repositorydir}
%dir %{leapp_python_sitelib}/leapp/cli/commands
%config %{_sysconfdir}/leapp/files/*
%exclude %{_sysconfdir}/leapp/files/*
%{_sysconfdir}/leapp/repos.d/*
%{_sysconfdir}/leapp/transaction/*
%{repositorydir}/*
@ -287,6 +290,9 @@ done;
# no files here
%changelog
* Fri Aug 9 2024 Yuriy kohut <ykohut@almalinux.org> - 0.20.0-3
- Vendors support
* Tue Feb 20 2024 Petr Stodulka <pstodulk@redhat.com> - 0.20.0-2
- Fallback to original RHUI solution on AWS to fix issues caused by changes in RHUI client
- Resolves: RHEL-16729