Blame python-rpm-generators.spec

70432b6
Name:           python-rpm-generators
ad70cab
Summary:        Dependency generators for Python RPMs
ff7b9b1
Version:        11
c824910
Release:        4%{?dist}
ad70cab
ad70cab
# Originally all those files were part of RPM, so license is kept here
70432b6
License:        GPLv2+
ad70cab
Url:            https://src.fedoraproject.org/python-rpm-generators
ad70cab
# Commit is the last change in following files
ad70cab
Source0:        https://raw.githubusercontent.com/rpm-software-management/rpm/102eab50b3d0d6546dfe082eac0ade21e6b3dbf1/COPYING
ad70cab
Source1:        python.attr
dc64d7b
Source2:        pythondist.attr
bbfe493
Source3:        pythonname.attr
bbfe493
Source4:        pythondistdeps.py
70432b6
70432b6
BuildArch:      noarch
70432b6
70432b6
%description
ad70cab
%{summary}.
70432b6
ad70cab
%package -n python3-rpm-generators
70432b6
Summary:        %{summary}
70432b6
Requires:       python3-setuptools
ff7b9b1
# We have parametric macro generators, we need RPM 4.16 (4.15.90+ is 4.16 alpha)
ff7b9b1
Requires:       rpm > 4.15.90-0
bbfe493
# We use %%python_provide
bbfe493
Requires:       python-rpm-macros
70432b6
70432b6
%description -n python3-rpm-generators
ad70cab
%{summary}.
70432b6
70432b6
%prep
ad70cab
%autosetup -c -T
ad70cab
cp -a %{sources} .
70432b6
70432b6
%install
bbfe493
install -Dpm0644 -t %{buildroot}%{_fileattrsdir} *.attr
ff7b9b1
install -Dpm0755 -t %{buildroot}%{_rpmconfigdir} pythondistdeps.py
70432b6
70432b6
%files -n python3-rpm-generators
d3fea05
%license COPYING
70432b6
%{_fileattrsdir}/python.attr
1d1b5f8
%{_fileattrsdir}/pythondist.attr
bbfe493
%{_fileattrsdir}/pythonname.attr
70432b6
%{_rpmconfigdir}/pythondistdeps.py
70432b6
70432b6
%changelog
c824910
* Tue Apr 28 2020 Miro Hrončok <mhroncok@redhat.com> - 11-4
c824910
- Don't define global Lua variables from Python generator
c824910
0ec8581
* Mon Apr 20 2020 Gordon Messmer <gordon.messmer@gmail.com> - 11-3
0ec8581
- Handle all-zero versions without crashing
0ec8581
8eef42c
* Tue Apr 07 2020 Miro Hrončok <mhroncok@redhat.com> - 11-2
8eef42c
- Use dynamic %%_prefix value when matching files for python(abi) provides
783dcc7
- Sync with upstream RPM dist generator
8eef42c
ff7b9b1
* Wed Apr 01 2020 Miro Hrončok <mhroncok@redhat.com> - 11-1
ff7b9b1
- Rewrite python(abi) generators to Lua to make them faster
ff7b9b1
- RPM 4.16+ is needed
bbfe493
- Automatically call %%python_provide
ff7b9b1
caccd3e
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 10-4
caccd3e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
caccd3e
7d819e0
* Fri Jan 17 2020 Miro Hrončok <mhroncok@redhat.com> - 10-3
7d819e0
- Also provide pythonXdist() with PEP 503 normalized names (#1791530)
7d819e0
724a52a
* Fri Jan 03 2020 Miro Hrončok <mhroncok@redhat.com> - 10-2
724a52a
- Fix more complicated requirement expressions by adding parenthesis
724a52a
ca811db
* Wed Jan 01 2020 Miro Hrončok <mhroncok@redhat.com> - 10-1
ca811db
- Handle version ending with ".*" (#1758141)
ca811db
- Handle compatible-release operator "~=" (#1758141)
ca811db
- Use rich deps for semantically versioned dependencies
ca811db
- Match Python version if minor has multiple digits (e.g. 3.10, #1777382)
ca811db
- Only add setuptools requirement for egg-info packages
ca811db
b9fe0e7
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 9-2
b9fe0e7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
b9fe0e7
ff085a0
* Mon Jun 24 2019 Tomas Orsava <torsava@redhat.com> - 9-1
ff085a0
- Canonicalize Python versions and properly handle != spec
ff085a0
70b3ebc
* Wed Apr 17 2019 Miro Hrončok <mhroncok@redhat.com> - 8-1
70b3ebc
- console_scripts entry points to require setuptools
70b3ebc
  https://github.com/rpm-software-management/rpm/pull/666
70b3ebc
67cc59d
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 7-2
67cc59d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
67cc59d
e745e14
* Thu Dec 20 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 7-1
e745e14
- Enable requires generator
e745e14
9f6f709
* Wed Oct 03 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 6-1
9f6f709
- Tighten regex for depgen
9f6f709
1879d8a
* Sat Jul 28 2018 Miro Hrončok <mhroncok@redhat.com> - 5-4
1879d8a
- Use nonstandardlib for purelib definition (#1609492)
1879d8a
dc64d7b
* Sat Jul 28 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 5-3
dc64d7b
- Add pythondist generator
dc64d7b
0fb3620
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 5-2
0fb3620
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
0fb3620
ad70cab
* Sun Feb 11 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 5-1
ad70cab
- Fork upstream generators
5aa670b
- "Fix" support of environment markers
ad70cab
f3aa226
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.14.0-2.1
f3aa226
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
f3aa226
17d4b25
* Tue Nov 28 2017 Tomas Orsava <torsava@redhat.com> - 4.14.0-2
17d4b25
- Switch bootsrapping macro to a bcond for modularity
17d4b25
eee8ac4
* Fri Oct 20 2017 Tomas Orsava <torsava@redhat.com> - 4.14.0-1
eee8ac4
- Rebase to rpm 4.14.0 final (http://rpm.org/wiki/Releases/4.14.0)
eee8ac4
- Re-synchronize version/release macros with the rpm Fedora package
eee8ac4
97d7b2f
* Mon Sep 18 2017 Tomas Orsava <torsava@redhat.com> - 4.14.0-0.rc1.1
97d7b2f
- Update to a new upstream version of RPM
97d7b2f
- Drop upstreamed patches
97d7b2f
- Renumber remaining patches
97d7b2f
d64bb3e
* Thu Aug 24 2017 Miro Hrončok <mhroncok@redhat.com> - 4.13.0.1-4
d64bb3e
- Add patch 10: Do not provide pythonXdist for platform-python packages (rhbz#1484607)
d64bb3e
Iryna Shcherbina ea8d0d4
* Tue Aug 08 2017 Tomas Orsava <torsava@redhat.com> - 4.13.0.1-3
Iryna Shcherbina ea8d0d4
- Add patch 9: Generate requires and provides for platform-python(abi)
Iryna Shcherbina ea8d0d4
  (https://fedoraproject.org/wiki/Changes/Platform_Python_Stack)
Iryna Shcherbina ea8d0d4
16e4203
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.13.0.1-2.1
16e4203
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
16e4203
d3fea05
* Thu May 18 2017 Tomas Orsava <torsava@redhat.com> - 4.13.0.1-2
d3fea05
- Added a license file
d3fea05
- Added a dependency on rpm for the proper directory structure
d3fea05
- Properly owning the __pycache__ directory
d3fea05
70432b6
* Tue May 02 2017 Tomas Orsava <torsava@redhat.com> - 4.13.0.1-1
70432b6
- Splitting Python RPM generators from the `rpm` package to standalone one