From adb88760488e2a77c13ff8d942b21c08ce00454cf4f5bf031a8b0dc1a3e2dc0c Mon Sep 17 00:00:00 2001 From: Sascha Peilicke Date: Tue, 6 Dec 2011 09:37:26 +0000 Subject: [PATCH 1/2] Accepting request 95312 from home:openttdcoop also fedora and mandriva support noarch OBS-URL: https://build.opensuse.org/request/show/95312 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ply?expand=0&rev=9 --- python-ply.spec | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/python-ply.spec b/python-ply.spec index 90aeb1d..b933f24 100644 --- a/python-ply.spec +++ b/python-ply.spec @@ -11,11 +11,12 @@ # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# + # 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)")} @@ -23,7 +24,7 @@ Name: python-%{mod_name} Version: 3.4 -Release: 0 +Release: 1 Url: http://www.dabeaz.com/ply/ Summary: Python Lex & Yacc License: BSD3c @@ -34,9 +35,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 From 9bcb45996b658571946610c1d43472c169eccacdbb08f3e13611ca0be518daa9 Mon Sep 17 00:00:00 2001 From: Sascha Peilicke Date: Tue, 14 Feb 2012 08:33:53 +0000 Subject: [PATCH 2/2] Accepting request 104493 from devel:openSUSE:Factory:patch-license patch license to follow spdx.org standard OBS-URL: https://build.opensuse.org/request/show/104493 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ply?expand=0&rev=10 --- python-ply.changes | 5 +++++ python-ply.spec | 11 +++++------ 2 files changed, 10 insertions(+), 6 deletions(-) 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 b933f24..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 @@ -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