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