blob: fe699c2933f7e2cfc58c240c4571bd664df3159e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
|
%undefine py_auto_byte_compile
Name: python-rpm-generators
Version: 14
Release: 2
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)
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
# 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
BuildArch: noarch
%description
Fedora's dependency generators for Python RPMS.
%package -n python3-rpm-generators
Summary: %{summary}
Requires: python3-setuptools
Requires: rpm > 4.15.90
Conflicts: rpm-build < 4.13.0.1-2
Conflicts: python-rpm-macros < 3-35
%description -n python3-rpm-generators
Fedora's dependency generators for Python RPMS.
%prep
%autosetup -c -T
cp -a %{sources} .
%install
install -Dpm0644 -t %{buildroot}%{_fileattrsdir} *.attr
install -Dpm0755 -t %{buildroot}%{_rpmconfigdir} *.py
%files -n python3-rpm-generators
%license COPYING
%{_fileattrsdir}/python.attr
%{_fileattrsdir}/pythondist.attr
%{_rpmconfigdir}/pythondistdeps.py
%{_rpmconfigdir}/pythonbundles.py
%changelog
* Wed Oct 23 2024 Funda Wang <fundawang@yeah.net> - 14-2
- drop pythonname.attr as it requries fedora.srpm.python which is not available
* Sat Oct 19 2024 Funda Wang <fundawang@yeah.net> - 14-1
- update to latest upstream version
* Tue Aug 06 2024 chenhuihan <chenhuihan@huawei.com> - 9-5
- Fix python provide and requires
* Sun Apr 23 2023 caodongxia <caodongxia@h-partners.com> - 9-4
- Fix the python3 version cannot be found when pyproject.toml is used for building
* Thu Oct 27 2022 zhangruifang <zhangruifang1@h-partners.com> - 9-3
- Rebuild for next release
* Fri Jan 07 2022 shixuantong <shixuantong@huawei.com> - 9-2
- downgrade version to 9
* Thu Dec 09 2021 liudabo <liudabo1@huawei.com> - 12-1
- upgrade version to 12
* Tue Sep 17 2019 openEuler Buildteam <buildteam@openeuler.org> - 9-1
- Package init
|