mirror of
https://abf.rosa.ru/djam/python-backports.git
synced 2025-02-23 16:52:55 +00:00
Automatic import for version 1.0-8.el7
This commit is contained in:
parent
b302da3a00
commit
ad482a4861
1 changed files with 15 additions and 2 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
Name: python-backports
|
||||
Version: 1.0
|
||||
Release: 6%{?dist}
|
||||
Release: 8%{?dist}
|
||||
Summary: Namespace for backported Python features
|
||||
|
||||
# Only code is sourced from http://www.python.org/dev/peps/pep-0382/
|
||||
|
@ -10,8 +10,8 @@ License: Public Domain
|
|||
URL: https://pypi.python.org/pypi/backports
|
||||
Source0: backports.py
|
||||
|
||||
BuildArch: noarch
|
||||
BuildRequires: python2-devel
|
||||
Conflicts: python-backports-lzma < 0.0.2-8
|
||||
|
||||
%description
|
||||
The backports namespace is a namespace reserved for features backported from
|
||||
|
@ -34,13 +34,26 @@ package because of changes made in Python 3.3 in PEP 420
|
|||
%install
|
||||
mkdir -pm 755 %{buildroot}%{python_sitelib}/backports
|
||||
install -pm 644 %{SOURCE0} %{buildroot}%{python_sitelib}/backports/__init__.py
|
||||
%if "%{python_sitelib}" != "%{python_sitearch}"
|
||||
mkdir -pm 755 %{buildroot}%{python_sitearch}/backports
|
||||
install -pm 644 %{SOURCE0} %{buildroot}%{python_sitearch}/backports/__init__.py
|
||||
%endif
|
||||
|
||||
|
||||
%files
|
||||
%{python_sitelib}/backports
|
||||
%if "%{python_sitelib}" != "%{python_sitearch}"
|
||||
%{python_sitearch}/backports
|
||||
%endif
|
||||
|
||||
|
||||
%changelog
|
||||
* Tue Jan 13 2015 Endi S. Dewata <edewata@redhat.com> - 1.0-8
|
||||
- Added conflict with older python-backports-lzma.
|
||||
|
||||
* Fri Jul 4 2014 Endi S. Dewata <edewata@redhat.com> - 1.0-7
|
||||
- Reverted "Fixed build arch"
|
||||
|
||||
* Fri Feb 14 2014 Endi S. Dewata <edewata@redhat.com> - 1.0-6
|
||||
- Fixed build arch
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue