Hello community,

here is the log from the commit of package python-pyenchant for 
openSUSE:Factory checked in at 2017-09-07 22:08:35
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pyenchant (Old)
 and      /work/SRC/openSUSE:Factory/.python-pyenchant.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pyenchant"

Thu Sep  7 22:08:35 2017 rev:12 rq:519987 version:1.6.11

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pyenchant/python-pyenchant.changes        
2015-05-16 19:01:40.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-pyenchant.new/python-pyenchant.changes   
2017-09-07 22:08:37.525780715 +0200
@@ -1,0 +2,11 @@
+Thu Aug 31 16:50:42 UTC 2017 - toddrme2...@gmail.com
+
+- update to version 1.6.11
+  * No changelog
+
+-------------------------------------------------------------------
+Thu Aug 24 13:50:44 UTC 2017 - jmate...@suse.com
+
+- singlespec auto-conversion
+
+-------------------------------------------------------------------
@@ -52,0 +64 @@
+

Old:
----
  pyenchant-1.6.6.tar.gz

New:
----
  pyenchant-1.6.11.tar.gz

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

Other differences:
------------------
++++++ python-pyenchant.spec ++++++
--- /var/tmp/diff_new_pack.xHbRf6/_old  2017-09-07 22:08:38.617626813 +0200
+++ /var/tmp/diff_new_pack.xHbRf6/_new  2017-09-07 22:08:38.625625686 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pyenchant
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 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
@@ -16,46 +16,62 @@
 #
 
 
-%define pyname  enchant
-%define modname py%{pyname}
-Name:           python-%{modname}
-Version:        1.6.6
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%define oldpython python
+%bcond_without  test
+Name:           python-pyenchant
+Version:        1.6.11
 Release:        0
-Url:            http://www.rfk.id.au/software/pyenchant/
 Summary:        Python bindings for the Enchant spellchecking system
 License:        LGPL-2.1+
 Group:          Development/Languages/Python
-Source:         
http://pypi.python.org/packages/source/p/%{modname}/%{modname}-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+Url:            https://github.com/rfk/pyenchant/
+Source:         
https://files.pythonhosted.org/packages/source/p/pyenchant/pyenchant-%{version}.tar.gz
+BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module setuptools}
+BuildRequires:  fdupes
+BuildRequires:  python-rpm-macros
+BuildRequires:  python3-2to3
+%if %{with test}
 BuildRequires:  enchant
-BuildRequires:  python-devel
-BuildRequires:  python-setuptools
+BuildRequires:  myspell-en
+BuildRequires:  myspell-en_AU
+BuildRequires:  myspell-en_US
+%endif
 Requires:       enchant
-Obsoletes:      python-enchant < %{version}
-Provides:       PyEnchant
-Provides:       python-enchant = %{version}
-%if 0%{?suse_version} <= 1110
-%{!?python_sitelib: %global python_sitelib %(python -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib()")}
-%else
 BuildArch:      noarch
+%ifpython2
+Provides:       PyEnchant = %{version}
+Obsoletes:      PyEnchant < %{version}
+Provides:       %{oldpython}-enchant = %{version}
+Obsoletes:      %{oldpython}-enchant < %{version}
 %endif
+%python_subpackages
 
 %description
 PyEnchant is a spellchecking library for Python, based on the excellent 
Enchant library.
 
 %prep
-%setup -q -n %{modname}-%{version}
+%setup -q -n pyenchant-%{version}
+chmod a-x *.txt
 
 %build
-python setup.py build
+%python_build
 
 %install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+%python_install
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
+
+%if %{with test}
+%check
+export LANG=en_US.UTF-8
+%python_exec setup.py test
+%endif
 
-%files
+%files %{python_files}
 %defattr(-,root,root,-)
 %doc LICENSE.txt README.txt TODO.txt
-%{python_sitelib}/%{pyname}
-%{python_sitelib}/%{modname}-%{version}-py%{py_ver}.egg-info 
+%{python_sitelib}/enchant
+%{python_sitelib}/pyenchant-%{version}-py*.egg-info
 
 %changelog

++++++ pyenchant-1.6.6.tar.gz -> pyenchant-1.6.11.tar.gz ++++++
++++ 1691 lines of diff (skipped)


Reply via email to