Hello community,

here is the log from the commit of package python-FormEncode for 
openSUSE:Factory checked in at 2015-05-10 10:46:16
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-FormEncode (Old)
 and      /work/SRC/openSUSE:Factory/.python-FormEncode.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-FormEncode"

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-FormEncode/python-FormEncode.changes      
2013-10-25 11:16:23.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-FormEncode.new/python-FormEncode.changes 
2015-05-10 10:46:17.000000000 +0200
@@ -1,0 +2,21 @@
+Tue May  5 14:33:11 UTC 2015 - [email protected]
+
+- update to version 1.3.0:
+  * Support validation of email addresses with unicode domain names
+  * FormEncode 1.3 is no longer compatible with Python 2.3, 2.4, or
+    2.5
+  * FormEncode now also runs under Python 3.2 and 3.3
+  * Validation of email addresses using resolve_domain option now
+    requires the dnspython third party library instead of pyDNS
+  * The FancyValidator methods _to_python, _from_python,
+    validate_python and validate_other have been renamed to
+    _convert_to_python, _convert_from_python, _validate_python and
+    _validate_other, respectively
+- add fdupes as BuildRequires and call it after install
+- fix end of line of README.rst
+- remove chmod of msgfmt.py: file deleted upstream
+- install html documentation in the docdir of the main package
+- do not install PKG-INFO in the documentation: already provided
+  by the egg-info
+
+-------------------------------------------------------------------

Old:
----
  FormEncode-1.2.6.zip

New:
----
  FormEncode-1.3.0.zip

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-FormEncode.spec ++++++
--- /var/tmp/diff_new_pack.V8aPkv/_old  2015-05-10 10:46:17.000000000 +0200
+++ /var/tmp/diff_new_pack.V8aPkv/_new  2015-05-10 10:46:17.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-FormEncode
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 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
@@ -17,7 +17,7 @@
 
 
 Name:           python-FormEncode
-Version:        1.2.6
+Version:        1.3.0
 Release:        0
 Url:            http://formencode.org
 Summary:        HTML form validation, generation, and conversion package
@@ -26,6 +26,7 @@
 Source:         
http://pypi.python.org/packages/source/F/FormEncode/FormEncode-%{version}.zip
 Source1:        FormEncode-doc-infrastructure.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+BuildRequires:  fdupes
 BuildRequires:  python-devel
 BuildRequires:  python-setuptools
 BuildRequires:  unzip
@@ -56,7 +57,7 @@
 %prep
 %setup -q -n FormEncode-%{version} -a1
 find . -name \*.txt -exec sed -i 's/\r$//g' {} \;
-sed -i 's/\r$//g' PKG-INFO formencode/i18n/msgfmt.py
+sed -i 's/\r$//g' PKG-INFO README.rst
 
 %build
 python setup.py build
@@ -64,15 +65,24 @@
 
 %install
 python setup.py install --prefix=%{_prefix} --root=%{buildroot}
-chmod 755 %{buildroot}%{python_sitelib}/formencode/i18n/msgfmt.py
+
+# install documentation
+rm -r %{buildroot}/%{python_sitelib}/docs # remove misplaced documentation
+mkdir -p %{buildroot}%{_docdir}/%{name}
+cp -r README.rst build/sphinx/html %{buildroot}%{_docdir}/%{name}/
+
+%fdupes %{buildroot}/%{_prefix}
 
 %files
 %defattr(-,root,root,-)
-%doc PKG-INFO README.txt
+%exclude %{_docdir}/%{name}/html
+%doc %dir %{_docdir}/%{name}/
+%doc %{_docdir}/%{name}/README.rst
 %{python_sitelib}/*
 
 %files doc
 %defattr(-,root,root,-)
-%doc build/sphinx/html/
+%doc %dir %{_docdir}/%{name}/html
+%doc %{_docdir}/%{name}/html/*
 
 %changelog


Reply via email to