forked from pool/python-funcparserlib
Clean up the SPEC file
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-funcparserlib?expand=0&rev=10
This commit is contained in:
@@ -16,26 +16,24 @@
|
||||
#
|
||||
|
||||
|
||||
%bcond_without tests
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%bcond_without tests
|
||||
Name: python-funcparserlib
|
||||
Version: 0.3.6
|
||||
Release: 0
|
||||
Url: http://code.google.com/p/funcparserlib/
|
||||
Summary: Recursive descent parsing library based on functional combinators
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
URL: http://code.google.com/p/funcparserlib/
|
||||
Source: https://files.pythonhosted.org/packages/source/f/funcparserlib/funcparserlib-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRequires: python3-2to3
|
||||
BuildArch: noarch
|
||||
%if %{with tests}
|
||||
BuildRequires: %{python_module nose}
|
||||
%endif
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
@@ -77,8 +75,8 @@ popd
|
||||
%endif
|
||||
|
||||
%files %{python_files}
|
||||
%defattr(-,root,root,-)
|
||||
%doc LICENSE README CHANGES
|
||||
%license LICENSE
|
||||
%doc README CHANGES
|
||||
%{python_sitelib}/funcparserlib/
|
||||
%{python_sitelib}/funcparserlib*egg-info
|
||||
|
||||
|
||||
Reference in New Issue
Block a user