From 7e40c2d2d98727867a250dba5c962b78727eef26 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Tue, 4 Feb 2025 07:51:09 +0000 Subject: automatic import of python-rpm-generators --- pythondist.attr | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 pythondist.attr (limited to 'pythondist.attr') 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)$ -- cgit v1.2.3