2016-01-12 23:52:28 +00:00
|
|
|
Name: python-rpm-macros
|
|
|
|
Version: 3
|
2019-09-30 12:35:43 +00:00
|
|
|
Release: 15%{?dist}
|
2016-01-12 23:52:28 +00:00
|
|
|
Summary: The unversioned Python RPM macros
|
|
|
|
|
|
|
|
License: MIT
|
|
|
|
Source0: macros.python
|
|
|
|
Source1: macros.python-srpm
|
|
|
|
Source2: macros.python2
|
|
|
|
Source3: macros.python3
|
2019-03-06 14:11:49 +00:00
|
|
|
Source5: macros.pybytecompile
|
2016-01-12 23:52:28 +00:00
|
|
|
|
|
|
|
BuildArch: noarch
|
2016-05-13 20:20:24 +00:00
|
|
|
# For %%python3_pkgversion used in %%python_provide
|
|
|
|
Requires: python-srpm-macros
|
2016-01-12 23:52:28 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
This package contains the unversioned Python RPM macros, that most
|
|
|
|
implementations should rely on.
|
|
|
|
|
|
|
|
You should not need to install this package manually as the various
|
|
|
|
python?-devel packages require it. So install a python-devel package instead.
|
|
|
|
|
|
|
|
%package -n python-srpm-macros
|
|
|
|
Summary: RPM macros for building Python source packages
|
|
|
|
|
|
|
|
%description -n python-srpm-macros
|
|
|
|
RPM macros for building Python source packages.
|
|
|
|
|
2016-01-13 17:54:20 +00:00
|
|
|
%package -n python2-rpm-macros
|
2016-01-12 23:52:28 +00:00
|
|
|
Summary: RPM macros for building Python 2 packages
|
|
|
|
|
2016-01-13 17:54:20 +00:00
|
|
|
%description -n python2-rpm-macros
|
2016-01-12 23:52:28 +00:00
|
|
|
RPM macros for building Python 2 packages.
|
|
|
|
|
2016-01-13 17:54:20 +00:00
|
|
|
%package -n python3-rpm-macros
|
2016-01-12 23:52:28 +00:00
|
|
|
Summary: RPM macros for building Python 3 packages
|
|
|
|
|
2016-01-13 17:54:20 +00:00
|
|
|
%description -n python3-rpm-macros
|
2016-01-12 23:52:28 +00:00
|
|
|
RPM macros for building Python 3 packages.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
|
|
%install
|
2016-09-15 20:40:12 +00:00
|
|
|
mkdir -p %{buildroot}/%{rpmmacrodir}
|
2019-03-06 14:11:49 +00:00
|
|
|
install -m 644 %{SOURCE0} %{SOURCE1} %{SOURCE2} %{SOURCE3} %{SOURCE5} \
|
2016-09-15 20:40:12 +00:00
|
|
|
%{buildroot}/%{rpmmacrodir}
|
2016-01-12 23:52:28 +00:00
|
|
|
|
2016-05-12 18:28:05 +00:00
|
|
|
|
2016-01-12 23:52:28 +00:00
|
|
|
%files
|
2016-09-15 20:40:12 +00:00
|
|
|
%{rpmmacrodir}/macros.python
|
2019-03-06 14:11:49 +00:00
|
|
|
%{rpmmacrodir}/macros.pybytecompile
|
2016-01-12 23:52:28 +00:00
|
|
|
|
|
|
|
%files -n python-srpm-macros
|
2016-09-15 20:40:12 +00:00
|
|
|
%{rpmmacrodir}/macros.python-srpm
|
2016-01-12 23:52:28 +00:00
|
|
|
|
2016-01-13 17:54:20 +00:00
|
|
|
%files -n python2-rpm-macros
|
2016-09-15 20:40:12 +00:00
|
|
|
%{rpmmacrodir}/macros.python2
|
2016-01-12 23:52:28 +00:00
|
|
|
|
2016-01-13 17:54:20 +00:00
|
|
|
%files -n python3-rpm-macros
|
2016-09-15 20:40:12 +00:00
|
|
|
%{rpmmacrodir}/macros.python3
|
2016-01-12 23:52:28 +00:00
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2019-09-30 12:35:43 +00:00
|
|
|
* Fri Sep 27 2019 Miro Hrončok <mhroncok@redhat.com> - 3-15
|
|
|
|
- Define %%python2 and %%python3
|
2019-10-02 14:20:57 +00:00
|
|
|
- Drop hardcoded python2 from %%py_build
|
2019-09-30 12:35:43 +00:00
|
|
|
|
2019-03-06 14:11:49 +00:00
|
|
|
* Wed Mar 06 2019 Carl George <carl@george.computer> - 3-14
|
|
|
|
- Move macros.pybytecompile in here from python3X-devel
|
|
|
|
- macros.pybytecompile: Detect Python version through sys.version_info instead
|
|
|
|
of guessing from the executable name
|
|
|
|
|
2018-07-09 19:34:36 +00:00
|
|
|
* Mon Jul 09 2018 Jason L Tibbitts III <tibbs@math.uh.edu> - 3-13
|
|
|
|
- Backport %%python3_platform macro.
|
|
|
|
|
2018-06-18 23:38:44 +00:00
|
|
|
* Mon Jun 18 2018 Jason L Tibbitts III <tibbs@math.uh.edu> - 3-12
|
|
|
|
- Add %%pypi_source macro.
|
|
|
|
|
2016-09-15 20:40:12 +00:00
|
|
|
* Thu Sep 15 2016 Jason L Tibbitts III <tibbs@math.uh.edu> - 3-11
|
|
|
|
- Use %%rpmmacrodir to put the macros in the proper location.
|
|
|
|
- Change %%python2_version* to a form that works on EL6.
|
|
|
|
- Change %%__python2 to point explicitly to python2.6 to avoid breakage in
|
|
|
|
Amazon Linux, which links /usr/bin/python to python2.7. This syncs up with
|
|
|
|
the macros which were in epel-rpm-macros. See
|
|
|
|
https://bugzilla.redhat.com/show_bug.cgi?id=1347019
|
|
|
|
|
2016-07-12 17:14:21 +00:00
|
|
|
* Tue Jul 12 2016 Orion Poplawski <orion@cora.nwra.com> 3-10
|
|
|
|
- Do not generate useless Obsoletes with %%{?_isa}
|
|
|
|
|
2016-05-13 20:20:24 +00:00
|
|
|
* Fri May 13 2016 Orion Poplawski <orion@cora.nwra.com> 3-9
|
|
|
|
- Make python-rpm-macros require python-srpm-macros (bug #1335860)
|
|
|
|
|
2016-05-12 18:28:05 +00:00
|
|
|
* Thu May 12 2016 Jason L Tibbitts III <tibbs@math.uh.edu> - 3-8
|
|
|
|
- Add single-second sleeps to work around setuptools bug.
|
|
|
|
|
2016-02-04 20:51:34 +00:00
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2016-01-25 23:55:23 +00:00
|
|
|
* Mon Jan 25 2016 Orion Poplawski <orion@cora.nwra.com> 3-6.1
|
|
|
|
- Set %%__python3 to /usr/bin/python3.4
|
|
|
|
|
2016-01-15 03:50:53 +00:00
|
|
|
* Thu Jan 14 2016 Orion Poplawski <orion@cora.nwra.com> 3-6
|
|
|
|
- Fix typo in %%python_provide
|
|
|
|
|
2016-01-14 23:17:51 +00:00
|
|
|
* Thu Jan 14 2016 Orion Poplawski <orion@cora.nwra.com> 3-5
|
|
|
|
- Handle noarch python sub-packages (bug #1290900)
|
|
|
|
|
2016-01-14 21:32:55 +00:00
|
|
|
* Thu Jan 14 2016 Orion Poplawski <orion@cora.nwra.com> 3-4.1
|
|
|
|
- EPEL version
|
|
|
|
|
2016-01-13 17:54:20 +00:00
|
|
|
* Wed Jan 13 2016 Orion Poplawski <orion@cora.nwra.com> 3-4
|
|
|
|
- Fix python2/3-rpm-macros package names
|
|
|
|
|
2016-01-13 15:59:38 +00:00
|
|
|
* Thu Jan 7 2016 Orion Poplawski <orion@cora.nwra.com> 3-3
|
2016-01-12 23:52:28 +00:00
|
|
|
- Add empty %%prep and %%build
|
|
|
|
|
|
|
|
* Mon Jan 4 2016 Orion Poplawski <orion@cora.nwra.com> 3-2
|
|
|
|
- Combined package
|
|
|
|
|
|
|
|
* Wed Dec 30 2015 Orion Poplawski <orion@cora.nwra.com> 3-1
|
|
|
|
- Initial package
|