Clean up the SPEC file
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-bleach?expand=0&rev=21
This commit is contained in:
parent
2846e60ac2
commit
3c2753cf75
@ -24,7 +24,7 @@ Release: 0
|
||||
Summary: An easy whitelist-based HTML-sanitizing tool
|
||||
License: Apache-2.0
|
||||
Group: Development/Languages/Python
|
||||
Url: http://github.com/jsocol/bleach
|
||||
URL: http://github.com/jsocol/bleach
|
||||
Source: https://files.pythonhosted.org/packages/source/b/bleach/bleach-%{version}.tar.gz
|
||||
BuildRequires: %{python_module html5lib >= 0.99999999}
|
||||
BuildRequires: %{python_module pytest-runner}
|
||||
@ -37,9 +37,7 @@ BuildRequires: python-rpm-macros
|
||||
Requires: python-html5lib >= 0.99999999
|
||||
Requires: python-six
|
||||
Requires: python-webencodings
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildArch: noarch
|
||||
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
@ -71,16 +69,16 @@ http://bleach.readthedocs.org/
|
||||
%install
|
||||
%python_install
|
||||
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitelib}
|
||||
%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitelib}
|
||||
py.test-%{$python_bin_suffix}
|
||||
}
|
||||
|
||||
%files %{python_files}
|
||||
%defattr(-,root,root,-)
|
||||
%doc CHANGES LICENSE README.rst
|
||||
%license LICENSE
|
||||
%doc CHANGES README.rst
|
||||
%{python_sitelib}/*
|
||||
|
||||
%changelog
|
||||
|
Loading…
x
Reference in New Issue
Block a user