2018-02-10 23:00:36 +00:00
|
|
|
# Disable automatic bytecompilation. We install only one script and we will
|
|
|
|
# never "import" it.
|
2017-05-15 14:06:24 +00:00
|
|
|
%undefine py_auto_byte_compile
|
|
|
|
|
|
|
|
Name: python-rpm-generators
|
2018-02-10 23:00:36 +00:00
|
|
|
Summary: Dependency generators for Python RPMs
|
2018-12-20 13:21:14 +00:00
|
|
|
Version: 7
|
2019-02-02 09:09:35 +00:00
|
|
|
Release: 2%{?dist}
|
2018-02-10 23:00:36 +00:00
|
|
|
|
|
|
|
# Originally all those files were part of RPM, so license is kept here
|
2017-05-15 14:06:24 +00:00
|
|
|
License: GPLv2+
|
2018-02-10 23:00:36 +00:00
|
|
|
Url: https://src.fedoraproject.org/python-rpm-generators
|
|
|
|
# Commit is the last change in following files
|
|
|
|
Source0: https://raw.githubusercontent.com/rpm-software-management/rpm/102eab50b3d0d6546dfe082eac0ade21e6b3dbf1/COPYING
|
|
|
|
Source1: python.attr
|
2018-07-28 12:19:20 +00:00
|
|
|
Source2: pythondist.attr
|
|
|
|
Source3: pythondeps.sh
|
|
|
|
Source4: pythondistdeps.py
|
2017-05-15 14:06:24 +00:00
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description
|
2018-02-10 23:00:36 +00:00
|
|
|
%{summary}.
|
2017-05-15 14:06:24 +00:00
|
|
|
|
2018-02-10 23:00:36 +00:00
|
|
|
%package -n python3-rpm-generators
|
2017-05-15 14:06:24 +00:00
|
|
|
Summary: %{summary}
|
|
|
|
Requires: python3-setuptools
|
2018-02-10 23:00:36 +00:00
|
|
|
# The point of split
|
2017-05-15 14:36:26 +00:00
|
|
|
Conflicts: rpm-build < 4.13.0.1-2
|
2018-07-28 12:19:20 +00:00
|
|
|
# Breaking change, change a way how depgen is enabled
|
2018-07-28 12:32:50 +00:00
|
|
|
Conflicts: python-rpm-macros < 3-35
|
2017-05-15 14:06:24 +00:00
|
|
|
|
|
|
|
%description -n python3-rpm-generators
|
2018-02-10 23:00:36 +00:00
|
|
|
%{summary}.
|
2017-05-15 14:06:24 +00:00
|
|
|
|
|
|
|
%prep
|
2018-02-10 23:00:36 +00:00
|
|
|
%autosetup -c -T
|
|
|
|
cp -a %{sources} .
|
2017-05-15 14:06:24 +00:00
|
|
|
|
|
|
|
%install
|
2018-07-28 12:19:20 +00:00
|
|
|
install -Dpm0644 -t %{buildroot}%{_fileattrsdir} python.attr pythondist.attr
|
2018-02-10 23:00:36 +00:00
|
|
|
install -Dpm0755 -t %{buildroot}%{_rpmconfigdir} pythondeps.sh pythondistdeps.py
|
2017-05-15 14:06:24 +00:00
|
|
|
|
|
|
|
%files -n python3-rpm-generators
|
2017-05-18 09:07:51 +00:00
|
|
|
%license COPYING
|
2017-05-15 14:06:24 +00:00
|
|
|
%{_fileattrsdir}/python.attr
|
2018-07-28 12:30:57 +00:00
|
|
|
%{_fileattrsdir}/pythondist.attr
|
2017-05-15 14:06:24 +00:00
|
|
|
%{_rpmconfigdir}/pythondeps.sh
|
|
|
|
%{_rpmconfigdir}/pythondistdeps.py
|
|
|
|
|
|
|
|
%changelog
|
2019-02-02 09:09:35 +00:00
|
|
|
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 7-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
2018-12-20 13:21:14 +00:00
|
|
|
* Thu Dec 20 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 7-1
|
|
|
|
- Enable requires generator
|
|
|
|
|
2018-10-03 12:21:26 +00:00
|
|
|
* Wed Oct 03 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 6-1
|
|
|
|
- Tighten regex for depgen
|
|
|
|
|
2018-07-28 20:15:16 +00:00
|
|
|
* Sat Jul 28 2018 Miro Hrončok <mhroncok@redhat.com> - 5-4
|
|
|
|
- Use nonstandardlib for purelib definition (#1609492)
|
|
|
|
|
2018-07-28 12:19:20 +00:00
|
|
|
* Sat Jul 28 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 5-3
|
|
|
|
- Add pythondist generator
|
|
|
|
|
2018-07-14 01:58:03 +00:00
|
|
|
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 5-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-02-10 23:00:36 +00:00
|
|
|
* Sun Feb 11 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 5-1
|
|
|
|
- Fork upstream generators
|
2018-02-10 23:32:23 +00:00
|
|
|
- "Fix" support of environment markers
|
2018-02-10 23:00:36 +00:00
|
|
|
|
2018-02-09 10:39:37 +00:00
|
|
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.14.0-2.1
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2017-09-21 13:25:57 +00:00
|
|
|
* Tue Nov 28 2017 Tomas Orsava <torsava@redhat.com> - 4.14.0-2
|
|
|
|
- Switch bootsrapping macro to a bcond for modularity
|
|
|
|
|
2017-10-20 09:52:42 +00:00
|
|
|
* Fri Oct 20 2017 Tomas Orsava <torsava@redhat.com> - 4.14.0-1
|
|
|
|
- Rebase to rpm 4.14.0 final (http://rpm.org/wiki/Releases/4.14.0)
|
|
|
|
- Re-synchronize version/release macros with the rpm Fedora package
|
|
|
|
|
2017-09-18 14:54:18 +00:00
|
|
|
* Mon Sep 18 2017 Tomas Orsava <torsava@redhat.com> - 4.14.0-0.rc1.1
|
|
|
|
- Update to a new upstream version of RPM
|
|
|
|
- Drop upstreamed patches
|
|
|
|
- Renumber remaining patches
|
|
|
|
|
2017-08-24 11:50:13 +00:00
|
|
|
* Thu Aug 24 2017 Miro Hrončok <mhroncok@redhat.com> - 4.13.0.1-4
|
|
|
|
- Add patch 10: Do not provide pythonXdist for platform-python packages (rhbz#1484607)
|
|
|
|
|
2017-08-14 13:39:58 +00:00
|
|
|
* Tue Aug 08 2017 Tomas Orsava <torsava@redhat.com> - 4.13.0.1-3
|
|
|
|
- Add patch 9: Generate requires and provides for platform-python(abi)
|
|
|
|
(https://fedoraproject.org/wiki/Changes/Platform_Python_Stack)
|
|
|
|
|
2017-07-27 11:44:11 +00:00
|
|
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.13.0.1-2.1
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-05-18 09:07:51 +00:00
|
|
|
* Thu May 18 2017 Tomas Orsava <torsava@redhat.com> - 4.13.0.1-2
|
|
|
|
- Added a license file
|
|
|
|
- Added a dependency on rpm for the proper directory structure
|
|
|
|
- Properly owning the __pycache__ directory
|
|
|
|
|
2017-05-15 14:06:24 +00:00
|
|
|
* Tue May 02 2017 Tomas Orsava <torsava@redhat.com> - 4.13.0.1-1
|
|
|
|
- Splitting Python RPM generators from the `rpm` package to standalone one
|