- Add x86_64_v2 to arch list if x86_64 in list
This commit is contained in:
parent
38cc2f79a0
commit
b61614969d
@ -2,7 +2,7 @@
|
||||
|
||||
Name: pungi
|
||||
Version: 4.7.0
|
||||
Release: 4%{?dist}.alma
|
||||
Release: 5%{?dist}.alma
|
||||
Summary: Distribution compose tool
|
||||
|
||||
License: GPL-2.0-only
|
||||
@ -174,6 +174,9 @@ rm %{buildroot}%{_bindir}/pungi
|
||||
%{_bindir}/%{name}-cache-cleanup
|
||||
|
||||
%changelog
|
||||
* Mon Sep 16 2024 Eduard Abdullin <eabdullin@almalinux.org> - 4.7.0-5
|
||||
- Add x86_64_v2 to arch list if x86_64 in list
|
||||
|
||||
* Fri Sep 06 2024 Stepan Oksanichenko <soksanichenko@almalinux.org> - 4.7.0-4
|
||||
- Truncate a volume ID to 32 bytes
|
||||
- Add new architecture `x86_64_v2`
|
||||
|
@ -93,6 +93,9 @@ def split_name_arch(name_arch):
|
||||
|
||||
def is_excluded(package, arches, logger=None):
|
||||
"""Check if package is excluded from given architectures."""
|
||||
if package.arch == 'x86_64_v2' and 'x86_64' in package.exclusivearch:
|
||||
package.exclusivearch.append('x86_64_v2')
|
||||
|
||||
if package.excludearch and set(package.excludearch) & set(arches):
|
||||
if logger:
|
||||
logger.debug(
|
||||
|
Loading…
Reference in New Issue
Block a user