mirror of
https://github.com/clearlinux/autospec.git
synced 2026-08-25 09:27:45 +00:00
Don't add rakefile deps in non ruby packages
This commit is contained in:
@@ -525,7 +525,7 @@ def scan_for_configure(package, dir, autospecdir):
|
||||
for name in files:
|
||||
if name.lower().startswith("configure."):
|
||||
parse_configure_ac(os.path.join(dirpath, name))
|
||||
if name.lower().startswith("rakefile"):
|
||||
if name.lower().startswith("rakefile") and buildpattern.default_pattern == "ruby":
|
||||
Rakefile(os.path.join(dirpath, name))
|
||||
if name.lower() == "makefile":
|
||||
buildpattern.set_build_pattern("make", default_score)
|
||||
|
||||
Reference in New Issue
Block a user