summaryrefslogtreecommitdiff
path: root/python-rpm-generators.spec
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 /python-rpm-generators.spec
parentfceb6a624229910d222406ed967a7fe33ec05b96 (diff)
automatic import of python-rpm-generatorsopeneuler24.03_LTS
Diffstat (limited to 'python-rpm-generators.spec')
-rw-r--r--python-rpm-generators.spec18
1 files changed, 7 insertions, 11 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