From c62163a6df053fa3f006bc4abb228d2f3a1a8232 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Tue, 10 Nov 2015 11:05:38 +0200 Subject: [PATCH 01/60] Rebuild for https://fedoraproject.org/wiki/Changes/python3.5 --- python-enchant.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-enchant.spec b/python-enchant.spec index e5c04ea..6fb3afb 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -2,7 +2,7 @@ Name: python-enchant Version: 1.6.6 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Python bindings for Enchant spellchecking library Group: Development/Languages @@ -136,6 +136,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Tue Nov 10 2015 Ville Skyttä - 1.6.6-3 +- Rebuild for https://fedoraproject.org/wiki/Changes/python3.5 + * Thu Jun 18 2015 Fedora Release Engineering - 1.6.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild From 12d03ad289f3831c884d6e21ab968a30a667b6a7 Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Tue, 10 Nov 2015 15:49:28 +0000 Subject: [PATCH 02/60] - Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5 --- python-enchant.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-enchant.spec b/python-enchant.spec index 6fb3afb..a4050bc 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -2,7 +2,7 @@ Name: python-enchant Version: 1.6.6 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Python bindings for Enchant spellchecking library Group: Development/Languages @@ -136,6 +136,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Tue Nov 10 2015 Fedora Release Engineering - 1.6.6-4 +- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5 + * Tue Nov 10 2015 Ville Skyttä - 1.6.6-3 - Rebuild for https://fedoraproject.org/wiki/Changes/python3.5 From 7a5ac8c9429e3b762602c0fac75e4b0795fb3b68 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Thu, 31 Dec 2015 17:16:42 +0200 Subject: [PATCH 03/60] Add dependency on enchant to python3 subpackage --- python-enchant.spec | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/python-enchant.spec b/python-enchant.spec index a4050bc..e5ae800 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -1,8 +1,12 @@ %global with_python3 1 +# Work around a problem with libenchant versioning +# (python-enchant-1.3.1 failed to work with enchant-1.4.2-2.fc10) +%global enchant_dep enchant >= 1.5.0 + Name: python-enchant Version: 1.6.6 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Python bindings for Enchant spellchecking library Group: Development/Languages @@ -28,9 +32,7 @@ BuildRequires: python3-setuptools >= 0:0.6a9 BuildRequires: python3-nose %endif # if with_python3 -# Work around a problem with libenchant versioning -# (python-enchant-1.3.1 failed to work with enchant-1.4.2-2.fc10) -Requires: enchant >= 1.5.0 +Requires: %{enchant_dep} # Package was arch specific before Obsoletes: python-enchant < 1.6.5 @@ -45,6 +47,7 @@ library by Dom Lachowicz. %package -n python3-enchant Summary: Python 3 bindings for Enchant spellchecking library Group: Development/Languages +Requires: %{enchant_dep} %description -n python3-enchant PyEnchant is a spellchecking library for Python 3, based on the Enchant @@ -94,8 +97,6 @@ pushd $RPM_BUILD_ROOT/%{python_sitelib} LANG=en_US.UTF-8 /usr/bin/nosetests-2.* popd -# Tests are failing in python3 because of collision between -# local and stdlib tokenize module pushd $RPM_BUILD_ROOT/%{python3_sitelib} # There is no dictionary for language C, need to use en_US LANG=en_US.UTF-8 /usr/bin/nosetests-3.* @@ -136,6 +137,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Thu Dec 31 2015 Ville Skyttä - 1.6.6-5 +- Add dependency on enchant to python3 subpackage + * Tue Nov 10 2015 Fedora Release Engineering - 1.6.6-4 - Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5 @@ -165,7 +169,7 @@ rm -rf $RPM_BUILD_ROOT - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Thu Nov 01 2012 Radek Novacek 1.6.5-9 -- Enable tests in %check +- Enable tests in %%check * Wed Oct 31 2012 Radek Novacek 1.6.5-8 - Fix upstream url and source url From 80d9518d52a4382da77c118181dde7b42cf5dff3 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 4 Feb 2016 19:34:53 +0000 Subject: [PATCH 04/60] - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild --- python-enchant.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-enchant.spec b/python-enchant.spec index e5ae800..9952c6b 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -6,7 +6,7 @@ Name: python-enchant Version: 1.6.6 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Python bindings for Enchant spellchecking library Group: Development/Languages @@ -137,6 +137,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Thu Feb 04 2016 Fedora Release Engineering - 1.6.6-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + * Thu Dec 31 2015 Ville Skyttä - 1.6.6-5 - Add dependency on enchant to python3 subpackage From 55fbecae61d64ad751d4efe005714de3e7becaeb Mon Sep 17 00:00:00 2001 From: Radek Novacek Date: Thu, 11 Feb 2016 16:03:40 +0100 Subject: [PATCH 05/60] Fix TypeError at shutdown --- 0001-Fix-TypeError-at-shutdown.patch | 29 ++++++++++++++++++++++++++++ python-enchant.spec | 7 ++++++- 2 files changed, 35 insertions(+), 1 deletion(-) create mode 100644 0001-Fix-TypeError-at-shutdown.patch diff --git a/0001-Fix-TypeError-at-shutdown.patch b/0001-Fix-TypeError-at-shutdown.patch new file mode 100644 index 0000000..948e15c --- /dev/null +++ b/0001-Fix-TypeError-at-shutdown.patch @@ -0,0 +1,29 @@ +From ab4930e371ab168b74d8becdac0517c369931a88 Mon Sep 17 00:00:00 2001 +From: six +Date: Sun, 3 May 2015 07:54:40 -0700 +Subject: [PATCH] Fix TypeError at shutdown. + +--- + enchant/__init__.py | 5 ++++- + 1 file changed, 4 insertions(+), 1 deletion(-) + +diff --git a/enchant/__init__.py b/enchant/__init__.py +index cc77eba..eb8079c 100644 +--- a/enchant/__init__.py ++++ b/enchant/__init__.py +@@ -240,8 +240,11 @@ class Broker(_EnchantObject): + + def __del__(self): + """Broker object destructor.""" +- if _e is not None: ++ # Calling free() might fail if python is shutting down ++ try: + self._free() ++ except (AttributeError, TypeError): ++ pass + + def __getstate__(self): + state = super(Broker,self).__getstate__() +-- +2.5.0 + diff --git a/python-enchant.spec b/python-enchant.spec index 9952c6b..7bb8b52 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -6,13 +6,14 @@ Name: python-enchant Version: 1.6.6 -Release: 6%{?dist} +Release: 7%{?dist} Summary: Python bindings for Enchant spellchecking library Group: Development/Languages License: LGPLv2+ URL: http://packages.python.org/pyenchant/ Source0: http://pypi.python.org/packages/source/p/pyenchant/pyenchant-%{version}.tar.gz +Patch0: 0001-Fix-TypeError-at-shutdown.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch @@ -56,6 +57,7 @@ library by Dom Lachowicz. %prep %setup -q -n pyenchant-%{version} +%patch0 -p1 %if 0%{?with_python3} rm -rf %{py3dir} @@ -137,6 +139,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Wed Feb 10 2016 David Shea - 1.6.6-7 +- Fix TypeError at shutdown + * Thu Feb 04 2016 Fedora Release Engineering - 1.6.6-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild From b295df84ed06b21473a94ef63407450814498ca2 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Tue, 19 Jul 2016 09:35:28 +0000 Subject: [PATCH 06/60] - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages --- python-enchant.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-enchant.spec b/python-enchant.spec index 7bb8b52..d4b819e 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -6,7 +6,7 @@ Name: python-enchant Version: 1.6.6 -Release: 7%{?dist} +Release: 8%{?dist} Summary: Python bindings for Enchant spellchecking library Group: Development/Languages @@ -139,6 +139,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Tue Jul 19 2016 Fedora Release Engineering - 1.6.6-8 +- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages + * Wed Feb 10 2016 David Shea - 1.6.6-7 - Fix TypeError at shutdown From e7efc935cc6a9055d7d01d2599763d93bc1f9922 Mon Sep 17 00:00:00 2001 From: Charalampos Stratakis Date: Wed, 23 Nov 2016 12:03:24 +0100 Subject: [PATCH 07/60] Update to 1.6.8 Remove patch as it has been merged upstream. Remove the python3 conditionals. Changed the sources URL to point to the correct one for pypi. Modernize SPEC and use the python_provide macro. Do not remove egg-info during %install, in order for the python provides to be generated correctly. --- .gitignore | 1 + 0001-Fix-TypeError-at-shutdown.patch | 29 ----- python-enchant.spec | 165 +++++++++++++-------------- sources | 2 +- 4 files changed, 79 insertions(+), 118 deletions(-) delete mode 100644 0001-Fix-TypeError-at-shutdown.patch diff --git a/.gitignore b/.gitignore index 105ff3b..20572fe 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ pyenchant-1.3.1.tar.gz /pyenchant-1.6.5.tar.gz /pyenchant-1.6.6.tar.gz +/pyenchant-1.6.8.tar.gz diff --git a/0001-Fix-TypeError-at-shutdown.patch b/0001-Fix-TypeError-at-shutdown.patch deleted file mode 100644 index 948e15c..0000000 --- a/0001-Fix-TypeError-at-shutdown.patch +++ /dev/null @@ -1,29 +0,0 @@ -From ab4930e371ab168b74d8becdac0517c369931a88 Mon Sep 17 00:00:00 2001 -From: six -Date: Sun, 3 May 2015 07:54:40 -0700 -Subject: [PATCH] Fix TypeError at shutdown. - ---- - enchant/__init__.py | 5 ++++- - 1 file changed, 4 insertions(+), 1 deletion(-) - -diff --git a/enchant/__init__.py b/enchant/__init__.py -index cc77eba..eb8079c 100644 ---- a/enchant/__init__.py -+++ b/enchant/__init__.py -@@ -240,8 +240,11 @@ class Broker(_EnchantObject): - - def __del__(self): - """Broker object destructor.""" -- if _e is not None: -+ # Calling free() might fail if python is shutting down -+ try: - self._free() -+ except (AttributeError, TypeError): -+ pass - - def __getstate__(self): - state = super(Broker,self).__getstate__() --- -2.5.0 - diff --git a/python-enchant.spec b/python-enchant.spec index d4b819e..13507b3 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -1,100 +1,90 @@ -%global with_python3 1 - # Work around a problem with libenchant versioning # (python-enchant-1.3.1 failed to work with enchant-1.4.2-2.fc10) %global enchant_dep enchant >= 1.5.0 +%global srcname enchant Name: python-enchant -Version: 1.6.6 -Release: 8%{?dist} +Version: 1.6.8 +Release: 1%{?dist} Summary: Python bindings for Enchant spellchecking library -Group: Development/Languages License: LGPLv2+ URL: http://packages.python.org/pyenchant/ -Source0: http://pypi.python.org/packages/source/p/pyenchant/pyenchant-%{version}.tar.gz -Patch0: 0001-Fix-TypeError-at-shutdown.patch -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Source0: https://files.pythonhosted.org/packages/source/p/py%{srcname}/py%{srcname}-%{version}.tar.gz BuildArch: noarch BuildRequires: enchant-devel -# Python 2 build requirements: -BuildRequires: python2-devel -BuildRequires: python-setuptools >= 0:0.6a9 -# For running tests -BuildRequires: python-nose - -# Python 3 build requirements: -%if 0%{?with_python3} -BuildRequires: python3-devel -BuildRequires: python3-setuptools >= 0:0.6a9 -# For running tests -BuildRequires: python3-nose -%endif # if with_python3 - -Requires: %{enchant_dep} - -# Package was arch specific before -Obsoletes: python-enchant < 1.6.5 - -Provides: PyEnchant - %description PyEnchant is a spellchecking library for Python, based on the Enchant library by Dom Lachowicz. -%if 0%{?with_python3} -%package -n python3-enchant -Summary: Python 3 bindings for Enchant spellchecking library -Group: Development/Languages +%package -n python2-%{srcname} +Summary: Python 2 bindings for Enchant spellchecking library + +BuildRequires: python2-devel +BuildRequires: python2-setuptools +# For running tests +BuildRequires: python2-nose + Requires: %{enchant_dep} -%description -n python3-enchant +Provides: PyEnchant + +%{?python_provide:%python_provide python2-%{srcname}} + +%description -n python2-%{srcname} +PyEnchant is a spellchecking library for Python 2, based on the Enchant +library by Dom Lachowicz. + +%package -n python3-%{srcname} +Summary: Python 3 bindings for Enchant spellchecking library + +BuildRequires: python3-devel +BuildRequires: python3-setuptools +# For running tests +BuildRequires: python3-nose + +Requires: %{enchant_dep} + +%{?python_provide:%python_provide python3-%{srcname}} + +%description -n python3-%{srcname} PyEnchant is a spellchecking library for Python 3, based on the Enchant library by Dom Lachowicz. -%endif # with_python3 %prep -%setup -q -n pyenchant-%{version} -%patch0 -p1 +%setup -q -n py%{srcname}-%{version} +# Remove bundled egg-info +rm -rf py%{srcname}.egg-info -%if 0%{?with_python3} rm -rf %{py3dir} cp -a . %{py3dir} find %{py3dir} -name '*.py' | xargs sed -i '1s|^#!python|#!%{__python3}|' -%endif # with_python3 - %build -CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build +CFLAGS="$RPM_OPT_FLAGS" %py2_build -%if 0%{?with_python3} pushd %{py3dir} -CFLAGS="$RPM_OPT_FLAGS" %{__python3} setup.py build +CFLAGS="$RPM_OPT_FLAGS" %py3_build popd -%endif # with_python3 %install -rm -rf $RPM_BUILD_ROOT - -%if 0%{?with_python3} pushd %{py3dir} -%{__python3} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT --single-version-externally-managed -rm -rf $RPM_BUILD_ROOT/%{python3_sitelib}/*.egg-info +%py3_install \ + --single-version-externally-managed # Directories used in windows build -rm -rf $RPM_BUILD_ROOT/%{python3_sitelib}/enchant/lib -rm -rf $RPM_BUILD_ROOT/%{python3_sitelib}/enchant/share +rm -rf $RPM_BUILD_ROOT/%{python3_sitelib}/%{srcname}/lib +rm -rf $RPM_BUILD_ROOT/%{python3_sitelib}/%{srcname}/share popd -%endif # with_python3 -%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT --single-version-externally-managed -rm -rf $RPM_BUILD_ROOT/%{python_sitelib}/*.egg-info +%py2_install \ + --single-version-externally-managed # Directories used in windows build -rm -rf $RPM_BUILD_ROOT/%{python_sitelib}/enchant/lib -rm -rf $RPM_BUILD_ROOT/%{python_sitelib}/enchant/share +rm -rf $RPM_BUILD_ROOT/%{python2_sitelib}/%{srcname}/lib +rm -rf $RPM_BUILD_ROOT/%{python2_sitelib}/%{srcname}/share %check -pushd $RPM_BUILD_ROOT/%{python_sitelib} +pushd $RPM_BUILD_ROOT/%{python2_sitelib} # There is no dictionary for language C, need to use en_US LANG=en_US.UTF-8 /usr/bin/nosetests-2.* popd @@ -104,41 +94,40 @@ pushd $RPM_BUILD_ROOT/%{python3_sitelib} LANG=en_US.UTF-8 /usr/bin/nosetests-3.* popd -%clean -rm -rf $RPM_BUILD_ROOT +%files -n python2-%{srcname} +%doc README.txt TODO.txt +%license LICENSE.txt +%dir %{python2_sitelib}/%{srcname} +%dir %{python2_sitelib}/%{srcname}/checker +%dir %{python2_sitelib}/%{srcname}/tokenize +%{python2_sitelib}/%{srcname}/*.py +%{python2_sitelib}/%{srcname}/*.py[co] +%{python2_sitelib}/%{srcname}/*/*.py +%{python2_sitelib}/%{srcname}/*/*.py[co] +%{python2_sitelib}/py%{srcname}-%{version}-py?.?.egg-info - -%files -%defattr(-,root,root,-) -%doc LICENSE.txt README.txt TODO.txt -%dir %{python_sitelib}/enchant -%dir %{python_sitelib}/enchant/checker -%dir %{python_sitelib}/enchant/tokenize -%{python_sitelib}/enchant/*.py -%{python_sitelib}/enchant/*.py[co] -%{python_sitelib}/enchant/*/*.py -%{python_sitelib}/enchant/*/*.py[co] - -%if 0%{?with_python3} -%files -n python3-enchant -%defattr(-,root,root,-) -%doc LICENSE.txt README.txt TODO.txt -%dir %{python3_sitelib}/enchant -%dir %{python3_sitelib}/enchant/__pycache__ -%dir %{python3_sitelib}/enchant/checker -%dir %{python3_sitelib}/enchant/checker/__pycache__ -%dir %{python3_sitelib}/enchant/tokenize -%dir %{python3_sitelib}/enchant/tokenize/__pycache__ -%{python3_sitelib}/enchant/*.py -%{python3_sitelib}/enchant/__pycache__/*.py[co] -%{python3_sitelib}/enchant/checker/*.py -%{python3_sitelib}/enchant/checker/__pycache__/*.py[co] -%{python3_sitelib}/enchant/tokenize/*.py -%{python3_sitelib}/enchant/tokenize/__pycache__/*.py[co] -%endif # with_python3 +%files -n python3-%{srcname} +%doc README.txt TODO.txt +%license LICENSE.txt +%dir %{python3_sitelib}/%{srcname} +%dir %{python3_sitelib}/%{srcname}/__pycache__ +%dir %{python3_sitelib}/%{srcname}/checker +%dir %{python3_sitelib}/%{srcname}/checker/__pycache__ +%dir %{python3_sitelib}/%{srcname}/tokenize +%dir %{python3_sitelib}/%{srcname}/tokenize/__pycache__ +%{python3_sitelib}/%{srcname}/*.py +%{python3_sitelib}/%{srcname}/__pycache__/*.py[co] +%{python3_sitelib}/%{srcname}/checker/*.py +%{python3_sitelib}/%{srcname}/checker/__pycache__/*.py[co] +%{python3_sitelib}/%{srcname}/tokenize/*.py +%{python3_sitelib}/%{srcname}/tokenize/__pycache__/*.py[co] +%{python3_sitelib}/py%{srcname}-%{version}-py?.?.egg-info %changelog +* Tue Nov 22 2016 Charalampos Stratakis - 1.6.8-1 +- Update to 1.6.8 + * Tue Jul 19 2016 Fedora Release Engineering - 1.6.6-8 - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages diff --git a/sources b/sources index 2e7157c..ebc9aa5 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -9f5acfd87d04432bf8df5f9710a17358 pyenchant-1.6.6.tar.gz +b59c06be2d6c7f79f521b569ee0e441b pyenchant-1.6.8.tar.gz From d8bd5ebe648b891f783ee2fbd97df342dde0c30e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Mon, 19 Dec 2016 18:20:37 +0100 Subject: [PATCH 08/60] Rebuild for Python 3.6 --- python-enchant.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-enchant.spec b/python-enchant.spec index 13507b3..342ac28 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -5,7 +5,7 @@ Name: python-enchant Version: 1.6.8 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Python bindings for Enchant spellchecking library License: LGPLv2+ @@ -125,6 +125,9 @@ popd %changelog +* Mon Dec 19 2016 Miro Hrončok - 1.6.8-2 +- Rebuild for Python 3.6 + * Tue Nov 22 2016 Charalampos Stratakis - 1.6.8-1 - Update to 1.6.8 From aa80b053e9c6cad11013835d081840a174996a6c Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 11 Feb 2017 08:56:27 +0000 Subject: [PATCH 09/60] - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild --- python-enchant.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-enchant.spec b/python-enchant.spec index 342ac28..1905f60 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -5,7 +5,7 @@ Name: python-enchant Version: 1.6.8 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Python bindings for Enchant spellchecking library License: LGPLv2+ @@ -125,6 +125,9 @@ popd %changelog +* Sat Feb 11 2017 Fedora Release Engineering - 1.6.8-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + * Mon Dec 19 2016 Miro Hrončok - 1.6.8-2 - Rebuild for Python 3.6 From 1b088793afeb96b8833a03ee8c17ce44fa0932e5 Mon Sep 17 00:00:00 2001 From: Charalampos Stratakis Date: Wed, 19 Jul 2017 17:56:35 +0200 Subject: [PATCH 10/60] Update to 1.6.10 --- .gitignore | 1 + python-enchant.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 20572fe..4085109 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ pyenchant-1.3.1.tar.gz /pyenchant-1.6.5.tar.gz /pyenchant-1.6.6.tar.gz /pyenchant-1.6.8.tar.gz +/pyenchant-1.6.10.tar.gz diff --git a/python-enchant.spec b/python-enchant.spec index 1905f60..c6e2a19 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -4,8 +4,8 @@ %global srcname enchant Name: python-enchant -Version: 1.6.8 -Release: 3%{?dist} +Version: 1.6.10 +Release: 1%{?dist} Summary: Python bindings for Enchant spellchecking library License: LGPLv2+ @@ -125,6 +125,9 @@ popd %changelog +* Wed Jul 19 2017 Charalampos Stratakis - 1.6.10-1 +- Update to 1.6.10 + * Sat Feb 11 2017 Fedora Release Engineering - 1.6.8-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild diff --git a/sources b/sources index ebc9aa5..891c6ac 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -b59c06be2d6c7f79f521b569ee0e441b pyenchant-1.6.8.tar.gz +SHA512 (pyenchant-1.6.10.tar.gz) = 56847a5d796c7f030c07af6f696983af2a24a6771ed52a4a7a445ee674f57e2150ddb739ab3ddf8e940374e00afaa89bb9bba094bc39027d6395ea851eec5d70 From 9264a6f82b2fa0f79994c1ad6edb92767a95bd8c Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 27 Jul 2017 10:14:32 +0000 Subject: [PATCH 11/60] - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild --- python-enchant.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-enchant.spec b/python-enchant.spec index c6e2a19..5b7f6f1 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -5,7 +5,7 @@ Name: python-enchant Version: 1.6.10 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Python bindings for Enchant spellchecking library License: LGPLv2+ @@ -125,6 +125,9 @@ popd %changelog +* Thu Jul 27 2017 Fedora Release Engineering - 1.6.10-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + * Wed Jul 19 2017 Charalampos Stratakis - 1.6.10-1 - Update to 1.6.10 From 7efd5d59a26c33fa62f85098b16a541ffb5b337d Mon Sep 17 00:00:00 2001 From: Charalampos Stratakis Date: Mon, 11 Dec 2017 15:32:00 +0100 Subject: [PATCH 12/60] Update to 2.0.0 --- .gitignore | 1 + python-enchant.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 4085109..6b1195d 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ pyenchant-1.3.1.tar.gz /pyenchant-1.6.6.tar.gz /pyenchant-1.6.8.tar.gz /pyenchant-1.6.10.tar.gz +/pyenchant-2.0.0.tar.gz diff --git a/python-enchant.spec b/python-enchant.spec index 5b7f6f1..af1949c 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -4,8 +4,8 @@ %global srcname enchant Name: python-enchant -Version: 1.6.10 -Release: 2%{?dist} +Version: 2.0.0 +Release: 1%{?dist} Summary: Python bindings for Enchant spellchecking library License: LGPLv2+ @@ -125,6 +125,9 @@ popd %changelog +* Mon Dec 11 2017 Charalampos Stratakis - 2.0.0-1 +- Update to 2.0.0 + * Thu Jul 27 2017 Fedora Release Engineering - 1.6.10-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild diff --git a/sources b/sources index 891c6ac..057df3f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (pyenchant-1.6.10.tar.gz) = 56847a5d796c7f030c07af6f696983af2a24a6771ed52a4a7a445ee674f57e2150ddb739ab3ddf8e940374e00afaa89bb9bba094bc39027d6395ea851eec5d70 +SHA512 (pyenchant-2.0.0.tar.gz) = c985714bc8ad69b6580fa1dd546243da5f3f92e8681d846ed265b086c486ae7ed33754fba303b450be4c0cb20e975a9a10efbeb700ea5213a11ed00612a93af0 From a7b99597f9d8a62056644f6ba0fd0652651ef929 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 9 Feb 2018 07:41:21 +0000 Subject: [PATCH 13/60] - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- python-enchant.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-enchant.spec b/python-enchant.spec index af1949c..f164eb9 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -5,7 +5,7 @@ Name: python-enchant Version: 2.0.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Python bindings for Enchant spellchecking library License: LGPLv2+ @@ -125,6 +125,9 @@ popd %changelog +* Fri Feb 09 2018 Fedora Release Engineering - 2.0.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + * Mon Dec 11 2017 Charalampos Stratakis - 2.0.0-1 - Update to 2.0.0 From 0c1be1af6c3f4acb9b424c375ac85c825d3c1c99 Mon Sep 17 00:00:00 2001 From: Charalampos Stratakis Date: Thu, 15 Mar 2018 14:45:45 +0100 Subject: [PATCH 14/60] Conditionalize the python2 subpackage --- python-enchant.spec | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/python-enchant.spec b/python-enchant.spec index f164eb9..0836476 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -3,9 +3,16 @@ %global enchant_dep enchant >= 1.5.0 %global srcname enchant +%if 0%{?rhel} > 7 +# Disable python2 build by default +%bcond_with python2 +%else +%bcond_without python2 +%endif + Name: python-enchant Version: 2.0.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Python bindings for Enchant spellchecking library License: LGPLv2+ @@ -19,6 +26,7 @@ BuildRequires: enchant-devel PyEnchant is a spellchecking library for Python, based on the Enchant library by Dom Lachowicz. +%if %{with python2} %package -n python2-%{srcname} Summary: Python 2 bindings for Enchant spellchecking library @@ -36,6 +44,7 @@ Provides: PyEnchant %description -n python2-%{srcname} PyEnchant is a spellchecking library for Python 2, based on the Enchant library by Dom Lachowicz. +%endif # with python2 %package -n python3-%{srcname} Summary: Python 3 bindings for Enchant spellchecking library @@ -63,7 +72,9 @@ cp -a . %{py3dir} find %{py3dir} -name '*.py' | xargs sed -i '1s|^#!python|#!%{__python3}|' %build +%if %{with python2} CFLAGS="$RPM_OPT_FLAGS" %py2_build +%endif # with python2 pushd %{py3dir} CFLAGS="$RPM_OPT_FLAGS" %py3_build @@ -77,23 +88,28 @@ pushd %{py3dir} rm -rf $RPM_BUILD_ROOT/%{python3_sitelib}/%{srcname}/lib rm -rf $RPM_BUILD_ROOT/%{python3_sitelib}/%{srcname}/share popd +%if %{with python2} %py2_install \ --single-version-externally-managed # Directories used in windows build rm -rf $RPM_BUILD_ROOT/%{python2_sitelib}/%{srcname}/lib rm -rf $RPM_BUILD_ROOT/%{python2_sitelib}/%{srcname}/share +%endif # with python2 %check +%if %{with python2} pushd $RPM_BUILD_ROOT/%{python2_sitelib} # There is no dictionary for language C, need to use en_US LANG=en_US.UTF-8 /usr/bin/nosetests-2.* popd +%endif # with python2 pushd $RPM_BUILD_ROOT/%{python3_sitelib} # There is no dictionary for language C, need to use en_US LANG=en_US.UTF-8 /usr/bin/nosetests-3.* popd +%if %{with python2} %files -n python2-%{srcname} %doc README.txt TODO.txt %license LICENSE.txt @@ -105,6 +121,7 @@ popd %{python2_sitelib}/%{srcname}/*/*.py %{python2_sitelib}/%{srcname}/*/*.py[co] %{python2_sitelib}/py%{srcname}-%{version}-py?.?.egg-info +%endif # with python2 %files -n python3-%{srcname} %doc README.txt TODO.txt @@ -125,6 +142,9 @@ popd %changelog +* Thu Mar 15 2018 Charalampos Stratakis - 2.0.0-3 +- Conditionalize the python2 subpackage + * Fri Feb 09 2018 Fedora Release Engineering - 2.0.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild From 9cabfd67acb1d615e065ccb1c6acfb2a404175a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Sun, 17 Jun 2018 21:21:23 +0200 Subject: [PATCH 15/60] Rebuilt for Python 3.7 --- python-enchant.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-enchant.spec b/python-enchant.spec index 0836476..6766d11 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -12,7 +12,7 @@ Name: python-enchant Version: 2.0.0 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Python bindings for Enchant spellchecking library License: LGPLv2+ @@ -142,6 +142,9 @@ popd %changelog +* Sun Jun 17 2018 Miro Hrončok - 2.0.0-4 +- Rebuilt for Python 3.7 + * Thu Mar 15 2018 Charalampos Stratakis - 2.0.0-3 - Conditionalize the python2 subpackage From 1442bf8b7a9a659a865937423821b126238d3faa Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 14 Jul 2018 00:09:02 +0000 Subject: [PATCH 16/60] - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- python-enchant.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-enchant.spec b/python-enchant.spec index 6766d11..831882c 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -12,7 +12,7 @@ Name: python-enchant Version: 2.0.0 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Python bindings for Enchant spellchecking library License: LGPLv2+ @@ -142,6 +142,9 @@ popd %changelog +* Sat Jul 14 2018 Fedora Release Engineering - 2.0.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + * Sun Jun 17 2018 Miro Hrončok - 2.0.0-4 - Rebuilt for Python 3.7 From b01c825ea3044c28a92c92a66b90a47569e882e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Sun, 18 Nov 2018 21:49:27 +0100 Subject: [PATCH 17/60] Drop explicit locale setting Python3 now sets unicode locale automatically, this workaround should not be necessary anymore. For python2, let's use the lighter locale. --- python-enchant.spec | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/python-enchant.spec b/python-enchant.spec index 831882c..858c739 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -12,7 +12,7 @@ Name: python-enchant Version: 2.0.0 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Python bindings for Enchant spellchecking library License: LGPLv2+ @@ -100,13 +100,13 @@ rm -rf $RPM_BUILD_ROOT/%{python2_sitelib}/%{srcname}/share %if %{with python2} pushd $RPM_BUILD_ROOT/%{python2_sitelib} # There is no dictionary for language C, need to use en_US -LANG=en_US.UTF-8 /usr/bin/nosetests-2.* +LANG=C.UTF-8 nosetests-2 popd %endif # with python2 pushd $RPM_BUILD_ROOT/%{python3_sitelib} # There is no dictionary for language C, need to use en_US -LANG=en_US.UTF-8 /usr/bin/nosetests-3.* +nosetests-3 popd %if %{with python2} @@ -142,6 +142,10 @@ popd %changelog +* Sun Nov 18 2018 Zbigniew Jędrzejewski-Szmek - 2.0.0-6 +- Drop explicit locale setting for python3, use C.UTF-8 for python2 + See https://fedoraproject.org/wiki/Changes/Remove_glibc-langpacks-all_from_buildroot + * Sat Jul 14 2018 Fedora Release Engineering - 2.0.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild From 3a732ca908fe3e0ff192325541edd080711ea294 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 2 Feb 2019 06:36:59 +0000 Subject: [PATCH 18/60] - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- python-enchant.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-enchant.spec b/python-enchant.spec index 858c739..d7b6338 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -12,7 +12,7 @@ Name: python-enchant Version: 2.0.0 -Release: 6%{?dist} +Release: 7%{?dist} Summary: Python bindings for Enchant spellchecking library License: LGPLv2+ @@ -142,6 +142,9 @@ popd %changelog +* Sat Feb 02 2019 Fedora Release Engineering - 2.0.0-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + * Sun Nov 18 2018 Zbigniew Jędrzejewski-Szmek - 2.0.0-6 - Drop explicit locale setting for python3, use C.UTF-8 for python2 See https://fedoraproject.org/wiki/Changes/Remove_glibc-langpacks-all_from_buildroot From 3bdf61363457dfd83e36440c02f4e215287dfe35 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 26 Jul 2019 13:18:47 +0000 Subject: [PATCH 19/60] - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- python-enchant.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-enchant.spec b/python-enchant.spec index d7b6338..66855c2 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -12,7 +12,7 @@ Name: python-enchant Version: 2.0.0 -Release: 7%{?dist} +Release: 8%{?dist} Summary: Python bindings for Enchant spellchecking library License: LGPLv2+ @@ -142,6 +142,9 @@ popd %changelog +* Fri Jul 26 2019 Fedora Release Engineering - 2.0.0-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + * Sat Feb 02 2019 Fedora Release Engineering - 2.0.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild From d8e8499ccb37a8dbfb2e9855acfc7f651f1bf3ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Sat, 17 Aug 2019 01:05:57 +0200 Subject: [PATCH 20/60] Rebuilt for Python 3.8 --- python-enchant.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-enchant.spec b/python-enchant.spec index 66855c2..f0f9366 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -12,7 +12,7 @@ Name: python-enchant Version: 2.0.0 -Release: 8%{?dist} +Release: 9%{?dist} Summary: Python bindings for Enchant spellchecking library License: LGPLv2+ @@ -142,6 +142,9 @@ popd %changelog +* Fri Aug 16 2019 Miro Hrončok - 2.0.0-9 +- Rebuilt for Python 3.8 + * Fri Jul 26 2019 Fedora Release Engineering - 2.0.0-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild From dbe5d41d8c2ee9bf82a3e5c2a7bc88942f1ef063 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Tue, 3 Sep 2019 11:42:42 +0200 Subject: [PATCH 21/60] Subpackage python2-enchant has been removed --- python-enchant.spec | 74 +++++---------------------------------------- 1 file changed, 8 insertions(+), 66 deletions(-) diff --git a/python-enchant.spec b/python-enchant.spec index f0f9366..4715beb 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -3,16 +3,9 @@ %global enchant_dep enchant >= 1.5.0 %global srcname enchant -%if 0%{?rhel} > 7 -# Disable python2 build by default -%bcond_with python2 -%else -%bcond_without python2 -%endif - Name: python-enchant Version: 2.0.0 -Release: 9%{?dist} +Release: 10%{?dist} Summary: Python bindings for Enchant spellchecking library License: LGPLv2+ @@ -26,25 +19,6 @@ BuildRequires: enchant-devel PyEnchant is a spellchecking library for Python, based on the Enchant library by Dom Lachowicz. -%if %{with python2} -%package -n python2-%{srcname} -Summary: Python 2 bindings for Enchant spellchecking library - -BuildRequires: python2-devel -BuildRequires: python2-setuptools -# For running tests -BuildRequires: python2-nose - -Requires: %{enchant_dep} - -Provides: PyEnchant - -%{?python_provide:%python_provide python2-%{srcname}} - -%description -n python2-%{srcname} -PyEnchant is a spellchecking library for Python 2, based on the Enchant -library by Dom Lachowicz. -%endif # with python2 %package -n python3-%{srcname} Summary: Python 3 bindings for Enchant spellchecking library @@ -67,61 +41,25 @@ library by Dom Lachowicz. # Remove bundled egg-info rm -rf py%{srcname}.egg-info -rm -rf %{py3dir} -cp -a . %{py3dir} -find %{py3dir} -name '*.py' | xargs sed -i '1s|^#!python|#!%{__python3}|' +find . -name '*.py' | xargs sed -i '1s|^#!python|#!%{__python3}|' %build -%if %{with python2} -CFLAGS="$RPM_OPT_FLAGS" %py2_build -%endif # with python2 - -pushd %{py3dir} -CFLAGS="$RPM_OPT_FLAGS" %py3_build -popd +%py3_build %install -pushd %{py3dir} %py3_install \ --single-version-externally-managed # Directories used in windows build rm -rf $RPM_BUILD_ROOT/%{python3_sitelib}/%{srcname}/lib rm -rf $RPM_BUILD_ROOT/%{python3_sitelib}/%{srcname}/share -popd -%if %{with python2} -%py2_install \ - --single-version-externally-managed -# Directories used in windows build -rm -rf $RPM_BUILD_ROOT/%{python2_sitelib}/%{srcname}/lib -rm -rf $RPM_BUILD_ROOT/%{python2_sitelib}/%{srcname}/share -%endif # with python2 + %check -%if %{with python2} -pushd $RPM_BUILD_ROOT/%{python2_sitelib} -# There is no dictionary for language C, need to use en_US -LANG=C.UTF-8 nosetests-2 -popd -%endif # with python2 - pushd $RPM_BUILD_ROOT/%{python3_sitelib} # There is no dictionary for language C, need to use en_US nosetests-3 popd -%if %{with python2} -%files -n python2-%{srcname} -%doc README.txt TODO.txt -%license LICENSE.txt -%dir %{python2_sitelib}/%{srcname} -%dir %{python2_sitelib}/%{srcname}/checker -%dir %{python2_sitelib}/%{srcname}/tokenize -%{python2_sitelib}/%{srcname}/*.py -%{python2_sitelib}/%{srcname}/*.py[co] -%{python2_sitelib}/%{srcname}/*/*.py -%{python2_sitelib}/%{srcname}/*/*.py[co] -%{python2_sitelib}/py%{srcname}-%{version}-py?.?.egg-info -%endif # with python2 %files -n python3-%{srcname} %doc README.txt TODO.txt @@ -142,6 +80,10 @@ popd %changelog +* Tue Sep 03 2019 Miro Hrončok - 2.0.0-10 +- Subpackage python2-enchant has been removed + See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal + * Fri Aug 16 2019 Miro Hrončok - 2.0.0-9 - Rebuilt for Python 3.8 From 86ee908a6cc4f3e7372cce31161ecbd0cbb40b70 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Tue, 7 Jan 2020 19:38:37 +0100 Subject: [PATCH 22/60] Drop --single-version-externally-managed, it breaks the build See also https://src.fedoraproject.org/rpms/python-rpm-macros/pull-request/34 The change in python-rpm-macros broke passing arguments like this, however it was not needed here. --- python-enchant.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python-enchant.spec b/python-enchant.spec index 4715beb..b6a03a9 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -47,8 +47,8 @@ find . -name '*.py' | xargs sed -i '1s|^#!python|#!%{__python3}|' %py3_build %install -%py3_install \ - --single-version-externally-managed +%py3_install + # Directories used in windows build rm -rf $RPM_BUILD_ROOT/%{python3_sitelib}/%{srcname}/lib rm -rf $RPM_BUILD_ROOT/%{python3_sitelib}/%{srcname}/share From d09017993431c87e7fa20e9f758e8c7d234f3a09 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 30 Jan 2020 11:58:01 +0000 Subject: [PATCH 23/60] - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- python-enchant.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-enchant.spec b/python-enchant.spec index b6a03a9..d622bbd 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -5,7 +5,7 @@ Name: python-enchant Version: 2.0.0 -Release: 10%{?dist} +Release: 11%{?dist} Summary: Python bindings for Enchant spellchecking library License: LGPLv2+ @@ -80,6 +80,9 @@ popd %changelog +* Thu Jan 30 2020 Fedora Release Engineering - 2.0.0-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + * Tue Sep 03 2019 Miro Hrončok - 2.0.0-10 - Subpackage python2-enchant has been removed See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal From d921bea822942a334706b896cc71cae4922e7e21 Mon Sep 17 00:00:00 2001 From: Charalampos Stratakis Date: Wed, 18 Mar 2020 16:16:43 +0100 Subject: [PATCH 24/60] Update to version 3.0.1 (rhbz#1794914) --- .gitignore | 1 + python-enchant.spec | 9 ++++++--- sources | 2 +- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 6b1195d..77c51e8 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ pyenchant-1.3.1.tar.gz /pyenchant-1.6.8.tar.gz /pyenchant-1.6.10.tar.gz /pyenchant-2.0.0.tar.gz +/pyenchant-3.0.1.tar.gz diff --git a/python-enchant.spec b/python-enchant.spec index d622bbd..fab6bbe 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -4,8 +4,8 @@ %global srcname enchant Name: python-enchant -Version: 2.0.0 -Release: 11%{?dist} +Version: 3.0.1 +Release: 1%{?dist} Summary: Python bindings for Enchant spellchecking library License: LGPLv2+ @@ -62,7 +62,7 @@ popd %files -n python3-%{srcname} -%doc README.txt TODO.txt +%doc README.rst %license LICENSE.txt %dir %{python3_sitelib}/%{srcname} %dir %{python3_sitelib}/%{srcname}/__pycache__ @@ -80,6 +80,9 @@ popd %changelog +* Wed Mar 18 2020 Charalampos Stratakis - 3.0.1-1 +- Update to version 3.0.1 (rhbz#1794914) + * Thu Jan 30 2020 Fedora Release Engineering - 2.0.0-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild diff --git a/sources b/sources index 057df3f..3fdc0be 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (pyenchant-2.0.0.tar.gz) = c985714bc8ad69b6580fa1dd546243da5f3f92e8681d846ed265b086c486ae7ed33754fba303b450be4c0cb20e975a9a10efbeb700ea5213a11ed00612a93af0 +SHA512 (pyenchant-3.0.1.tar.gz) = 93a37236b6fe1e483e5f6dcecb1d57abcc68bda2d46df7bd258e36f98a0ceff1af50241f673ee4cedc8dd38d2bf1e53314d4e8ccf3d6bc98c6c9df7aadf849f7 From ad9557984726d475c6300f6ac1d29300cbd6a5b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Sat, 23 May 2020 20:30:47 +0200 Subject: [PATCH 25/60] Rebuilt for Python 3.9 --- python-enchant.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-enchant.spec b/python-enchant.spec index fab6bbe..353f9ac 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -5,7 +5,7 @@ Name: python-enchant Version: 3.0.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Python bindings for Enchant spellchecking library License: LGPLv2+ @@ -80,6 +80,9 @@ popd %changelog +* Sat May 23 2020 Miro Hrončok - 3.0.1-2 +- Rebuilt for Python 3.9 + * Wed Mar 18 2020 Charalampos Stratakis - 3.0.1-1 - Update to version 3.0.1 (rhbz#1794914) From edced1a721e47f54253aecb886aaf439713057f9 Mon Sep 17 00:00:00 2001 From: Charalampos Stratakis Date: Mon, 1 Jun 2020 16:30:49 +0200 Subject: [PATCH 26/60] Update to version 3.1.1 (rhbz#1837989) --- .gitignore | 1 + python-enchant.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 77c51e8..7be5e92 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ pyenchant-1.3.1.tar.gz /pyenchant-1.6.10.tar.gz /pyenchant-2.0.0.tar.gz /pyenchant-3.0.1.tar.gz +/pyenchant-3.1.1.tar.gz diff --git a/python-enchant.spec b/python-enchant.spec index 353f9ac..2d70f37 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -4,8 +4,8 @@ %global srcname enchant Name: python-enchant -Version: 3.0.1 -Release: 2%{?dist} +Version: 3.1.1 +Release: 1%{?dist} Summary: Python bindings for Enchant spellchecking library License: LGPLv2+ @@ -80,6 +80,9 @@ popd %changelog +* Mon Jun 01 2020 Charalampos Stratakis - 3.1.1-1 +- Update to version 3.1.1 (rhbz#1837989) + * Sat May 23 2020 Miro Hrončok - 3.0.1-2 - Rebuilt for Python 3.9 diff --git a/sources b/sources index 3fdc0be..f308936 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (pyenchant-3.0.1.tar.gz) = 93a37236b6fe1e483e5f6dcecb1d57abcc68bda2d46df7bd258e36f98a0ceff1af50241f673ee4cedc8dd38d2bf1e53314d4e8ccf3d6bc98c6c9df7aadf849f7 +SHA512 (pyenchant-3.1.1.tar.gz) = bb417f971208d838e725841fa6eaf112feee1a66103272850ea96c2ecb83a455fe165c32274643ff02e8282a156ceb9e2a8b662a39b0c4baa8b583ce4110eabf From 83b012e4c6824976c32ce22a5cddf0a56cd3732c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Mon, 13 Jul 2020 21:04:31 +0200 Subject: [PATCH 27/60] Replace Python version glob with macro (needed for Python 3.10+) See https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/PQIGCQCRNBYNXBX2ICWEM3PLDLNOG2ZT/ Co-authored-by: Tomas Hrnciar --- python-enchant.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-enchant.spec b/python-enchant.spec index 2d70f37..aa01a2d 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -76,7 +76,7 @@ popd %{python3_sitelib}/%{srcname}/checker/__pycache__/*.py[co] %{python3_sitelib}/%{srcname}/tokenize/*.py %{python3_sitelib}/%{srcname}/tokenize/__pycache__/*.py[co] -%{python3_sitelib}/py%{srcname}-%{version}-py?.?.egg-info +%{python3_sitelib}/py%{srcname}-%{version}-py%{python3_version}.egg-info %changelog From 5ff6589e765c1b0b17ca1a9ad225905ca46b475f Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 29 Jul 2020 00:52:45 +0000 Subject: [PATCH 28/60] - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- python-enchant.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-enchant.spec b/python-enchant.spec index aa01a2d..7ee2bd2 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -5,7 +5,7 @@ Name: python-enchant Version: 3.1.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Python bindings for Enchant spellchecking library License: LGPLv2+ @@ -80,6 +80,9 @@ popd %changelog +* Wed Jul 29 2020 Fedora Release Engineering - 3.1.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + * Mon Jun 01 2020 Charalampos Stratakis - 3.1.1-1 - Update to version 3.1.1 (rhbz#1837989) From 4133a16b43b55ba3f8e88df8e16e6692fa0471ca Mon Sep 17 00:00:00 2001 From: Charalampos Stratakis Date: Wed, 9 Dec 2020 20:35:28 +0100 Subject: [PATCH 29/60] Update to 3.2.0 (rhbz#1905482) --- .gitignore | 1 + python-enchant.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 7be5e92..f915831 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ pyenchant-1.3.1.tar.gz /pyenchant-2.0.0.tar.gz /pyenchant-3.0.1.tar.gz /pyenchant-3.1.1.tar.gz +/pyenchant-3.2.0.tar.gz diff --git a/python-enchant.spec b/python-enchant.spec index 7ee2bd2..175fd46 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -4,8 +4,8 @@ %global srcname enchant Name: python-enchant -Version: 3.1.1 -Release: 2%{?dist} +Version: 3.2.0 +Release: 1%{?dist} Summary: Python bindings for Enchant spellchecking library License: LGPLv2+ @@ -80,6 +80,9 @@ popd %changelog +* Wed Dec 09 2020 Charalampos Stratakis - 3.2.0-1 +- Update to 3.2.0 (rhbz#1905482) + * Wed Jul 29 2020 Fedora Release Engineering - 3.1.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild diff --git a/sources b/sources index f308936..b62b4b0 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (pyenchant-3.1.1.tar.gz) = bb417f971208d838e725841fa6eaf112feee1a66103272850ea96c2ecb83a455fe165c32274643ff02e8282a156ceb9e2a8b662a39b0c4baa8b583ce4110eabf +SHA512 (pyenchant-3.2.0.tar.gz) = 8ecd582d65c81bbcafa47a90dcb3d435fc5161ab511d914b886e6d6ef34553eba5ccab3793fc97b7aeb6e1bc2b508389d9fbeb924a36d5e44786b6c11d3bfdc2 From 951ef7d7a31d3dc52efdcc7a0d44723e71408f17 Mon Sep 17 00:00:00 2001 From: Charalampos Stratakis Date: Wed, 20 Jan 2021 17:10:44 +0100 Subject: [PATCH 30/60] Drop dependency on python-nose as tests are not included --- python-enchant.spec | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/python-enchant.spec b/python-enchant.spec index 175fd46..d98c288 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -5,7 +5,7 @@ Name: python-enchant Version: 3.2.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Python bindings for Enchant spellchecking library License: LGPLv2+ @@ -25,8 +25,6 @@ Summary: Python 3 bindings for Enchant spellchecking library BuildRequires: python3-devel BuildRequires: python3-setuptools -# For running tests -BuildRequires: python3-nose Requires: %{enchant_dep} @@ -54,11 +52,8 @@ rm -rf $RPM_BUILD_ROOT/%{python3_sitelib}/%{srcname}/lib rm -rf $RPM_BUILD_ROOT/%{python3_sitelib}/%{srcname}/share -%check -pushd $RPM_BUILD_ROOT/%{python3_sitelib} -# There is no dictionary for language C, need to use en_US -nosetests-3 -popd +# Tests are not included in the upstream tarball +#%%check %files -n python3-%{srcname} @@ -80,6 +75,9 @@ popd %changelog +* Wed Jan 20 2021 Charalampos Stratakis - 3.2.0-2 +- Drop dependency on python-nose as tests are not included + * Wed Dec 09 2020 Charalampos Stratakis - 3.2.0-1 - Update to 3.2.0 (rhbz#1905482) From 3b109cbce430e06a6a3835e66764899b1a232ae8 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 27 Jan 2021 10:30:24 +0000 Subject: [PATCH 31/60] - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- python-enchant.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-enchant.spec b/python-enchant.spec index d98c288..840dd90 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -5,7 +5,7 @@ Name: python-enchant Version: 3.2.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Python bindings for Enchant spellchecking library License: LGPLv2+ @@ -75,6 +75,9 @@ rm -rf $RPM_BUILD_ROOT/%{python3_sitelib}/%{srcname}/share %changelog +* Wed Jan 27 2021 Fedora Release Engineering - 3.2.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + * Wed Jan 20 2021 Charalampos Stratakis - 3.2.0-2 - Drop dependency on python-nose as tests are not included From 4f9a7e926ee792d29298fed39ed87c9922abd9f4 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Thu, 3 Jun 2021 23:53:14 +0200 Subject: [PATCH 32/60] Rebuilt for Python 3.10 --- python-enchant.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-enchant.spec b/python-enchant.spec index 840dd90..f99c7c9 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -5,7 +5,7 @@ Name: python-enchant Version: 3.2.0 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Python bindings for Enchant spellchecking library License: LGPLv2+ @@ -75,6 +75,9 @@ rm -rf $RPM_BUILD_ROOT/%{python3_sitelib}/%{srcname}/share %changelog +* Thu Jun 03 2021 Python Maint - 3.2.0-4 +- Rebuilt for Python 3.10 + * Wed Jan 27 2021 Fedora Release Engineering - 3.2.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild From 10ce1cc5405c6eb87c000ee4aa605e35c9c08016 Mon Sep 17 00:00:00 2001 From: Mike FABIAN Date: Mon, 5 Jul 2021 13:47:15 +0200 Subject: [PATCH 33/60] Add CI tests --- .fmf/version | 1 + plans/basic.fmf | 5 +++++ tests/main.fmf | 7 +++++++ tests/test_enchant.py | 31 +++++++++++++++++++++++++++++++ 4 files changed, 44 insertions(+) create mode 100644 .fmf/version create mode 100644 plans/basic.fmf create mode 100644 tests/main.fmf create mode 100644 tests/test_enchant.py diff --git a/.fmf/version b/.fmf/version new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/.fmf/version @@ -0,0 +1 @@ +1 diff --git a/plans/basic.fmf b/plans/basic.fmf new file mode 100644 index 0000000..c1627f9 --- /dev/null +++ b/plans/basic.fmf @@ -0,0 +1,5 @@ +summary: Basic smoke test +discover: + how: fmf +execute: + how: tmt diff --git a/tests/main.fmf b/tests/main.fmf new file mode 100644 index 0000000..bce47e5 --- /dev/null +++ b/tests/main.fmf @@ -0,0 +1,7 @@ +require: +- python3 +- python3-enchant +- hunspell-en-US +- hunspell-de +test: python3 test_enchant.py -v +framework: shell diff --git a/tests/test_enchant.py b/tests/test_enchant.py new file mode 100644 index 0000000..e8ee2c1 --- /dev/null +++ b/tests/test_enchant.py @@ -0,0 +1,31 @@ +import unittest +import sys +import enchant + +class TestEnchant(unittest.TestCase): + + def test_dummy(self): + self.assertEqual(True, True) + + @unittest.expectedFailure + def test_expected_failure(self): + self.assertEqual(False, True) + + def test_en_US(self): + d = enchant.Dict('en_US') + self.assertEqual(d.check('enchant'), True) + self.assertEqual(d.check('enchnt'), False) + self.assertEqual( + d.suggest('enchnt'), + ['enchant', 'entrench', 'tench']) + + def test_de_DE(self): + d = enchant.Dict('de_DE') + self.assertEqual(d.check('Alpenglühen'), True) + self.assertEqual(d.check('Alpengluhen'), False) + self.assertEqual( + d.suggest('Alpengluhen'), + ['Alpenglühen', 'Alpengluten', 'Alpenländischen']) + +if __name__ == "__main__": + unittest.main() From 77ea9a787373fa42608536a9e977e7ec3597f5e0 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Tue, 27 Jul 2021 08:05:32 +0000 Subject: [PATCH 34/60] - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- python-enchant.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/python-enchant.spec b/python-enchant.spec index f99c7c9..1b84cc2 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -5,7 +5,7 @@ Name: python-enchant Version: 3.2.0 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Python bindings for Enchant spellchecking library License: LGPLv2+ @@ -75,6 +75,10 @@ rm -rf $RPM_BUILD_ROOT/%{python3_sitelib}/%{srcname}/share %changelog +* Tue Jul 27 2021 Fedora Release Engineering - 3.2.0-5 +- Second attempt - Rebuilt for + https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + * Thu Jun 03 2021 Python Maint - 3.2.0-4 - Rebuilt for Python 3.10 From 62c6cd5ed54e50ef2a95977e5211eafa2355350a Mon Sep 17 00:00:00 2001 From: Charalampos Stratakis Date: Tue, 3 Aug 2021 21:43:47 +0200 Subject: [PATCH 35/60] Update to 3.2.1 (rhbz#1975861) --- .gitignore | 1 + python-enchant.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index f915831..3347cdb 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ pyenchant-1.3.1.tar.gz /pyenchant-3.0.1.tar.gz /pyenchant-3.1.1.tar.gz /pyenchant-3.2.0.tar.gz +/pyenchant-3.2.1.tar.gz diff --git a/python-enchant.spec b/python-enchant.spec index 1b84cc2..1d2c2b7 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -4,8 +4,8 @@ %global srcname enchant Name: python-enchant -Version: 3.2.0 -Release: 5%{?dist} +Version: 3.2.1 +Release: 1%{?dist} Summary: Python bindings for Enchant spellchecking library License: LGPLv2+ @@ -75,6 +75,9 @@ rm -rf $RPM_BUILD_ROOT/%{python3_sitelib}/%{srcname}/share %changelog +* Tue Aug 03 2021 Charalampos Stratakis - 3.2.1-1 +- Update to 3.2.1 (rhbz#1975861) + * Tue Jul 27 2021 Fedora Release Engineering - 3.2.0-5 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild diff --git a/sources b/sources index b62b4b0..9478869 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (pyenchant-3.2.0.tar.gz) = 8ecd582d65c81bbcafa47a90dcb3d435fc5161ab511d914b886e6d6ef34553eba5ccab3793fc97b7aeb6e1bc2b508389d9fbeb924a36d5e44786b6c11d3bfdc2 +SHA512 (pyenchant-3.2.1.tar.gz) = bb8194be0e4181816910558673f1486e283802f9248e1b1e92da94fe8c6c0f568baeeaa19ae6324c3577c78ed22543b8f73620bd53e83a8c87c35e24bf3f2ff7 From 14c05f90d878a44179417c80aaf6ab2f412ced72 Mon Sep 17 00:00:00 2001 From: Charalampos Stratakis Date: Tue, 5 Oct 2021 23:18:52 +0200 Subject: [PATCH 36/60] Update to 3.2.2 (rhbz#2010984) --- .gitignore | 1 + python-enchant.spec | 5 ++++- sources | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 3347cdb..85eaf7e 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ pyenchant-1.3.1.tar.gz /pyenchant-3.1.1.tar.gz /pyenchant-3.2.0.tar.gz /pyenchant-3.2.1.tar.gz +/pyenchant-3.2.2.tar.gz diff --git a/python-enchant.spec b/python-enchant.spec index 1d2c2b7..8f4f290 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -4,7 +4,7 @@ %global srcname enchant Name: python-enchant -Version: 3.2.1 +Version: 3.2.2 Release: 1%{?dist} Summary: Python bindings for Enchant spellchecking library @@ -75,6 +75,9 @@ rm -rf $RPM_BUILD_ROOT/%{python3_sitelib}/%{srcname}/share %changelog +* Tue Oct 05 2021 Charalampos Stratakis - 3.2.2-1 +- Update to 3.2.2 (rhbz#2010984) + * Tue Aug 03 2021 Charalampos Stratakis - 3.2.1-1 - Update to 3.2.1 (rhbz#1975861) diff --git a/sources b/sources index 9478869..3401ed4 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (pyenchant-3.2.1.tar.gz) = bb8194be0e4181816910558673f1486e283802f9248e1b1e92da94fe8c6c0f568baeeaa19ae6324c3577c78ed22543b8f73620bd53e83a8c87c35e24bf3f2ff7 +SHA512 (pyenchant-3.2.2.tar.gz) = 65dd6abf51f7dd45d9879c63d9a1d34a4682ef37da961d0eb41849c6bbb707d94d079f5581b5f695a01fd9a9b68e9456d487b4423ed8382882f22eeeb6b080f8 From d90278c8b481456c2c4531bd9003aa3b14493b70 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 21 Jan 2022 11:56:28 +0000 Subject: [PATCH 37/60] - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- python-enchant.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-enchant.spec b/python-enchant.spec index 8f4f290..e8ea8be 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -5,7 +5,7 @@ Name: python-enchant Version: 3.2.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Python bindings for Enchant spellchecking library License: LGPLv2+ @@ -75,6 +75,9 @@ rm -rf $RPM_BUILD_ROOT/%{python3_sitelib}/%{srcname}/share %changelog +* Fri Jan 21 2022 Fedora Release Engineering - 3.2.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + * Tue Oct 05 2021 Charalampos Stratakis - 3.2.2-1 - Update to 3.2.2 (rhbz#2010984) From eb755e74e5819d6b7fdc1ef606b87e13270ef9b5 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Mon, 13 Jun 2022 15:03:11 +0200 Subject: [PATCH 38/60] Rebuilt for Python 3.11 --- python-enchant.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-enchant.spec b/python-enchant.spec index e8ea8be..d45f88c 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -5,7 +5,7 @@ Name: python-enchant Version: 3.2.2 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Python bindings for Enchant spellchecking library License: LGPLv2+ @@ -75,6 +75,9 @@ rm -rf $RPM_BUILD_ROOT/%{python3_sitelib}/%{srcname}/share %changelog +* Mon Jun 13 2022 Python Maint - 3.2.2-3 +- Rebuilt for Python 3.11 + * Fri Jan 21 2022 Fedora Release Engineering - 3.2.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild From 1278e8bcd2b7a1722e926206f96825a5ab5f0e42 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 22 Jul 2022 18:15:07 +0000 Subject: [PATCH 39/60] Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- python-enchant.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-enchant.spec b/python-enchant.spec index d45f88c..c8f5730 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -5,7 +5,7 @@ Name: python-enchant Version: 3.2.2 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Python bindings for Enchant spellchecking library License: LGPLv2+ @@ -75,6 +75,9 @@ rm -rf $RPM_BUILD_ROOT/%{python3_sitelib}/%{srcname}/share %changelog +* Fri Jul 22 2022 Fedora Release Engineering - 3.2.2-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + * Mon Jun 13 2022 Python Maint - 3.2.2-3 - Rebuilt for Python 3.11 From c903e2a9dc37294c0f9b8284ca2c1af0b3e82dcb Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sun, 28 Aug 2022 15:29:13 +0800 Subject: [PATCH 40/60] switch to using enchant2 (#2121993) --- python-enchant.spec | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/python-enchant.spec b/python-enchant.spec index c8f5730..1baaad6 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -1,11 +1,8 @@ -# Work around a problem with libenchant versioning -# (python-enchant-1.3.1 failed to work with enchant-1.4.2-2.fc10) -%global enchant_dep enchant >= 1.5.0 %global srcname enchant Name: python-enchant Version: 3.2.2 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Python bindings for Enchant spellchecking library License: LGPLv2+ @@ -26,7 +23,7 @@ Summary: Python 3 bindings for Enchant spellchecking library BuildRequires: python3-devel BuildRequires: python3-setuptools -Requires: %{enchant_dep} +Requires: enchant2 %{?python_provide:%python_provide python3-%{srcname}} @@ -75,6 +72,9 @@ rm -rf $RPM_BUILD_ROOT/%{python3_sitelib}/%{srcname}/share %changelog +* Sun Aug 28 2022 Jens Petersen - 3.2.2-5 +- switch to using enchant2 (#2121993) + * Fri Jul 22 2022 Fedora Release Engineering - 3.2.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild From fcd9ebdf9c5674c0b94b8991c16897289aaf5cd8 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 20 Jan 2023 12:58:21 +0000 Subject: [PATCH 41/60] Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- python-enchant.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-enchant.spec b/python-enchant.spec index 1baaad6..0de3f44 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -2,7 +2,7 @@ Name: python-enchant Version: 3.2.2 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Python bindings for Enchant spellchecking library License: LGPLv2+ @@ -72,6 +72,9 @@ rm -rf $RPM_BUILD_ROOT/%{python3_sitelib}/%{srcname}/share %changelog +* Fri Jan 20 2023 Fedora Release Engineering - 3.2.2-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + * Sun Aug 28 2022 Jens Petersen - 3.2.2-5 - switch to using enchant2 (#2121993) From 18359fd7a14be8d9606a0c6adc8d3b021a2c7b52 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Tue, 13 Jun 2023 20:37:42 +0200 Subject: [PATCH 42/60] Rebuilt for Python 3.12 --- python-enchant.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-enchant.spec b/python-enchant.spec index 0de3f44..dd20274 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -2,7 +2,7 @@ Name: python-enchant Version: 3.2.2 -Release: 6%{?dist} +Release: 7%{?dist} Summary: Python bindings for Enchant spellchecking library License: LGPLv2+ @@ -72,6 +72,9 @@ rm -rf $RPM_BUILD_ROOT/%{python3_sitelib}/%{srcname}/share %changelog +* Tue Jun 13 2023 Python Maint - 3.2.2-7 +- Rebuilt for Python 3.12 + * Fri Jan 20 2023 Fedora Release Engineering - 3.2.2-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild From 0a74eb17331721e64d13cfbfdf4cdbf4d59b638f Mon Sep 17 00:00:00 2001 From: Yaakov Selkowitz Date: Thu, 15 Jun 2023 12:01:30 -0400 Subject: [PATCH 43/60] Update BuildRequires to enchant2 The runtime requirement was switched to enchant2 a while ago, but the BuildRequires was missed. The -devel package is no longer required to build though since no binding is built; the library is loaded through ctypes. Also, check imports as a minimal test (since the testsuite is not included in the upstream tarball), and update the project URL. --- python-enchant.spec | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/python-enchant.spec b/python-enchant.spec index dd20274..e35b778 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -2,15 +2,15 @@ Name: python-enchant Version: 3.2.2 -Release: 7%{?dist} +Release: 8%{?dist} Summary: Python bindings for Enchant spellchecking library License: LGPLv2+ -URL: http://packages.python.org/pyenchant/ +URL: https://pyenchant.github.io/pyenchant/ Source0: https://files.pythonhosted.org/packages/source/p/py%{srcname}/py%{srcname}-%{version}.tar.gz BuildArch: noarch -BuildRequires: enchant-devel +BuildRequires: enchant2 %description PyEnchant is a spellchecking library for Python, based on the Enchant @@ -50,7 +50,8 @@ rm -rf $RPM_BUILD_ROOT/%{python3_sitelib}/%{srcname}/share # Tests are not included in the upstream tarball -#%%check +%check +%py3_check_import %{srcname} %{srcname}.checker %{srcname}.tokenize %files -n python3-%{srcname} @@ -72,6 +73,10 @@ rm -rf $RPM_BUILD_ROOT/%{python3_sitelib}/%{srcname}/share %changelog +* Thu Jun 15 2023 Yaakov Selkowitz - 3.2.2-8 +- Update BuildRequires to enchant2 +- Check imports as a minimal test + * Tue Jun 13 2023 Python Maint - 3.2.2-7 - Rebuilt for Python 3.12 From b0f2280f89aa7376a4564dc1023255c3c6021463 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 21 Jul 2023 09:21:14 +0000 Subject: [PATCH 44/60] Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- python-enchant.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-enchant.spec b/python-enchant.spec index e35b778..81661ff 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -2,7 +2,7 @@ Name: python-enchant Version: 3.2.2 -Release: 8%{?dist} +Release: 9%{?dist} Summary: Python bindings for Enchant spellchecking library License: LGPLv2+ @@ -73,6 +73,9 @@ rm -rf $RPM_BUILD_ROOT/%{python3_sitelib}/%{srcname}/share %changelog +* Fri Jul 21 2023 Fedora Release Engineering - 3.2.2-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + * Thu Jun 15 2023 Yaakov Selkowitz - 3.2.2-8 - Update BuildRequires to enchant2 - Check imports as a minimal test From 484a1fc3dbe9f98d88cba247de93fd3b060e9997 Mon Sep 17 00:00:00 2001 From: Parag Nemade Date: Mon, 21 Aug 2023 10:20:26 +0530 Subject: [PATCH 45/60] Migrate to SPDX license expression --- python-enchant.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/python-enchant.spec b/python-enchant.spec index 81661ff..0d121f8 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -2,10 +2,10 @@ Name: python-enchant Version: 3.2.2 -Release: 9%{?dist} +Release: 10%{?dist} Summary: Python bindings for Enchant spellchecking library -License: LGPLv2+ +License: LGPL-2.1-or-later URL: https://pyenchant.github.io/pyenchant/ Source0: https://files.pythonhosted.org/packages/source/p/py%{srcname}/py%{srcname}-%{version}.tar.gz @@ -73,6 +73,9 @@ rm -rf $RPM_BUILD_ROOT/%{python3_sitelib}/%{srcname}/share %changelog +* Mon Aug 21 2023 Parag Nemade - 3.2.2-10 +- Migrate to SPDX license expression + * Fri Jul 21 2023 Fedora Release Engineering - 3.2.2-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild From 76ee6b7a003b73fdeb8c71893d77ce6478a90027 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Mon, 22 Jan 2024 01:04:30 +0000 Subject: [PATCH 46/60] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- python-enchant.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-enchant.spec b/python-enchant.spec index 0d121f8..b9d1e89 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -2,7 +2,7 @@ Name: python-enchant Version: 3.2.2 -Release: 10%{?dist} +Release: 11%{?dist} Summary: Python bindings for Enchant spellchecking library License: LGPL-2.1-or-later @@ -73,6 +73,9 @@ rm -rf $RPM_BUILD_ROOT/%{python3_sitelib}/%{srcname}/share %changelog +* Mon Jan 22 2024 Fedora Release Engineering - 3.2.2-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Mon Aug 21 2023 Parag Nemade - 3.2.2-10 - Migrate to SPDX license expression From 2f6e4789925d9d7d9c0f1c2bcbb838d40e4db46c Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 26 Jan 2024 03:55:55 +0000 Subject: [PATCH 47/60] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- python-enchant.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-enchant.spec b/python-enchant.spec index b9d1e89..e4a7a64 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -2,7 +2,7 @@ Name: python-enchant Version: 3.2.2 -Release: 11%{?dist} +Release: 12%{?dist} Summary: Python bindings for Enchant spellchecking library License: LGPL-2.1-or-later @@ -73,6 +73,9 @@ rm -rf $RPM_BUILD_ROOT/%{python3_sitelib}/%{srcname}/share %changelog +* Fri Jan 26 2024 Fedora Release Engineering - 3.2.2-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Mon Jan 22 2024 Fedora Release Engineering - 3.2.2-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From 1051e1b83b1bf4019cbadc10bfe31232080be8b9 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Fri, 7 Jun 2024 09:16:05 +0200 Subject: [PATCH 48/60] Rebuilt for Python 3.13 --- python-enchant.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-enchant.spec b/python-enchant.spec index e4a7a64..16508bb 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -2,7 +2,7 @@ Name: python-enchant Version: 3.2.2 -Release: 12%{?dist} +Release: 13%{?dist} Summary: Python bindings for Enchant spellchecking library License: LGPL-2.1-or-later @@ -73,6 +73,9 @@ rm -rf $RPM_BUILD_ROOT/%{python3_sitelib}/%{srcname}/share %changelog +* Fri Jun 07 2024 Python Maint - 3.2.2-13 +- Rebuilt for Python 3.13 + * Fri Jan 26 2024 Fedora Release Engineering - 3.2.2-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From 10336dac7f9b45cf03584bd36cccfe0dfa3eb33e Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 19 Jul 2024 11:20:06 +0000 Subject: [PATCH 49/60] Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild --- python-enchant.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-enchant.spec b/python-enchant.spec index 16508bb..398acbf 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -2,7 +2,7 @@ Name: python-enchant Version: 3.2.2 -Release: 13%{?dist} +Release: 14%{?dist} Summary: Python bindings for Enchant spellchecking library License: LGPL-2.1-or-later @@ -73,6 +73,9 @@ rm -rf $RPM_BUILD_ROOT/%{python3_sitelib}/%{srcname}/share %changelog +* Fri Jul 19 2024 Fedora Release Engineering - 3.2.2-14 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + * Fri Jun 07 2024 Python Maint - 3.2.2-13 - Rebuilt for Python 3.13 From f5b49175eeb8cf56d2610d00604c7640aa2e4630 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 18 Jan 2025 14:01:28 +0000 Subject: [PATCH 50/60] Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild --- python-enchant.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-enchant.spec b/python-enchant.spec index 398acbf..bc406b9 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -2,7 +2,7 @@ Name: python-enchant Version: 3.2.2 -Release: 14%{?dist} +Release: 15%{?dist} Summary: Python bindings for Enchant spellchecking library License: LGPL-2.1-or-later @@ -73,6 +73,9 @@ rm -rf $RPM_BUILD_ROOT/%{python3_sitelib}/%{srcname}/share %changelog +* Sat Jan 18 2025 Fedora Release Engineering - 3.2.2-15 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + * Fri Jul 19 2024 Fedora Release Engineering - 3.2.2-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild From 2fc721d1f474d50451f49af16b3976edfcbdca45 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Mon, 2 Jun 2025 20:18:52 +0200 Subject: [PATCH 51/60] Rebuilt for Python 3.14 --- python-enchant.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-enchant.spec b/python-enchant.spec index bc406b9..219bba4 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -2,7 +2,7 @@ Name: python-enchant Version: 3.2.2 -Release: 15%{?dist} +Release: 16%{?dist} Summary: Python bindings for Enchant spellchecking library License: LGPL-2.1-or-later @@ -73,6 +73,9 @@ rm -rf $RPM_BUILD_ROOT/%{python3_sitelib}/%{srcname}/share %changelog +* Mon Jun 02 2025 Python Maint - 3.2.2-16 +- Rebuilt for Python 3.14 + * Sat Jan 18 2025 Fedora Release Engineering - 3.2.2-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild From 5c9129e424a7cf756671bf9c87323cc4fccad60a Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 25 Jul 2025 07:45:21 +0000 Subject: [PATCH 52/60] Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild --- python-enchant.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-enchant.spec b/python-enchant.spec index 219bba4..6e08d4d 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -2,7 +2,7 @@ Name: python-enchant Version: 3.2.2 -Release: 16%{?dist} +Release: 17%{?dist} Summary: Python bindings for Enchant spellchecking library License: LGPL-2.1-or-later @@ -73,6 +73,9 @@ rm -rf $RPM_BUILD_ROOT/%{python3_sitelib}/%{srcname}/share %changelog +* Fri Jul 25 2025 Fedora Release Engineering - 3.2.2-17 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + * Mon Jun 02 2025 Python Maint - 3.2.2-16 - Rebuilt for Python 3.14 From a117d2dbec8803de6653bd1fb9f455973a275945 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Fri, 15 Aug 2025 13:41:08 +0200 Subject: [PATCH 53/60] Rebuilt for Python 3.14.0rc2 bytecode --- python-enchant.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-enchant.spec b/python-enchant.spec index 6e08d4d..0d9b76a 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -2,7 +2,7 @@ Name: python-enchant Version: 3.2.2 -Release: 17%{?dist} +Release: 18%{?dist} Summary: Python bindings for Enchant spellchecking library License: LGPL-2.1-or-later @@ -73,6 +73,9 @@ rm -rf $RPM_BUILD_ROOT/%{python3_sitelib}/%{srcname}/share %changelog +* Fri Aug 15 2025 Python Maint - 3.2.2-18 +- Rebuilt for Python 3.14.0rc2 bytecode + * Fri Jul 25 2025 Fedora Release Engineering - 3.2.2-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild From 439c5b34abfd79373268a5a95ac33f37125865df Mon Sep 17 00:00:00 2001 From: Python Maint Date: Fri, 19 Sep 2025 13:14:17 +0200 Subject: [PATCH 54/60] Rebuilt for Python 3.14.0rc3 bytecode --- python-enchant.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-enchant.spec b/python-enchant.spec index 0d9b76a..01f1936 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -2,7 +2,7 @@ Name: python-enchant Version: 3.2.2 -Release: 18%{?dist} +Release: 19%{?dist} Summary: Python bindings for Enchant spellchecking library License: LGPL-2.1-or-later @@ -73,6 +73,9 @@ rm -rf $RPM_BUILD_ROOT/%{python3_sitelib}/%{srcname}/share %changelog +* Fri Sep 19 2025 Python Maint - 3.2.2-19 +- Rebuilt for Python 3.14.0rc3 bytecode + * Fri Aug 15 2025 Python Maint - 3.2.2-18 - Rebuilt for Python 3.14.0rc2 bytecode From 26fe1ac30f622ed0044ff462bcd3c81a32a7494e Mon Sep 17 00:00:00 2001 From: Charalampos Stratakis Date: Mon, 29 Sep 2025 21:43:29 +0200 Subject: [PATCH 55/60] Convert to %autorelease and %autochangelog [skip changelog] --- changelog | 272 +++++++++++++++++++++++++++++++++++++++++++ python-enchant.spec | 275 +------------------------------------------- 2 files changed, 274 insertions(+), 273 deletions(-) create mode 100644 changelog diff --git a/changelog b/changelog new file mode 100644 index 0000000..ea42345 --- /dev/null +++ b/changelog @@ -0,0 +1,272 @@ +* Fri Sep 19 2025 Python Maint - 3.2.2-19 +- Rebuilt for Python 3.14.0rc3 bytecode + +* Fri Aug 15 2025 Python Maint - 3.2.2-18 +- Rebuilt for Python 3.14.0rc2 bytecode + +* Fri Jul 25 2025 Fedora Release Engineering - 3.2.2-17 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + +* Mon Jun 02 2025 Python Maint - 3.2.2-16 +- Rebuilt for Python 3.14 + +* Sat Jan 18 2025 Fedora Release Engineering - 3.2.2-15 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + +* Fri Jul 19 2024 Fedora Release Engineering - 3.2.2-14 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Fri Jun 07 2024 Python Maint - 3.2.2-13 +- Rebuilt for Python 3.13 + +* Fri Jan 26 2024 Fedora Release Engineering - 3.2.2-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Mon Jan 22 2024 Fedora Release Engineering - 3.2.2-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Mon Aug 21 2023 Parag Nemade - 3.2.2-10 +- Migrate to SPDX license expression + +* Fri Jul 21 2023 Fedora Release Engineering - 3.2.2-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Thu Jun 15 2023 Yaakov Selkowitz - 3.2.2-8 +- Update BuildRequires to enchant2 +- Check imports as a minimal test + +* Tue Jun 13 2023 Python Maint - 3.2.2-7 +- Rebuilt for Python 3.12 + +* Fri Jan 20 2023 Fedora Release Engineering - 3.2.2-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Sun Aug 28 2022 Jens Petersen - 3.2.2-5 +- switch to using enchant2 (#2121993) + +* Fri Jul 22 2022 Fedora Release Engineering - 3.2.2-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Mon Jun 13 2022 Python Maint - 3.2.2-3 +- Rebuilt for Python 3.11 + +* Fri Jan 21 2022 Fedora Release Engineering - 3.2.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Tue Oct 05 2021 Charalampos Stratakis - 3.2.2-1 +- Update to 3.2.2 (rhbz#2010984) + +* Tue Aug 03 2021 Charalampos Stratakis - 3.2.1-1 +- Update to 3.2.1 (rhbz#1975861) + +* Tue Jul 27 2021 Fedora Release Engineering - 3.2.0-5 +- Second attempt - Rebuilt for + https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Thu Jun 03 2021 Python Maint - 3.2.0-4 +- Rebuilt for Python 3.10 + +* Wed Jan 27 2021 Fedora Release Engineering - 3.2.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Wed Jan 20 2021 Charalampos Stratakis - 3.2.0-2 +- Drop dependency on python-nose as tests are not included + +* Wed Dec 09 2020 Charalampos Stratakis - 3.2.0-1 +- Update to 3.2.0 (rhbz#1905482) + +* Wed Jul 29 2020 Fedora Release Engineering - 3.1.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Mon Jun 01 2020 Charalampos Stratakis - 3.1.1-1 +- Update to version 3.1.1 (rhbz#1837989) + +* Sat May 23 2020 Miro Hrončok - 3.0.1-2 +- Rebuilt for Python 3.9 + +* Wed Mar 18 2020 Charalampos Stratakis - 3.0.1-1 +- Update to version 3.0.1 (rhbz#1794914) + +* Thu Jan 30 2020 Fedora Release Engineering - 2.0.0-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Tue Sep 03 2019 Miro Hrončok - 2.0.0-10 +- Subpackage python2-enchant has been removed + See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal + +* Fri Aug 16 2019 Miro Hrončok - 2.0.0-9 +- Rebuilt for Python 3.8 + +* Fri Jul 26 2019 Fedora Release Engineering - 2.0.0-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Sat Feb 02 2019 Fedora Release Engineering - 2.0.0-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Sun Nov 18 2018 Zbigniew Jędrzejewski-Szmek - 2.0.0-6 +- Drop explicit locale setting for python3, use C.UTF-8 for python2 + See https://fedoraproject.org/wiki/Changes/Remove_glibc-langpacks-all_from_buildroot + +* Sat Jul 14 2018 Fedora Release Engineering - 2.0.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Sun Jun 17 2018 Miro Hrončok - 2.0.0-4 +- Rebuilt for Python 3.7 + +* Thu Mar 15 2018 Charalampos Stratakis - 2.0.0-3 +- Conditionalize the python2 subpackage + +* Fri Feb 09 2018 Fedora Release Engineering - 2.0.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Mon Dec 11 2017 Charalampos Stratakis - 2.0.0-1 +- Update to 2.0.0 + +* Thu Jul 27 2017 Fedora Release Engineering - 1.6.10-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Wed Jul 19 2017 Charalampos Stratakis - 1.6.10-1 +- Update to 1.6.10 + +* Sat Feb 11 2017 Fedora Release Engineering - 1.6.8-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Mon Dec 19 2016 Miro Hrončok - 1.6.8-2 +- Rebuild for Python 3.6 + +* Tue Nov 22 2016 Charalampos Stratakis - 1.6.8-1 +- Update to 1.6.8 + +* Tue Jul 19 2016 Fedora Release Engineering - 1.6.6-8 +- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages + +* Wed Feb 10 2016 David Shea - 1.6.6-7 +- Fix TypeError at shutdown + +* Thu Feb 04 2016 Fedora Release Engineering - 1.6.6-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Thu Dec 31 2015 Ville Skyttä - 1.6.6-5 +- Add dependency on enchant to python3 subpackage + +* Tue Nov 10 2015 Fedora Release Engineering - 1.6.6-4 +- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5 + +* Tue Nov 10 2015 Ville Skyttä - 1.6.6-3 +- Rebuild for https://fedoraproject.org/wiki/Changes/python3.5 + +* Thu Jun 18 2015 Fedora Release Engineering - 1.6.6-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Mon Jan 26 2015 Radek Novacek 1.6.6-1 +- Update to 1.6.6 +- Enable python3 tests in the check section + +* Sat Jun 07 2014 Fedora Release Engineering - 1.6.5-14 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Wed May 28 2014 Kalev Lember - 1.6.5-13 +- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4 + +* Tue Aug 06 2013 Radek Novacek 1.6.5-12 +- Disable distribute setup + +* Sun Aug 04 2013 Fedora Release Engineering - 1.6.5-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Thu Feb 14 2013 Fedora Release Engineering - 1.6.5-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Thu Nov 01 2012 Radek Novacek 1.6.5-9 +- Enable tests in %%check + +* Wed Oct 31 2012 Radek Novacek 1.6.5-8 +- Fix upstream url and source url + +* Sat Aug 04 2012 David Malcolm - 1.6.5-7 +- rebuild for https://fedoraproject.org/wiki/Features/Python_3.3 + +* Sat Jul 21 2012 Fedora Release Engineering - 1.6.5-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Sat Jan 14 2012 Fedora Release Engineering - 1.6.5-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Mon Dec 12 2011 Radek Novacek 1.6.5-4 +- Release bump to ensure upgrade path from F16 + +* Mon Oct 10 2011 David Malcolm - 1.6.5-3 +- add python3 subpackage + +* Fri Sep 23 2011 Radek Novacek 1.6.5-2 +- Obsolete old arch-specific version + +* Fri Sep 23 2011 Radek Novacek 1.6.5-1 +- Update to version 1.6.5 +- Change architecture to noarch +- Change python_sitearch to python_sitelib +- Changelog in no longer in source tarball +- Remove nonpacked files + +* Tue Feb 08 2011 Fedora Release Engineering - 1.3.1-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Thu Jul 22 2010 David Malcolm - 1.3.1-7 +- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild + +* Mon Feb 1 2010 Stepan Kasal - 1.3.1-6 +- add a require to work around a problem with libenchant versioning + +* Sun Jul 26 2009 Fedora Release Engineering - 1.3.1-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Thu Feb 26 2009 Fedora Release Engineering - 1.3.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Sat Nov 29 2008 Ignacio Vazquez-Abrams - 1.3.1-3 +- Rebuild for Python 2.6 + +* Tue Feb 19 2008 Fedora Release Engineering - 1.3.1-2 +- Autorebuild for GCC 4.3 + +* Tue Dec 11 2007 Roozbeh Pournader - 1.3.1-1 +- Update to 1.3.1 +- Change license tag to LGPLv2+ + +* Sat Jan 13 2007 Roozbeh Pournader - 1.3.0-1 +- Update to 1.3.0 +- Add ChangeLog and TODO.txt as documentation + +* Sat Dec 09 2006 Roozbeh Pournader - 1.2.0-2 +- Rebuild for Python 2.5 + +* Tue Nov 7 2006 José Matos - 1.2.0-1 +- New upstream release + +* Thu Oct 05 2006 Christian Iseli 1.1.5-5 + - rebuilt for unwind info generation, broken in gcc-4.1.1-21 + +* Wed Sep 20 2006 José Matos - 1.1.5-4 +- Rebuild for FC-6. +- Unghost .pyo files. + +* Tue Feb 14 2006 Roozbeh Pournader - 1.1.5-3 +- Rebuild for Fedora Extras 5 + +* Tue Feb 07 2006 Roozbeh Pournader - 1.1.5-2 +- Rebuild + +* Sat Feb 04 2006 Roozbeh Pournader - 1.1.5-1 +- Update to 1.1.5 + +* Wed Feb 01 2006 Roozbeh Pournader - 1.1.3-3 +- Use %%{python_sitearch} instead of %%{python_sitelib} (for x86_64) + +* Wed Feb 01 2006 Roozbeh Pournader - 1.1.3-2 +- Remove %%{enchant_dir} macro +- Add %%dir for architecture-specific directory +- Add "Provides:" for PyEnchant +- Remove "Requires:" on enchant (Brian Pepple) + +* Mon Jan 09 2006 Roozbeh Pournader - 1.1.3-1 +- Initial packaging diff --git a/python-enchant.spec b/python-enchant.spec index 01f1936..ddbbd8b 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -2,7 +2,7 @@ Name: python-enchant Version: 3.2.2 -Release: 19%{?dist} +Release: %autorelease Summary: Python bindings for Enchant spellchecking library License: LGPL-2.1-or-later @@ -73,275 +73,4 @@ rm -rf $RPM_BUILD_ROOT/%{python3_sitelib}/%{srcname}/share %changelog -* Fri Sep 19 2025 Python Maint - 3.2.2-19 -- Rebuilt for Python 3.14.0rc3 bytecode - -* Fri Aug 15 2025 Python Maint - 3.2.2-18 -- Rebuilt for Python 3.14.0rc2 bytecode - -* Fri Jul 25 2025 Fedora Release Engineering - 3.2.2-17 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild - -* Mon Jun 02 2025 Python Maint - 3.2.2-16 -- Rebuilt for Python 3.14 - -* Sat Jan 18 2025 Fedora Release Engineering - 3.2.2-15 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild - -* Fri Jul 19 2024 Fedora Release Engineering - 3.2.2-14 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild - -* Fri Jun 07 2024 Python Maint - 3.2.2-13 -- Rebuilt for Python 3.13 - -* Fri Jan 26 2024 Fedora Release Engineering - 3.2.2-12 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild - -* Mon Jan 22 2024 Fedora Release Engineering - 3.2.2-11 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild - -* Mon Aug 21 2023 Parag Nemade - 3.2.2-10 -- Migrate to SPDX license expression - -* Fri Jul 21 2023 Fedora Release Engineering - 3.2.2-9 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild - -* Thu Jun 15 2023 Yaakov Selkowitz - 3.2.2-8 -- Update BuildRequires to enchant2 -- Check imports as a minimal test - -* Tue Jun 13 2023 Python Maint - 3.2.2-7 -- Rebuilt for Python 3.12 - -* Fri Jan 20 2023 Fedora Release Engineering - 3.2.2-6 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild - -* Sun Aug 28 2022 Jens Petersen - 3.2.2-5 -- switch to using enchant2 (#2121993) - -* Fri Jul 22 2022 Fedora Release Engineering - 3.2.2-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild - -* Mon Jun 13 2022 Python Maint - 3.2.2-3 -- Rebuilt for Python 3.11 - -* Fri Jan 21 2022 Fedora Release Engineering - 3.2.2-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild - -* Tue Oct 05 2021 Charalampos Stratakis - 3.2.2-1 -- Update to 3.2.2 (rhbz#2010984) - -* Tue Aug 03 2021 Charalampos Stratakis - 3.2.1-1 -- Update to 3.2.1 (rhbz#1975861) - -* Tue Jul 27 2021 Fedora Release Engineering - 3.2.0-5 -- Second attempt - Rebuilt for - https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild - -* Thu Jun 03 2021 Python Maint - 3.2.0-4 -- Rebuilt for Python 3.10 - -* Wed Jan 27 2021 Fedora Release Engineering - 3.2.0-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild - -* Wed Jan 20 2021 Charalampos Stratakis - 3.2.0-2 -- Drop dependency on python-nose as tests are not included - -* Wed Dec 09 2020 Charalampos Stratakis - 3.2.0-1 -- Update to 3.2.0 (rhbz#1905482) - -* Wed Jul 29 2020 Fedora Release Engineering - 3.1.1-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - -* Mon Jun 01 2020 Charalampos Stratakis - 3.1.1-1 -- Update to version 3.1.1 (rhbz#1837989) - -* Sat May 23 2020 Miro Hrončok - 3.0.1-2 -- Rebuilt for Python 3.9 - -* Wed Mar 18 2020 Charalampos Stratakis - 3.0.1-1 -- Update to version 3.0.1 (rhbz#1794914) - -* Thu Jan 30 2020 Fedora Release Engineering - 2.0.0-11 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild - -* Tue Sep 03 2019 Miro Hrončok - 2.0.0-10 -- Subpackage python2-enchant has been removed - See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal - -* Fri Aug 16 2019 Miro Hrončok - 2.0.0-9 -- Rebuilt for Python 3.8 - -* Fri Jul 26 2019 Fedora Release Engineering - 2.0.0-8 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild - -* Sat Feb 02 2019 Fedora Release Engineering - 2.0.0-7 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - -* Sun Nov 18 2018 Zbigniew Jędrzejewski-Szmek - 2.0.0-6 -- Drop explicit locale setting for python3, use C.UTF-8 for python2 - See https://fedoraproject.org/wiki/Changes/Remove_glibc-langpacks-all_from_buildroot - -* Sat Jul 14 2018 Fedora Release Engineering - 2.0.0-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - -* Sun Jun 17 2018 Miro Hrončok - 2.0.0-4 -- Rebuilt for Python 3.7 - -* Thu Mar 15 2018 Charalampos Stratakis - 2.0.0-3 -- Conditionalize the python2 subpackage - -* Fri Feb 09 2018 Fedora Release Engineering - 2.0.0-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - -* Mon Dec 11 2017 Charalampos Stratakis - 2.0.0-1 -- Update to 2.0.0 - -* Thu Jul 27 2017 Fedora Release Engineering - 1.6.10-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild - -* Wed Jul 19 2017 Charalampos Stratakis - 1.6.10-1 -- Update to 1.6.10 - -* Sat Feb 11 2017 Fedora Release Engineering - 1.6.8-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild - -* Mon Dec 19 2016 Miro Hrončok - 1.6.8-2 -- Rebuild for Python 3.6 - -* Tue Nov 22 2016 Charalampos Stratakis - 1.6.8-1 -- Update to 1.6.8 - -* Tue Jul 19 2016 Fedora Release Engineering - 1.6.6-8 -- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages - -* Wed Feb 10 2016 David Shea - 1.6.6-7 -- Fix TypeError at shutdown - -* Thu Feb 04 2016 Fedora Release Engineering - 1.6.6-6 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild - -* Thu Dec 31 2015 Ville Skyttä - 1.6.6-5 -- Add dependency on enchant to python3 subpackage - -* Tue Nov 10 2015 Fedora Release Engineering - 1.6.6-4 -- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5 - -* Tue Nov 10 2015 Ville Skyttä - 1.6.6-3 -- Rebuild for https://fedoraproject.org/wiki/Changes/python3.5 - -* Thu Jun 18 2015 Fedora Release Engineering - 1.6.6-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild - -* Mon Jan 26 2015 Radek Novacek 1.6.6-1 -- Update to 1.6.6 -- Enable python3 tests in the check section - -* Sat Jun 07 2014 Fedora Release Engineering - 1.6.5-14 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild - -* Wed May 28 2014 Kalev Lember - 1.6.5-13 -- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4 - -* Tue Aug 06 2013 Radek Novacek 1.6.5-12 -- Disable distribute setup - -* Sun Aug 04 2013 Fedora Release Engineering - 1.6.5-11 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild - -* Thu Feb 14 2013 Fedora Release Engineering - 1.6.5-10 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild - -* Thu Nov 01 2012 Radek Novacek 1.6.5-9 -- Enable tests in %%check - -* Wed Oct 31 2012 Radek Novacek 1.6.5-8 -- Fix upstream url and source url - -* Sat Aug 04 2012 David Malcolm - 1.6.5-7 -- rebuild for https://fedoraproject.org/wiki/Features/Python_3.3 - -* Sat Jul 21 2012 Fedora Release Engineering - 1.6.5-6 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild - -* Sat Jan 14 2012 Fedora Release Engineering - 1.6.5-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild - -* Mon Dec 12 2011 Radek Novacek 1.6.5-4 -- Release bump to ensure upgrade path from F16 - -* Mon Oct 10 2011 David Malcolm - 1.6.5-3 -- add python3 subpackage - -* Fri Sep 23 2011 Radek Novacek 1.6.5-2 -- Obsolete old arch-specific version - -* Fri Sep 23 2011 Radek Novacek 1.6.5-1 -- Update to version 1.6.5 -- Change architecture to noarch -- Change python_sitearch to python_sitelib -- Changelog in no longer in source tarball -- Remove nonpacked files - -* Tue Feb 08 2011 Fedora Release Engineering - 1.3.1-8 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild - -* Thu Jul 22 2010 David Malcolm - 1.3.1-7 -- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild - -* Mon Feb 1 2010 Stepan Kasal - 1.3.1-6 -- add a require to work around a problem with libenchant versioning - -* Sun Jul 26 2009 Fedora Release Engineering - 1.3.1-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild - -* Thu Feb 26 2009 Fedora Release Engineering - 1.3.1-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild - -* Sat Nov 29 2008 Ignacio Vazquez-Abrams - 1.3.1-3 -- Rebuild for Python 2.6 - -* Tue Feb 19 2008 Fedora Release Engineering - 1.3.1-2 -- Autorebuild for GCC 4.3 - -* Tue Dec 11 2007 Roozbeh Pournader - 1.3.1-1 -- Update to 1.3.1 -- Change license tag to LGPLv2+ - -* Sat Jan 13 2007 Roozbeh Pournader - 1.3.0-1 -- Update to 1.3.0 -- Add ChangeLog and TODO.txt as documentation - -* Sat Dec 09 2006 Roozbeh Pournader - 1.2.0-2 -- Rebuild for Python 2.5 - -* Tue Nov 7 2006 José Matos - 1.2.0-1 -- New upstream release - -* Thu Oct 05 2006 Christian Iseli 1.1.5-5 - - rebuilt for unwind info generation, broken in gcc-4.1.1-21 - -* Wed Sep 20 2006 José Matos - 1.1.5-4 -- Rebuild for FC-6. -- Unghost .pyo files. - -* Tue Feb 14 2006 Roozbeh Pournader - 1.1.5-3 -- Rebuild for Fedora Extras 5 - -* Tue Feb 07 2006 Roozbeh Pournader - 1.1.5-2 -- Rebuild - -* Sat Feb 04 2006 Roozbeh Pournader - 1.1.5-1 -- Update to 1.1.5 - -* Wed Feb 01 2006 Roozbeh Pournader - 1.1.3-3 -- Use %%{python_sitearch} instead of %%{python_sitelib} (for x86_64) - -* Wed Feb 01 2006 Roozbeh Pournader - 1.1.3-2 -- Remove %%{enchant_dir} macro -- Add %%dir for architecture-specific directory -- Add "Provides:" for PyEnchant -- Remove "Requires:" on enchant (Brian Pepple) - -* Mon Jan 09 2006 Roozbeh Pournader - 1.1.3-1 -- Initial packaging +%autochangelog From fa46d5936ce90fee9df6d4037976d7a53b42b4d2 Mon Sep 17 00:00:00 2001 From: Charalampos Stratakis Date: Mon, 29 Sep 2025 21:45:42 +0200 Subject: [PATCH 56/60] Use a macro for the source [skip changelog] --- python-enchant.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-enchant.spec b/python-enchant.spec index ddbbd8b..a6acc35 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -7,7 +7,7 @@ Summary: Python bindings for Enchant spellchecking library License: LGPL-2.1-or-later URL: https://pyenchant.github.io/pyenchant/ -Source0: https://files.pythonhosted.org/packages/source/p/py%{srcname}/py%{srcname}-%{version}.tar.gz +Source: %{pypi_source pyenchant} BuildArch: noarch BuildRequires: enchant2 From 1fe2675c9d9d0ed8bc66b9a9fa0771ac6141f292 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Wed, 9 Jul 2025 23:37:57 +0200 Subject: [PATCH 57/60] Convert to pyproject-rpm-macros - Fixes: rhbz#2377685 --- python-enchant.spec | 42 +++++++++++++----------------------------- 1 file changed, 13 insertions(+), 29 deletions(-) diff --git a/python-enchant.spec b/python-enchant.spec index a6acc35..a74ac08 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -11,6 +11,8 @@ Source: %{pypi_source pyenchant} BuildArch: noarch BuildRequires: enchant2 +# For importing the wxSpellCheckerDialog module +BuildRequires: python3-wxpython4 %description PyEnchant is a spellchecking library for Python, based on the Enchant @@ -21,55 +23,37 @@ library by Dom Lachowicz. Summary: Python 3 bindings for Enchant spellchecking library BuildRequires: python3-devel -BuildRequires: python3-setuptools Requires: enchant2 -%{?python_provide:%python_provide python3-%{srcname}} +Recommends: python3-wxpython4 %description -n python3-%{srcname} PyEnchant is a spellchecking library for Python 3, based on the Enchant library by Dom Lachowicz. %prep -%setup -q -n py%{srcname}-%{version} -# Remove bundled egg-info -rm -rf py%{srcname}.egg-info +%autosetup -p1 -n py%{srcname}-%{version} -find . -name '*.py' | xargs sed -i '1s|^#!python|#!%{__python3}|' +%generate_buildrequires +%pyproject_buildrequires %build -%py3_build +%pyproject_wheel %install -%py3_install - -# Directories used in windows build -rm -rf $RPM_BUILD_ROOT/%{python3_sitelib}/%{srcname}/lib -rm -rf $RPM_BUILD_ROOT/%{python3_sitelib}/%{srcname}/share - +%pyproject_install +%pyproject_save_files -L %{srcname} # Tests are not included in the upstream tarball %check -%py3_check_import %{srcname} %{srcname}.checker %{srcname}.tokenize +# We exclude testing of the import for the GtkSpellCheckerDialog +# as it utilizes the legacy PyGTK bindings +%pyproject_check_import -e '*.GtkSpellCheckerDialog' - -%files -n python3-%{srcname} +%files -n python3-%{srcname} -f %{pyproject_files} %doc README.rst %license LICENSE.txt -%dir %{python3_sitelib}/%{srcname} -%dir %{python3_sitelib}/%{srcname}/__pycache__ -%dir %{python3_sitelib}/%{srcname}/checker -%dir %{python3_sitelib}/%{srcname}/checker/__pycache__ -%dir %{python3_sitelib}/%{srcname}/tokenize -%dir %{python3_sitelib}/%{srcname}/tokenize/__pycache__ -%{python3_sitelib}/%{srcname}/*.py -%{python3_sitelib}/%{srcname}/__pycache__/*.py[co] -%{python3_sitelib}/%{srcname}/checker/*.py -%{python3_sitelib}/%{srcname}/checker/__pycache__/*.py[co] -%{python3_sitelib}/%{srcname}/tokenize/*.py -%{python3_sitelib}/%{srcname}/tokenize/__pycache__/*.py[co] -%{python3_sitelib}/py%{srcname}-%{version}-py%{python3_version}.egg-info %changelog From f2c5c10b617f83de2597b94a05c1f20a659d166b Mon Sep 17 00:00:00 2001 From: Charalampos Stratakis Date: Tue, 30 Sep 2025 01:46:16 +0200 Subject: [PATCH 58/60] CI: Fix test expectation for the latest german dictionary database [skip changelog] --- python-enchant.spec | 6 ++---- tests/test_enchant.py | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/python-enchant.spec b/python-enchant.spec index a74ac08..67b7cc3 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -10,7 +10,9 @@ URL: https://pyenchant.github.io/pyenchant/ Source: %{pypi_source pyenchant} BuildArch: noarch + BuildRequires: enchant2 +BuildRequires: python3-devel # For importing the wxSpellCheckerDialog module BuildRequires: python3-wxpython4 @@ -22,12 +24,8 @@ library by Dom Lachowicz. %package -n python3-%{srcname} Summary: Python 3 bindings for Enchant spellchecking library -BuildRequires: python3-devel - Requires: enchant2 -Recommends: python3-wxpython4 - %description -n python3-%{srcname} PyEnchant is a spellchecking library for Python 3, based on the Enchant library by Dom Lachowicz. diff --git a/tests/test_enchant.py b/tests/test_enchant.py index e8ee2c1..255714c 100644 --- a/tests/test_enchant.py +++ b/tests/test_enchant.py @@ -25,7 +25,7 @@ class TestEnchant(unittest.TestCase): self.assertEqual(d.check('Alpengluhen'), False) self.assertEqual( d.suggest('Alpengluhen'), - ['Alpenglühen', 'Alpengluten', 'Alpenländischen']) + ['Alpenglühen', 'Alpengluten', 'Altenglischen']) if __name__ == "__main__": unittest.main() From 8aecb213ce3033036a2f1ee5d44a7919bf9a7692 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Mon, 6 Oct 2025 19:28:01 +0200 Subject: [PATCH 59/60] Exclude python3-wxpython4 build dependency on RHEL/ELN Fixes https://github.com/fedora-eln/eln/issues/329 --- python-enchant.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/python-enchant.spec b/python-enchant.spec index 67b7cc3..8809ffe 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -13,8 +13,10 @@ BuildArch: noarch BuildRequires: enchant2 BuildRequires: python3-devel +%if %{undefined rhel} # For importing the wxSpellCheckerDialog module BuildRequires: python3-wxpython4 +%endif %description PyEnchant is a spellchecking library for Python, based on the Enchant @@ -46,8 +48,9 @@ library by Dom Lachowicz. # Tests are not included in the upstream tarball %check # We exclude testing of the import for the GtkSpellCheckerDialog -# as it utilizes the legacy PyGTK bindings -%pyproject_check_import -e '*.GtkSpellCheckerDialog' +# as it utilizes the legacy PyGTK bindings. +# On RHEL, we also exclude wx to avoid it as a dependency. +%pyproject_check_import -e '*.GtkSpellCheckerDialog' %{?rhel:-e '*.wxSpellCheckerDialog'} %files -n python3-%{srcname} -f %{pyproject_files} %doc README.rst From 5e5c32221f8079e9ffee921a88dd7d9b41ecbcd9 Mon Sep 17 00:00:00 2001 From: Lumir Balhar Date: Thu, 20 Nov 2025 11:57:17 +0100 Subject: [PATCH 60/60] Update to 3.3.0 (rhbz#2395062) --- .gitignore | 1 + python-enchant.spec | 4 +++- sources | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 85eaf7e..c55b3e5 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,4 @@ pyenchant-1.3.1.tar.gz /pyenchant-3.2.0.tar.gz /pyenchant-3.2.1.tar.gz /pyenchant-3.2.2.tar.gz +/pyenchant-3.3.0.tar.gz diff --git a/python-enchant.spec b/python-enchant.spec index 8809ffe..3854a73 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -1,7 +1,7 @@ %global srcname enchant Name: python-enchant -Version: 3.2.2 +Version: 3.3.0 Release: %autorelease Summary: Python bindings for Enchant spellchecking library @@ -34,6 +34,8 @@ library by Dom Lachowicz. %prep %autosetup -p1 -n py%{srcname}-%{version} +# Workaround for https://github.com/pyenchant/pyenchant/issues/326 +sed -i "/size=wxSpellCheckerDialog\.sz/s/wxSpellCheckerDialog\.//" enchant/checker/wxSpellCheckerDialog.py %generate_buildrequires %pyproject_buildrequires diff --git a/sources b/sources index 3401ed4..be597a1 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (pyenchant-3.2.2.tar.gz) = 65dd6abf51f7dd45d9879c63d9a1d34a4682ef37da961d0eb41849c6bbb707d94d079f5581b5f695a01fd9a9b68e9456d487b4423ed8382882f22eeeb6b080f8 +SHA512 (pyenchant-3.3.0.tar.gz) = b9d70697623415314d1ba145d02e8b6e37da19ad04efca5fd114c814cce9f12d0899751ec620efc6ada347754a28075ad351e81db3cf0165c4f3aad5b5ee5086