|
|
684e45 |
# https://bugzilla.redhat.com/show_bug.cgi?id=998047
|
|
|
684e45 |
|
|
|
684e45 |
Name: python-backports
|
|
|
684e45 |
Version: 1.0
|
|
|
684e45 |
Release: 8%{?dist}
|
|
|
684e45 |
Summary: Namespace for backported Python features
|
|
|
684e45 |
|
|
|
684e45 |
# Only code is sourced from http://www.python.org/dev/peps/pep-0382/
|
|
|
684e45 |
License: Public Domain
|
|
|
684e45 |
URL: https://pypi.python.org/pypi/backports
|
|
|
684e45 |
Source0: backports.py
|
|
|
684e45 |
|
|
|
684e45 |
BuildRequires: python2-devel
|
|
|
684e45 |
Conflicts: python-backports-lzma < 0.0.2-8
|
|
|
684e45 |
|
|
|
684e45 |
%description
|
|
|
684e45 |
The backports namespace is a namespace reserved for features backported from
|
|
|
684e45 |
the Python standard library to older versions of Python 2.
|
|
|
684e45 |
|
|
|
684e45 |
Packages that exist in the backports namespace in Fedora should not provide
|
|
|
684e45 |
their own backports/__init__.py, but instead require this package.
|
|
|
684e45 |
|
|
|
684e45 |
Backports to earlier versions of Python 3, if they exist, do not need this
|
|
|
684e45 |
package because of changes made in Python 3.3 in PEP 420
|
|
|
684e45 |
(http://www.python.org/dev/peps/pep-0420/).
|
|
|
684e45 |
|
|
|
684e45 |
|
|
|
684e45 |
%prep
|
|
|
684e45 |
|
|
|
684e45 |
|
|
|
684e45 |
%build
|
|
|
684e45 |
|
|
|
684e45 |
|
|
|
684e45 |
%install
|
|
|
684e45 |
mkdir -pm 755 %{buildroot}%{python_sitelib}/backports
|
|
|
684e45 |
install -pm 644 %{SOURCE0} %{buildroot}%{python_sitelib}/backports/__init__.py
|
|
|
684e45 |
%if "%{python_sitelib}" != "%{python_sitearch}"
|
|
|
684e45 |
mkdir -pm 755 %{buildroot}%{python_sitearch}/backports
|
|
|
684e45 |
install -pm 644 %{SOURCE0} %{buildroot}%{python_sitearch}/backports/__init__.py
|
|
|
684e45 |
%endif
|
|
|
684e45 |
|
|
|
684e45 |
|
|
|
684e45 |
%files
|
|
|
684e45 |
%{python_sitelib}/backports
|
|
|
684e45 |
%if "%{python_sitelib}" != "%{python_sitearch}"
|
|
|
684e45 |
%{python_sitearch}/backports
|
|
|
684e45 |
%endif
|
|
|
684e45 |
|
|
|
684e45 |
|
|
|
684e45 |
%changelog
|
|
|
684e45 |
* Tue Jan 13 2015 Endi S. Dewata <edewata@redhat.com> - 1.0-8
|
|
|
684e45 |
- Added conflict with older python-backports-lzma.
|
|
|
684e45 |
|
|
|
684e45 |
* Fri Jul 4 2014 Endi S. Dewata <edewata@redhat.com> - 1.0-7
|
|
|
684e45 |
- Reverted "Fixed build arch"
|
|
|
684e45 |
|
|
|
684e45 |
* Fri Feb 14 2014 Endi S. Dewata <edewata@redhat.com> - 1.0-6
|
|
|
684e45 |
- Fixed build arch
|
|
|
684e45 |
|
|
|
684e45 |
* Tue Jan 28 2014 Daniel Mach <dmach@redhat.com> - 1.0-5
|
|
|
684e45 |
- Mass rebuild 2014-01-24
|
|
|
684e45 |
|
|
|
684e45 |
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.0-4
|
|
|
684e45 |
- Mass rebuild 2013-12-27
|
|
|
684e45 |
|
|
|
684e45 |
* Mon Aug 19 2013 Ian Weller <iweller@redhat.com> - 1.0-3
|
|
|
684e45 |
- Install to both python_sitelib and python_sitearch
|
|
|
684e45 |
|
|
|
684e45 |
* Mon Aug 19 2013 Ian Weller <iweller@redhat.com> - 1.0-2
|
|
|
684e45 |
- Install to the correct location
|
|
|
684e45 |
|
|
|
684e45 |
* Fri Aug 16 2013 Ian Weller <iweller@redhat.com> - 1.0-1
|
|
|
684e45 |
- Initial package build
|