summaryrefslogtreecommitdiff
path: root/pythondist.attr
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2025-02-04 07:51:09 +0000
committerCoprDistGit <infra@openeuler.org>2025-02-04 07:51:09 +0000
commit7e40c2d2d98727867a250dba5c962b78727eef26 (patch)
tree594d7e5e1978d504523028946a1adfaf07673f7e /pythondist.attr
parent2970a8685236bf3143f35d221bab53a4dd988e25 (diff)
automatic import of python-rpm-generatorsopeneuler24.03_LTS_SP1
Diffstat (limited to 'pythondist.attr')
-rw-r--r--pythondist.attr3
1 files changed, 3 insertions, 0 deletions
diff --git a/pythondist.attr b/pythondist.attr
new file mode 100644
index 0000000..7efbe88
--- /dev/null
+++ b/pythondist.attr
@@ -0,0 +1,3 @@
+%__pythondist_provides %{_rpmconfigdir}/pythondistdeps.py --provides --normalized-names-format legacy-dots --normalized-names-provide-both --package-name %{name} --majorver-provides %{?!_python_dist_allow_version_zero:--fail-if-zero}
+%__pythondist_requires %{_rpmconfigdir}/pythondistdeps.py --requires --normalized-names-format legacy-dots --normalized-names-provide-both --package-name %{name} %{?!_python_no_extras_requires:--require-extras-subpackages} --console-scripts-nodep-setuptools-since 3.10
+%__pythondist_path ^%{?!flatpak:/usr}%{?flatpak:/app}/lib(64)?/python[3-9]\\.[[:digit:]]+/site-packages/[^/]+\\.(dist-info|egg-info|egg-link)$