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
commit37a490945e9a72ca7911a98b48aa176bb91884ea (patch)
tree594d7e5e1978d504523028946a1adfaf07673f7e /pythondist.attr
parentfceb6a624229910d222406ed967a7fe33ec05b96 (diff)
automatic import of python-rpm-generatorsopeneuler24.03_LTS
Diffstat (limited to 'pythondist.attr')
-rw-r--r--pythondist.attr4
1 files changed, 2 insertions, 2 deletions
diff --git a/pythondist.attr b/pythondist.attr
index ede3a51..7efbe88 100644
--- a/pythondist.attr
+++ b/pythondist.attr
@@ -1,3 +1,3 @@
-%__pythondist_provides %{_rpmconfigdir}/pythondistdeps.py --provides --normalized-names-format pep503 --package-name %{name} --majorver-provides-versions %{__default_python3_version} %{?!_python_dist_allow_version_zero:--fail-if-zero}
-%__pythondist_requires %{_rpmconfigdir}/pythondistdeps.py --requires --normalized-names-format pep503 --package-name %{name} %{?!_python_no_extras_requires:--require-extras-subpackages} --console-scripts-nodep-setuptools-since 3.10
+%__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)$