Accepting request 339042 from home:TheBlackCat:branches:devel:languages:python

Fix license

OBS-URL: https://build.opensuse.org/request/show/339042
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-linecache2?expand=0&rev=2
This commit is contained in:
Todd R
2015-10-14 19:29:28 +00:00
committed by Git OBS Bridge
parent 5d5ec3077b
commit 5a10bcac95
2 changed files with 12 additions and 2 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Oct 14 19:16:33 UTC 2015 - toddrme2178@gmail.com
- Fix license. Should be Python-2.0
- Add license explanation.
-------------------------------------------------------------------
Mon Oct 12 11:13:52 UTC 2015 - toddrme2178@gmail.com

View File

@@ -20,7 +20,9 @@ Name: python-linecache2
Version: 1.0.0
Release: 0
Summary: Backports of the linecache module
License: MIT
# This is a backport of code taken from the Python codebase,
# and such is under the same license as Python as a whole.
License: Python-2.0
Group: Development/Languages/Python
Url: https://github.com/testing-cabal/linecache2
Source: https://pypi.python.org/packages/source/l/linecache2/linecache2-%{version}.tar.gz
@@ -34,7 +36,7 @@ BuildArch: noarch
%endif
%description
Backports of the linecache module
A backport of linecache to older supported Pythons.
%prep
%setup -q -n linecache2-%{version}
@@ -48,6 +50,8 @@ python setup.py install --prefix=%{_prefix} --optimize=2 --root=%{buildroot}
%files
%defattr(-,root,root,-)
%doc README.rst AUTHORS ChangeLog
# Contains the license
%doc setup.cfg
%{python_sitelib}/*
%changelog