forked from pool/python-WTForms
Accepting request 654074 from devel:languages:python
Remove superfluous devel dependency for noarch package OBS-URL: https://build.opensuse.org/request/show/654074 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-WTForms?expand=0&rev=4
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 4 12:56:14 UTC 2018 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
- Remove superfluous devel dependency for noarch package
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Sep 2 16:47:57 UTC 2017 - jengelh@inai.de
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-WTForms
|
||||
#
|
||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -12,7 +12,7 @@
|
||||
# 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/
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
@@ -24,24 +24,23 @@ Release: 0
|
||||
Summary: A flexible forms validation and rendering library for Python web development
|
||||
License: BSD-3-Clause
|
||||
Group: Development/Languages/Python
|
||||
Url: http://wtforms.simplecodes.com/
|
||||
URL: http://wtforms.simplecodes.com/
|
||||
Source: https://files.pythonhosted.org/packages/source/W/WTForms/WTForms-%{version}.zip
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRequires: unzip
|
||||
Recommends: python-Babel
|
||||
Recommends: python-Django
|
||||
Recommends: python-SQLAlchemy
|
||||
Recommends: python-python-dateutil
|
||||
BuildArch: noarch
|
||||
%if %{with test}
|
||||
BuildRequires: python3-Babel
|
||||
BuildRequires: python3-Django
|
||||
BuildRequires: python3-SQLAlchemy
|
||||
BuildRequires: python3-python-dateutil
|
||||
%endif
|
||||
Recommends: python-Babel
|
||||
Recommends: python-Django
|
||||
Recommends: python-SQLAlchemy
|
||||
Recommends: python-python-dateutil
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
@@ -59,6 +58,7 @@ Requires: %{name} = %{version}
|
||||
Documentation for WTForms, which is a forms validation and rendering library for Python web development.
|
||||
|
||||
%package lang
|
||||
# FIXME: consider using %%lang_package macro
|
||||
Summary: Languages for package %{name}
|
||||
Group: System/Localization
|
||||
Requires: %{name} = %{version}
|
||||
@@ -88,24 +88,21 @@ rm -rf docs/html/.buildinfo # Remove junk
|
||||
%endif
|
||||
|
||||
%files %{python_files}
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS.txt CHANGES.rst LICENSE.txt README.md
|
||||
%license LICENSE.txt
|
||||
%doc AUTHORS.txt CHANGES.rst README.md
|
||||
%{python_sitelib}/*
|
||||
%exclude %{python_sitelib}/wtforms/locale
|
||||
|
||||
%files -n %{name}-doc
|
||||
%defattr(-,root,root,-)
|
||||
%doc docs/html
|
||||
|
||||
%if %have_python2 && ! 0%{?skip_python2}
|
||||
%if %{have_python2} && ! 0%{?skip_python2}
|
||||
%files -n %{python2_prefix}-WTForms-lang -f wtforms_%{python2_bin_suffix}.lang
|
||||
%defattr(-,root,root,-)
|
||||
%{python2_sitelib}/wtforms/locale
|
||||
%endif
|
||||
|
||||
%if %have_python2 && ! 0%{?skip_python3}
|
||||
%if %{have_python2} && ! 0%{?skip_python3}
|
||||
%files -n %{python3_prefix}-WTForms-lang -f wtforms_%{python3_bin_suffix}.lang
|
||||
%defattr(-,root,root,-)
|
||||
%{python3_sitelib}/wtforms/locale
|
||||
%endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user