mirror of
https://github.com/clearlinux/autospec.git
synced 2026-08-22 07:08:04 +00:00
Allow patch files as archives (for manual patching).
This commit is contained in:
committed by
William Douglas
parent
7bb8ae643c
commit
d97ae540fb
@@ -441,6 +441,9 @@ class Specfile(object):
|
||||
# Also JAR files
|
||||
if archive.endswith('.jar'):
|
||||
continue
|
||||
# Patch files
|
||||
if archive.endswith('.patch'):
|
||||
continue
|
||||
# Handle various archive types
|
||||
extract_cmd = 'tar xf {}'
|
||||
if archive.endswith('.zip'):
|
||||
|
||||
Reference in New Issue
Block a user