summaryrefslogtreecommitdiff
path: root/fileattrs/python.attr
diff options
context:
space:
mode:
Diffstat (limited to 'fileattrs/python.attr')
-rw-r--r--fileattrs/python.attr4
1 files changed, 4 insertions, 0 deletions
diff --git a/fileattrs/python.attr b/fileattrs/python.attr
new file mode 100644
index 0000000..5b48f75
--- /dev/null
+++ b/fileattrs/python.attr
@@ -0,0 +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)$