Accepting request 104893 from devel:languages:python

patch license to follow spdx.org standard (forwarded request 104493 from coolo)

OBS-URL: https://build.opensuse.org/request/show/104893
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ply?expand=0&rev=13
This commit is contained in:
Stephan Kulow 2012-02-20 15:17:34 +00:00 committed by Git OBS Bridge
commit 21645ea2f4
2 changed files with 12 additions and 8 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Feb 13 10:54:05 UTC 2012 - coolo@suse.com
- patch license to follow spdx.org standard
-------------------------------------------------------------------
Tue Mar 29 14:02:28 UTC 2011 - saschpe@suse.de

View File

@ -1,7 +1,7 @@
#
# spec file for package python-ply
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -15,7 +15,6 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
@ -24,10 +23,10 @@
Name: python-%{mod_name}
Version: 3.4
Release: 1
Release: 0
Url: http://www.dabeaz.com/ply/
Summary: Python Lex & Yacc
License: BSD3c
License: BSD-3-Clause
Group: Development/Languages/Python
Source: %{mod_name}-%{version}.tar.gz
Patch0: python-ply-shebangs.patch
@ -35,9 +34,9 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: python-devel
%if 0%{?suse_version}
%py_requires
%if 0%{?suse_version} > 1110
BuildArch: noarch
%endif
%if 0%{?suse_version} > 1110 || 0%{?fedora} > 12 || 0%{?mdkversion}
BuildArch: noarch
%endif
%description
@ -52,9 +51,9 @@ PLY is extremely easy to use and provides very extensive error checking.
It is compatible with both Python 2 and Python 3.
%package doc
License: LGPLv2.1+
Group: Development/Languages/Python
Summary: Python Lex & Yacc
License: LGPL-2.1+
Group: Development/Languages/Python
Requires: %{name} = %{version}
%description doc