- Sort out a bit with spec-cleaner

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-voluptuous?expand=0&rev=11
This commit is contained in:
Tomáš Chvátal 2018-08-07 11:31:35 +00:00 committed by Git OBS Bridge
parent 05fc5ade5b
commit 2e1cf8c34f
2 changed files with 12 additions and 14 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Aug 7 11:31:24 UTC 2018 - tchvatal@suse.com
- Sort out a bit with spec-cleaner
-------------------------------------------------------------------
Fri Mar 23 15:05:35 UTC 2018 - tbechtold@suse.com

View File

@ -23,15 +23,13 @@ Release: 0
Summary: Voluptuous is a Python data validation library
License: BSD-3-Clause
Group: Development/Languages/Python
Url: http://github.com/alecthomas/voluptuous
Source: https://pypi.io/packages/source/v/voluptuous/voluptuous-%{version}.tar.gz
BuildRequires: %{python_module devel}
URL: http://github.com/alecthomas/voluptuous
Source: https://files.pythonhosted.org/packages/source/v/voluptuous/voluptuous-%{version}.tar.gz
BuildRequires: %{python_module nose}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%python_subpackages
%description
@ -39,12 +37,6 @@ Voluptuous, *despite* the name, is a Python data validation library. It
is primarily intended for validating data coming into Python as JSON,
YAML, etc.
It has three goals:
1. Simplicity.
2. Support for complex data structures.
3. Provide useful error messages.
%prep
%setup -q -n voluptuous-%{version}
@ -53,13 +45,14 @@ It has three goals:
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%python_exec %{_bindir}/nosetests
%python_exec %{_bindir}/nosetests -v
%files %{python_files}
%defattr(-,root,root,-)
%doc COPYING README.md README.rst
%license COPYING
%doc README.md README.rst
%{python_sitelib}/*
%changelog