mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-31 00:50:12 +01:00
contrib/rh-bkr: allow noarch packages
This commit is contained in:
parent
b4d8024f3b
commit
5bcc6ac784
1 changed files with 1 additions and 1 deletions
|
|
@ -370,7 +370,7 @@ class RpmScheme_ParseWebsite(RpmScheme):
|
|||
def pattern_is_default(self):
|
||||
return self._pattern is None
|
||||
def is_matching_url(self, url):
|
||||
p = '^.*/([^/]+\.(src|%s)\.rpm)$' % (self.arch_re)
|
||||
p = '^.*/([^/]+\.(src|noarch|%s)\.rpm)$' % (self.arch_re)
|
||||
if re.match(p, url):
|
||||
if re.search(self.pattern, url):
|
||||
return True
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue