mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 05:42:50 +00:00
fix pkg name nevra parsing regex in dnf (#53572)
This commit is contained in:
@@ -383,7 +383,7 @@ class DnfModule(YumDnf):
|
||||
]
|
||||
|
||||
rpm_arch_re = re.compile(r'(.*)\.(.*)')
|
||||
rpm_nevr_re = re.compile(r'(\S+)-(?:(\d*):)?(.*)-(~?\w+[\w.]*)')
|
||||
rpm_nevr_re = re.compile(r'(\S+)-(?:(\d*):)?(.*)-(~?\w+[\w.+]*)')
|
||||
try:
|
||||
arch = None
|
||||
rpm_arch_match = rpm_arch_re.match(packagename)
|
||||
|
||||
Reference in New Issue
Block a user