diff --git a/python-ply.changes b/python-ply.changes index c29b766..40f5571 100644 --- a/python-ply.changes +++ b/python-ply.changes @@ -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 diff --git a/python-ply.spec b/python-ply.spec index bb93ec4..ab53fa9 100644 --- a/python-ply.spec +++ b/python-ply.spec @@ -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