diff options
author | CoprDistGit <infra@openeuler.org> | 2025-02-04 07:51:09 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2025-02-04 07:51:09 +0000 |
commit | 37a490945e9a72ca7911a98b48aa176bb91884ea (patch) | |
tree | 594d7e5e1978d504523028946a1adfaf07673f7e | |
parent | fceb6a624229910d222406ed967a7fe33ec05b96 (diff) |
automatic import of python-rpm-generatorsopeneuler24.03_LTS
-rw-r--r-- | python-rpm-generators.spec | 18 | ||||
-rwxr-xr-x[-rw-r--r--] | pythonbundles.py | 0 | ||||
-rw-r--r-- | pythondist.attr | 4 |
3 files changed, 9 insertions, 13 deletions
diff --git a/python-rpm-generators.spec b/python-rpm-generators.spec index 532c2ae..048578e 100644 --- a/python-rpm-generators.spec +++ b/python-rpm-generators.spec @@ -1,20 +1,16 @@ -%undefine py_auto_byte_compile - Name: python-rpm-generators Version: 14 Release: 1 Summary: Dependency generators for Python RPMs -License: GPL-2.0-or-later AND LGPL-2.1-or-later AND (Public Domain OR LGPL-2.1-or-later OR GPL-2.0-or-later) +License: GPL-2.0-or-later AND LGPL-2.1-or-later URL: https://src.fedoraproject.org/rpms/python-rpm-generators Source0: https://raw.githubusercontent.com/rpm-software-management/rpm/102eab50b3d0d6546dfe082eac0ade21e6b3dbf1/COPYING -Source1: python.attr -Source2: pythondist.attr +Source1: python.attr +Source2: pythondist.attr # This one is also originally from RPM, but it has its own license declaration: LGPL-2.1-or-later -Source4: pythondistdeps.py -# This was crafted in-place with the following license declaration: -# Public-Domain OR CC0-1.0 OR LGPL-2.1-or-later OR GPL-2.0-or-later -Source5: pythonbundles.py +Source3: pythondistdeps.py +Source4: pythonbundles.py BuildArch: noarch @@ -23,8 +19,8 @@ Fedora's dependency generators for Python RPMS. %package -n python3-rpm-generators Summary: %{summary} +Requires: python3-packaging Requires: rpm > 4.15.90 -Requires: python3dist(packaging) Conflicts: rpm-build < 4.13.0.1-2 Conflicts: python-rpm-macros < 3-35 @@ -47,7 +43,7 @@ install -Dpm0755 -t %{buildroot}%{_rpmconfigdir} *.py %{_rpmconfigdir}/pythonbundles.py %changelog -* Sat Oct 19 2024 Funda Wang <fundawang@yeah.net> - 14-1 +* Fri Jan 03 2025 Funda Wang <fundawang@yeah.net> - 14-1 - update to latest upstream version * Tue Aug 06 2024 chenhuihan <chenhuihan@huawei.com> - 9-5 diff --git a/pythonbundles.py b/pythonbundles.py index b0e5ecf..b0e5ecf 100644..100755 --- a/pythonbundles.py +++ b/pythonbundles.py 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)$ |