- Can exclude packages from packages.json by its architecture. E.g. package_name.package_arch
This commit is contained in:
parent
750499eda1
commit
2294b729f8
@ -394,8 +394,9 @@ class PackagesGenerator:
|
||||
package_arch = package_dict['arch']
|
||||
else:
|
||||
package_arch = package.arch
|
||||
if any(re.search(excluded_package, package_name)
|
||||
for excluded_package in self.excluded_packages):
|
||||
if package_name in self.excluded_packages or \
|
||||
f'{package_name}.' \
|
||||
f'{package.arch}' in self.excluded_packages:
|
||||
continue
|
||||
src_package_name = dnf.subject.Subject(
|
||||
package.rpm_sourcerpm,
|
||||
|
Loading…
Reference in New Issue
Block a user