summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fileattrs/perl.attr2
-rw-r--r--fileattrs/python.attr2
2 files changed, 2 insertions, 2 deletions
diff --git a/fileattrs/perl.attr b/fileattrs/perl.attr
index 23b873fbe..0daef58d5 100644
--- a/fileattrs/perl.attr
+++ b/fileattrs/perl.attr
@@ -1,3 +1,3 @@
%__perl_requires %{_rpmconfigdir}/perl.req
-%__perl_magic ^.*perl .*$
+%__perl_magic ^.*[Pp]erl .*$
%__perl_flags exeonly
diff --git a/fileattrs/python.attr b/fileattrs/python.attr
index 5b48f75b4..4eaad7609 100644
--- a/fileattrs/python.attr
+++ b/fileattrs/python.attr
@@ -1,4 +1,4 @@
%__python_provides %{_rpmconfigdir}/pythondeps.sh --provides
%__python_requires %{_rpmconfigdir}/pythondeps.sh --requires
%__python_path ^((/usr/lib(64)?/python[[:digit:]]\\.[[:digit:]]/.*\\.(py[oc]?|so))|(%{_bindir}/python[[:digit:]]\\.[[:digit:]]))$
-%__python_magic ^python.*(executable|byte-compiled)$
+%__python_magic ^[Pp]ython.*(executable|byte-compiled)$