Allow patch files as archives (for manual patching).

This commit is contained in:
Auke Kok
2019-11-14 12:46:28 -08:00
committed by William Douglas
parent 7bb8ae643c
commit d97ae540fb
+3
View File
@@ -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'):