mirror of
https://github.com/clearlinux/autospec.git
synced 2026-08-19 13:36:41 +00:00
[specfiles] - update re.compile pattern
Added URL pattern with host repository.mapr.com. There are some binary jar is located outside of repo.maven hostname. Signed-off-by: Choong Yin Thong <yin.thong.choong@intel.com>
This commit is contained in:
committed by
Patrick McCarty
parent
d181536431
commit
41132df1cc
@@ -614,7 +614,8 @@ class Specfile(object):
|
||||
patterns = [
|
||||
re.compile(r"maven.*org/maven2/([a-zA-Z\-\_]+)/([a-zA-Z\-\_]+)/([a-zA-Z-\_\d.]+)/[a-zA-Z-\_\d.]*\.(?:pom|jar|xml|signature)"),
|
||||
re.compile(r"maven.apache.org/maven2/([a-zA-Z\-\_]+)/([a-zA-Z\-\_]+)/([\d.]+)/[a-z-\_.\d]*\.(?:pom|jar|xml|signature)"),
|
||||
re.compile(r"maven.*org/maven2/([a-zA-Z-\_.\d/]+)/([a-zA-Z-\_.\d]*)/([a-zA-Z\d\.\_\-]+)/(?:[a-zA-Z-\_.\d]*)\.(?:pom|jar|xml|signature)")]
|
||||
re.compile(r"maven.*org/maven2/([a-zA-Z-\_.\d/]+)/([a-zA-Z-\_.\d]*)/([a-zA-Z\d\.\_\-]+)/(?:[a-zA-Z-\_.\d]*)\.(?:pom|jar|xml|signature)"),
|
||||
re.compile(r"repository.mapr.com/maven/([a-zA-Z\-\_/]+)/([a-zA-Z\-\_]+)/([a-zA-Z-\_\d.]+)/[a-zA-Z-\_\d.]*\.(?:pom|jar|xml|signature)")]
|
||||
mvn_sources = [self.url] + sorted(self.sources["archive"])
|
||||
src_num = 0
|
||||
|
||||
|
||||
Reference in New Issue
Block a user