forked from pool/python-pyparsing
Autobuild autoformatter for 73459
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyparsing?expand=0&rev=2
This commit is contained in:
parent
fcae087e79
commit
5b72c11078
@ -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
|
# norootforbuild
|
||||||
|
|
||||||
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
|
%{!?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
|
Name: python-pyparsing
|
||||||
Version: 1.5.3
|
Version: 1.5.3
|
||||||
Release: 0
|
Release: 1
|
||||||
Summary: Grammar Parser Library for Python
|
Summary: Grammar Parser Library for Python
|
||||||
# http://prdownloads.sourceforge.net/pyparsing/pyparsing-%{version}.zip
|
# http://prdownloads.sourceforge.net/pyparsing/pyparsing-%{version}.zip
|
||||||
Source: pyparsing-%{version}.tar.bz2
|
Source: pyparsing-%{version}.tar.bz2
|
||||||
URL: http://pyparsing.wikispaces.com/
|
Url: http://pyparsing.wikispaces.com/
|
||||||
Group: Development/Libraries/Python
|
Group: Development/Libraries/Python
|
||||||
License: GNU General Public License version 2 or later (GPL v2 or later)
|
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
|
BuildRequires: python python-devel
|
||||||
%if 0%{?suse_version} >= 1120
|
%if 0%{?suse_version} >= 1120
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%endif
|
%endif
|
||||||
%py_requires
|
%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.
|
code uses to construct the grammar directly in Python code.
|
||||||
|
|
||||||
%package doc
|
%package doc
|
||||||
|
|
||||||
Summary: Grammar Parser Library for Python - Documentation
|
Summary: Grammar Parser Library for Python - Documentation
|
||||||
Group: Development/Libraries/Python
|
Group: Development/Libraries/Python
|
||||||
Requires: %{name} = %{version}
|
Requires: %{name} = %{version}
|
||||||
|
|
||||||
%description doc
|
%description doc
|
||||||
The pyparsing module is an alternative approach to creating and executing
|
The pyparsing module is an alternative approach to creating and executing
|
||||||
@ -79,9 +97,9 @@ done
|
|||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%dir %doc %{_docdir}/%{name}
|
%dir %doc %{_docdir}/%{name}
|
||||||
|
|
||||||
%changelog
|
|
||||||
# vim: set sw=3 ts=3 noet:
|
# vim: set sw=3 ts=3 noet:
|
||||||
# Local Variables:
|
# Local Variables:
|
||||||
# mode: rpm-spec
|
# mode: rpm-spec
|
||||||
# tab-width: 3
|
# tab-width: 3
|
||||||
# End:
|
# End:
|
||||||
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user