Apply ELevate patch

This commit is contained in:
Yuriy Kohut 2024-01-10 19:33:32 +02:00
parent 2bb1d35c1f
commit b734219550
1 changed files with 11 additions and 3 deletions

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 # 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. # RHEL 8+ packages to be consistent with other leapp projects in future.
Epoch: 1
Name: leapp-repository Name: leapp-repository
Version: 0.19.0 Version: 0.19.0
Release: 4%{?dist} Release: 5%{?dist}
Summary: Repositories for leapp Summary: Repositories for leapp
License: ASL 2.0 License: ASL 2.0
@ -57,7 +58,7 @@ BuildArch: noarch
# Patch0001: filename.patch # Patch0001: filename.patch
Patch0001: 0001-RHSM-Adjust-the-switch-to-container-mode-for-new-RHS.patch Patch0001: 0001-RHSM-Adjust-the-switch-to-container-mode-for-new-RHS.patch
Patch0002: 0002-Do-not-create-dangling-symlinks-for-containerized-RH.patch Patch0002: 0002-Do-not-create-dangling-symlinks-for-containerized-RH.patch
Patch0003: leapp-repository-0.19.0-elevate.patch
%description %description
%{summary} %{summary}
@ -201,6 +202,7 @@ Requires: python3-gobject-base
# %%patch0001 -p1 # %%patch0001 -p1
%patch0001 -p1 %patch0001 -p1
%patch0002 -p1 %patch0002 -p1
%patch0003 -p1
%build %build
@ -272,12 +274,18 @@ done;
%{_sysconfdir}/leapp/transaction/* %{_sysconfdir}/leapp/transaction/*
%{repositorydir}/* %{repositorydir}/*
%{leapp_python_sitelib}/leapp/cli/commands/* %{leapp_python_sitelib}/leapp/cli/commands/*
%exclude %{_sysconfdir}/leapp/files/repomap.json
%exclude %{_sysconfdir}/leapp/files/pes-events.json
%exclude %{_sysconfdir}/leapp/files/device_driver_deprecation_data.json
%exclude %{leapp_datadir}/repositories/system_upgrade/common/files/rpm-gpg/*/*
%files -n %{lpr_name}-deps %files -n %{lpr_name}-deps
# no files here # no files here
%changelog %changelog
* Wed Jan 10 2024 Yuriy Kohut <ykohut@almalinux.org> - 1:0.19.0-5
- AlmaLinux/CentOS/Oracle/Rocky/EuroLinux support (phase 1)
* Thu Nov 02 2023 Petr Stodulka <pstodulk@redhat.com> - 0.19.0-4 * Thu Nov 02 2023 Petr Stodulka <pstodulk@redhat.com> - 0.19.0-4
- Fix the upgrade for systems without subscription-manager package - Fix the upgrade for systems without subscription-manager package
- Resolves: RHEL-14901 - Resolves: RHEL-14901