Compare commits

...

3 Commits

2 changed files with 5731 additions and 3 deletions

File diff suppressed because it is too large Load Diff

View File

@ -50,9 +50,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.23.0
Release: 1%{?dist}
Release: 1%{?dist}.elevate.1.1
Summary: Repositories for leapp
License: ASL 2.0
@ -66,6 +67,8 @@ BuildArch: noarch
### PATCHES HERE
# Patch0001: filename.patch
Patch0100: leapp-repository-0.23.0-elevate.patch
%description
%{summary}
@ -132,7 +135,7 @@ Requires: cpio
# Subpackage for managing fapolicyd rules for %{lpr_name} installed only if
# fapolicyd is present on the system
Requires: (%{lpr_name}-fapolicyd = %{version}-%{release} if fapolicyd)
Requires: (%{lpr_name}-fapolicyd = %{epoch}:%{version}-%{release} if fapolicyd)
# The leapp-repository rpm is renamed to %%{lpr_name}
Obsoletes: leapp-repository < 0.14.0-5
@ -247,6 +250,8 @@ Requires: fapolicyd
# APPLY PATCHES HERE
# %%patch -P 0001 -p1
%patch -P 0100 -p1
%build
cp -a leapp*deps*el%{next_major_ver}.noarch.rpm repos/system_upgrade/%{repo_shortname}/files/bundled-rpms/
@ -326,9 +331,13 @@ fi
%config %{_sysconfdir}/leapp/files/*
# uncomment to package installed configs
#%%config %%{_sysconfdir}/leapp/actor_conf.d/*
%exclude %{_sysconfdir}/leapp/files/device_driver_deprecation_data.json
%exclude %{_sysconfdir}/leapp/files/pes-events.json
%exclude %{_sysconfdir}/leapp/files/repomap.json
%{_sysconfdir}/leapp/repos.d/*
%{_sysconfdir}/leapp/transaction/*
%{repositorydir}/*
%exclude %{repositorydir}/system_upgrade/common/files/distro/centos/rpm-gpg/*
%{leapp_python_sitelib}/leapp/cli/commands/*
@ -341,6 +350,12 @@ fi
%changelog
* Fri Feb 27 2026 Yuriy Kohut <ykohut@almalinux.org> - 0.23.0-1.elevate.1.1
- Update %{lpr_name}-fapolicyd package requirement to include epoch
* Fri Sep 12 2025 Yuriy Kohut <ykohut@almalinux.org> - 0.23.0-1.elevate.1
- ELevate vendors support for upstream 0.23.0-1 version (dcf53c28ea9c3fdd03277abcdeb1d124660f7f8e)
* Thu Aug 14 2025 Karolina Kula <kkula@redhat.com> - 0.23.0-1
- Rebase to new upstream 0.23.0
- Enable in-place upgrades on CentOS Stream systems
@ -1176,4 +1191,3 @@ fi
* Wed Nov 07 2018 Petr Stodulka <pstodulk@redhat.com> - 0.3-1
- Initial RPM
Resolves: #1636481