2019-09-30 11:15:30 -04:00
|
|
|
%undefine py_auto_byte_compile
|
|
|
|
|
|
|
|
|
|
Name: python-rpm-generators
|
2021-12-09 17:36:23 +08:00
|
|
|
Version: 12
|
2019-09-30 11:15:30 -04:00
|
|
|
Release: 1
|
|
|
|
|
Summary: Dependency generators for Python RPMs
|
|
|
|
|
|
|
|
|
|
License: GPLv2+
|
|
|
|
|
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
|
2021-12-09 17:36:23 +08:00
|
|
|
Source3: pythonname.attr
|
2019-09-30 11:15:30 -04:00
|
|
|
Source4: pythondistdeps.py
|
2021-12-09 17:36:23 +08:00
|
|
|
Source5: pythonbundles.py
|
2019-09-30 11:15:30 -04:00
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
Fedora's dependency generators for Python RPMS.
|
|
|
|
|
|
|
|
|
|
%package -n python3-rpm-generators
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
Requires: python3-setuptools
|
|
|
|
|
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
|
2021-12-09 17:36:23 +08:00
|
|
|
install -Dpm0644 -t %{buildroot}%{_fileattrsdir} *.attr
|
|
|
|
|
install -Dpm0755 -t %{buildroot}%{_rpmconfigdir} *.py
|
2019-09-30 11:15:30 -04:00
|
|
|
|
|
|
|
|
%files -n python3-rpm-generators
|
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
%license COPYING
|
|
|
|
|
%{_fileattrsdir}/python.attr
|
|
|
|
|
%{_fileattrsdir}/pythondist.attr
|
2021-12-09 17:36:23 +08:00
|
|
|
%{_fileattrsdir}/pythonname.attr
|
2019-09-30 11:15:30 -04:00
|
|
|
%{_rpmconfigdir}/pythondistdeps.py
|
2021-12-09 17:36:23 +08:00
|
|
|
%{_rpmconfigdir}/pythonbundles.py
|
2019-09-30 11:15:30 -04:00
|
|
|
|
|
|
|
|
%changelog
|
2021-12-09 17:36:23 +08:00
|
|
|
* Thu Dec 09 2021 liudabo <liudabo1@huawei.com> - 12-1
|
|
|
|
|
- upgrade version to 12
|
|
|
|
|
|
2019-09-30 11:15:30 -04:00
|
|
|
* Tue Sep 17 2019 openEuler Buildteam <buildteam@openeuler.org> - 9-1
|
|
|
|
|
- Package init
|