summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mageia.org>2020-05-10 14:22:45 +0000
committerPascal Terjan <pterjan@mageia.org>2020-05-10 14:24:48 +0000
commit3b0507bb0d2f4a23b81140192325eaf699776358 (patch)
tree2102e10817fc56b77ed57cebceb0de90e294fc15
parent25408ee046b02a95dd76f113672ff25e07bf95dd (diff)
downloadautobuild-3b0507bb0d2f4a23b81140192325eaf699776358.tar
autobuild-3b0507bb0d2f4a23b81140192325eaf699776358.tar.gz
autobuild-3b0507bb0d2f4a23b81140192325eaf699776358.tar.bz2
autobuild-3b0507bb0d2f4a23b81140192325eaf699776358.tar.xz
autobuild-3b0507bb0d2f4a23b81140192325eaf699776358.zip
Remove python false positives
rpm-build now pulls in python3-setuptools so all packages are detected as using python. We need a new way to detect it but for now remove it.
-rwxr-xr-xautobuild.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/autobuild.rb b/autobuild.rb
index a63547d..3cf78cd 100755
--- a/autobuild.rb
+++ b/autobuild.rb
@@ -104,7 +104,7 @@ def find_attributes(build_dir)
if name =~ /^(php-devel|lib(64)?php_common)/ then
attr[:lang_php] = true
end
- if name =~ /^(python3?-setuptools|lib(64)?python3?-devel)$/ then
+ if name =~ /^lib(64)?python3?-devel$/ then
attr[:lang_python] = true
end
if name =~ /^(ruby-devel|lib(64)?ruby[0-9])/ then