forked from pool/python-FormEncode
Accepting request 178353 from home:dirkmueller:branches:devel:languages:python
- update to 1.2.5: * The method field_is_empty was added to formencode.validators.FormValidator * Fix packaging issue with i18n files (from Juliusz Gonera) OBS-URL: https://build.opensuse.org/request/show/178353 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-FormEncode?expand=0&rev=5
This commit is contained in:
committed by
Git OBS Bridge
parent
b2a9472808
commit
c2d6701df7
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-FormEncode
|
||||
#
|
||||
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -11,21 +11,23 @@
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# 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/
|
||||
#
|
||||
|
||||
|
||||
Name: python-FormEncode
|
||||
Version: 1.2.4
|
||||
Version: 1.2.6
|
||||
Release: 0
|
||||
Url: http://formencode.org
|
||||
Summary: HTML form validation, generation, and conversion package
|
||||
License: Python-2.0
|
||||
Group: Development/Languages/Python
|
||||
Source: http://pypi.python.org/packages/source/F/FormEncode/FormEncode-%{version}.tar.gz
|
||||
Source: http://pypi.python.org/packages/source/F/FormEncode/FormEncode-%{version}.zip
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: python-distribute
|
||||
BuildRequires: unzip
|
||||
Provides: python-formencode = %{version}
|
||||
Obsoletes: python-formencode < %{version}
|
||||
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
||||
@@ -41,8 +43,6 @@ for filling and generating forms.
|
||||
|
||||
%prep
|
||||
%setup -q -n FormEncode-%{version}
|
||||
mv docs/_build docs/html # Use a better name for HTML docs
|
||||
sed -i "s/\r$//" docs/modules/national.txt # Fix EOL encoding
|
||||
|
||||
%build
|
||||
python setup.py build
|
||||
@@ -52,7 +52,6 @@ python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc docs/html
|
||||
%{python_sitelib}/*
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user