mirror of
https://github.com/clearlinux/autospec.git
synced 2026-08-21 14:47:18 +00:00
Fix buildreq_cache handling
The fourth argument to `parse_config_files` is supposed to be the content (tarball) version, not the Content instance itself. The buildreq_cache file handling in `parse_config_files` is the only code affected by the bug. Signed-off-by: Patrick McCarty <patrick.mccarty@intel.com>
This commit is contained in:
committed by
William Douglas
parent
a00b51abeb
commit
08db263cdc
@@ -275,7 +275,7 @@ def package(args, url, name, archives, workingdir, infile_dict):
|
||||
conf.config_file = args.config
|
||||
requirements = buildreq.Requirements(content.url)
|
||||
requirements.set_build_req()
|
||||
conf.parse_config_files(package.download_path, args.bump, filemanager, content, requirements)
|
||||
conf.parse_config_files(package.download_path, args.bump, filemanager, content.version, requirements)
|
||||
conf.setup_patterns(conf.failed_pattern_dir)
|
||||
conf.parse_existing_spec(package.download_path, content.name)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user