mirror of
https://github.com/peridotbuild/pv2.git
synced 2024-11-23 13:41:26 +00:00
Fix distgit calls
This commit is contained in:
parent
caf230eae7
commit
a7f0668c11
@ -838,14 +838,14 @@ class GitImport(Import):
|
|||||||
if re.match(r'^%autochangelog', line):
|
if re.match(r'^%autochangelog', line):
|
||||||
print('autochangelog found')
|
print('autochangelog found')
|
||||||
AUTOCHANGELOG = True
|
AUTOCHANGELOG = True
|
||||||
if re.match(r'%autorelease', line):
|
if re.match(r'^Release:.*%autorelease', line):
|
||||||
print('autorelease found')
|
print('autorelease found')
|
||||||
AUTORELEASE = True
|
AUTORELEASE = True
|
||||||
spec_file.close()
|
spec_file.close()
|
||||||
# It was easier to do this then reimplement logic
|
# It was easier to do this then reimplement logic
|
||||||
if AUTOCHANGELOG or AUTORELEASE:
|
if AUTOCHANGELOG or AUTORELEASE:
|
||||||
try:
|
try:
|
||||||
rpmautocl.process_distgit(
|
rpmautocl.do_process_distgit(
|
||||||
source_git_repo_spec,
|
source_git_repo_spec,
|
||||||
f'/tmp/{self.rpm_name}.spec'
|
f'/tmp/{self.rpm_name}.spec'
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user