From 5b72c11078c6aa0765bc96db40b7c10b3a7e2d87d9c5edf7a981db40f4da8e43 Mon Sep 17 00:00:00 2001 From: Sascha Peilicke Date: Tue, 28 Jun 2011 13:20:38 +0000 Subject: [PATCH] Autobuild autoformatter for 73459 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyparsing?expand=0&rev=2 --- python-pyparsing.spec | 30 ++++++++++++++++++++++++------ 1 file changed, 24 insertions(+), 6 deletions(-) diff --git a/python-pyparsing.spec b/python-pyparsing.spec index ab766fa..c3f0754 100644 --- a/python-pyparsing.spec +++ b/python-pyparsing.spec @@ -1,3 +1,20 @@ +# +# spec file for package python-pyparsing +# +# Copyright (c) 2011 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 +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# 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())")} @@ -5,17 +22,17 @@ Name: python-pyparsing Version: 1.5.3 -Release: 0 +Release: 1 Summary: Grammar Parser Library for Python # http://prdownloads.sourceforge.net/pyparsing/pyparsing-%{version}.zip Source: pyparsing-%{version}.tar.bz2 -URL: http://pyparsing.wikispaces.com/ +Url: http://pyparsing.wikispaces.com/ Group: Development/Libraries/Python License: GNU General Public License version 2 or later (GPL v2 or later) -BuildRoot: %{_tmppath}/build-%{name}-%{version} +BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: python python-devel %if 0%{?suse_version} >= 1120 -BuildArch: noarch +BuildArch: noarch %endif %py_requires @@ -26,9 +43,10 @@ expressions. The pyparsing module provides a library of classes that client code uses to construct the grammar directly in Python code. %package doc + Summary: Grammar Parser Library for Python - Documentation Group: Development/Libraries/Python -Requires: %{name} = %{version} +Requires: %{name} = %{version} %description doc The pyparsing module is an alternative approach to creating and executing @@ -79,9 +97,9 @@ done %defattr(-,root,root) %dir %doc %{_docdir}/%{name} -%changelog # vim: set sw=3 ts=3 noet: # Local Variables: # mode: rpm-spec # tab-width: 3 # End: +%changelog