public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/enchant2] rawhide: Drop aspell on fedora>=46 (#2564627)
@ 2026-11-02 12:51 Sandro Mani
0 siblings, 0 replies; only message in thread
From: Sandro Mani @ 2026-11-02 12:51 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/enchant2
Branch : rawhide
Commit : bbc38bae98adc0768bbaab46a229f4c8b254b1f0
Author : Sandro Mani <manisandro@gmail.com>
Date : 2026-11-02T13:51:22+01:00
Stats : +17/-7 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/enchant2/c/bbc38bae98adc0768bbaab46a229f4c8b254b1f0?branch=rawhide
Log:
Drop aspell on fedora>=46 (#2564627)
---
diff --git a/enchant2.spec b/enchant2.spec
index 4bde32d..405ff1a 100644
--- a/enchant2.spec
+++ b/enchant2.spec
@@ -1,21 +1,20 @@
%bcond mingw %[%{undefined rhel} && %{undefined flatpak}]
+%bcond aspell %[%{undefined rhel} && 0%{?fedora} < 46]
Name: enchant2
Version: 2.8.21
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: An Enchanting Spell Checking Library
License: LGPL-2.0-or-later
URL: https://github.com/rrthomas/enchant
Source0: https://github.com/rrthomas/enchant/releases/download/v%{version}/enchant-%{version}.tar.gz
-%if !0%{?rhel}
# Look for aspell using pkg-config, instead of AC_CHECK_LIB which adds -laspell
# to the global LIBS and over-links libenchant (#1574893). This patch
# can't currently go upstream, because aspell.pc is a Fedora addition
# that itself has not gone upstream.
Patch: 0001-Use-pkg-config-to-configure-Aspell.patch
-%endif
BuildRequires: automake autoconf libtool
BuildRequires: gcc-c++
@@ -26,8 +25,10 @@ BuildRequires: hunspell-devel
BuildRequires: libvoikko-devel
BuildRequires: vala
-%if !0%{?rhel}
+%if %{with aspell}
BuildRequires: aspell-devel
+%endif
+%if !0%{?rhel}
BuildRequires: nuspell-devel
%endif
@@ -59,7 +60,7 @@ Provides: bundled(gnulib)
A library that wraps other spell checking backends.
-%if !0%{?rhel}
+%if %{with aspell}
%package aspell
Summary: Integration with aspell for libenchant
Requires: enchant2%{?_isa} = %{version}-%{release}
@@ -67,7 +68,9 @@ Supplements: (enchant2 and aspell)
%description aspell
Libraries necessary to integrate applications using libenchant with aspell.
+%endif
+%if !0%{?rhel}
%package nuspell
Summary: Integration with Nuspell for libenchant
Requires: enchant2%{?_isa} = %{version}-%{release}
@@ -130,8 +133,10 @@ mkdir build_native
pushd build_native
%define _configure ../configure
%configure \
-%if !0%{?rhel}
+%if %{with aspell}
--with-aspell \
+%endif
+%if !0%{?rhel}
--with-nuspell \
%endif
--with-hunspell-dir=%{_datadir}/hunspell \
@@ -189,10 +194,12 @@ find %{buildroot} -name '*.la' -delete
%{_mandir}/man5/enchant.5*
%{_datadir}/enchant-2-2
-%if !0%{?rhel}
+%if %{with aspell}
%files aspell
%{_libdir}/enchant-2/enchant_aspell.so*
+%endif
+%if !0%{?rhel}
%files nuspell
%{_libdir}/enchant-2/enchant_nuspell.so*
%endif
@@ -240,6 +247,9 @@ find %{buildroot} -name '*.la' -delete
%changelog
+* Mon Nov 02 2026 Sandro Mani <manisandro@gmail.com> - 2.8.21-2
+- Drop aspell on fedora>=46 (#2564627)
+
* Tue Sep 15 2026 Sandro Mani <manisandro@gmail.com> - 2.8.21-1
- Update to 2.8.21
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-02 12:51 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-02 12:51 [rpms/enchant2] rawhide: Drop aspell on fedora>=46 (#2564627) Sandro Mani
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox