Compare commits

...

10 Commits

Author SHA1 Message Date
Pooja Yadav f504fdd133 Resolves: rhbz#1996020 Add CI tests 2023-05-18 11:01:49 +00:00
Pooja Yadav 5df37c2f42 Resolves: rhbz#1996020 Add CI tests 2021-08-24 17:29:45 +05:30
Aleksandra Fedorova 1a589e5130 Add RHEL gating configuration 2021-08-20 11:28:56 +00:00
Mohan Boddu 65c5bf8d69 Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
Signed-off-by: Mohan Boddu <mboddu@redhat.com>
2021-08-09 19:55:02 +00:00
Mohan Boddu 1848ac7782 - Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
Signed-off-by: Mohan Boddu <mboddu@redhat.com>
2021-04-15 23:13:22 +00:00
DistroBaker 44a3067f7c Merged update from upstream sources
This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.

Source: https://src.fedoraproject.org/rpms/enchant2.git#e55ebba8377b0456ffccfc6a0929f858def1f0d8
2021-02-08 12:14:01 +00:00
DistroBaker 04b6b50aa0 Merged update from upstream sources
This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.

Source: https://src.fedoraproject.org/rpms/enchant2.git#81f49d0bb648adf76866e65eee47b0b637f1012a
2021-02-06 23:56:36 +00:00
DistroBaker 94d662ee80 Merged update from upstream sources
This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.

Source: https://src.fedoraproject.org/rpms/enchant2.git#a3bd7b33df57643d51c222d3421ff27eaef1ccd7
2021-02-03 13:20:37 +01:00
DistroBaker ea70e0a2d2 Merged update from upstream sources
This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.

Source: https://src.fedoraproject.org/rpms/enchant2.git#f8e436bff6d0c64701e9b307a62176a1034758c2
2020-12-23 01:17:36 +00:00
DistroBaker 5c07f2dbdb Merged update from upstream sources
This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.

Source: https://src.fedoraproject.org/rpms/enchant2.git#72703ba143c161fa5951ee8ba6213c33ad46f01e
2020-12-15 10:58:01 +00:00
7 changed files with 107 additions and 13 deletions

1
.enchant2.metadata Normal file
View File

@ -0,0 +1 @@
70aabc4cceeaef69dd64b879772aea2d36b08bad enchant-2.2.15.tar.gz

2
.gitignore vendored
View File

@ -10,3 +10,5 @@
/enchant-2.2.11.tar.gz
/enchant-2.2.12.tar.gz
/enchant-2.2.13.tar.gz
/enchant-2.2.14.tar.gz
/enchant-2.2.15.tar.gz

View File

@ -1,6 +1,6 @@
Name: enchant2
Version: 2.2.13
Release: 1%{?snap}%{?dist}
Version: 2.2.15
Release: 6%{?snap}%{?dist}
Summary: An Enchanting Spell Checking Library
License: LGPLv2+
@ -18,6 +18,10 @@ BuildRequires: glib2-devel
BuildRequires: aspell-devel
BuildRequires: hunspell-devel
BuildRequires: libvoikko-devel
%if !0%{?rhel}
BuildRequires: nuspell-devel >= 4.1.0
%endif
BuildRequires: make
Provides: bundled(gnulib)
@ -33,6 +37,16 @@ Requires: enchant2%{?_isa} = %{version}-%{release}
%description aspell
Libraries necessary to integrate applications using libenchant with aspell.
%if !0%{?rhel}
%package nuspell
Summary: Integration with Nuspell for libenchant
Requires: enchant2%{?_isa} = %{version}-%{release}
Supplements: (enchant2 and nuspell)
%description nuspell
Libraries necessary to integrate applications using libenchant with Nuspell.
%endif
%package voikko
Summary: Integration with voikko for libenchant
Requires: enchant2%{?_isa} = %{version}-%{release}
@ -63,6 +77,9 @@ autoreconf -ifv
%configure \
--with-aspell \
--with-hunspell-dir=%{_datadir}/myspell \
%if !0%{?rhel}
--with-nuspell \
%endif
--without-hspell \
--disable-static
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g;
@ -92,6 +109,11 @@ find %{buildroot} -name '*.la' -delete
%files aspell
%{_libdir}/enchant-2/enchant_aspell.so*
%if !0%{?rhel}
%files nuspell
%{_libdir}/enchant-2/enchant_nuspell.so*
%endif
%files voikko
%{_libdir}/enchant-2/enchant_voikko.so*
@ -102,6 +124,28 @@ find %{buildroot} -name '*.la' -delete
%changelog
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 2.2.15-6
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
* Thu Apr 15 2021 Mohan Boddu <mboddu@redhat.com> - 2.2.15-5
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
* Mon Feb 08 2021 Kalev Lember <klember@redhat.com> - 2.2.15-4
- Disable nuspell support for RHEL (#1925839)
* Tue Feb 2 2021 Peter Oliver <rpm@mavit.org.uk> - 2.2.15-3
- Include support for Nuspell.
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.15-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Wed Dec 23 2020 Sandro Mani <manisandro@gmail.com> - 2.2.15-1
- Update to 2.2.15
* Mon Dec 14 2020 Sandro Mani <manisandro@gmail.com> - 2.2.14-1
- Update to 2.2.14
* Tue Nov 03 2020 Sandro Mani <manisandro@gmail.com> - 2.2.13-1
- Update to 2.2.13

View File

@ -1,18 +1,18 @@
diff -rupN --no-dereference enchant-2.2.13/configure.ac enchant-2.2.13-new/configure.ac
--- enchant-2.2.13/configure.ac 2020-11-02 22:52:28.000000000 +0100
+++ enchant-2.2.13-new/configure.ac 2020-11-03 12:07:26.995286620 +0100
diff -rupN --no-dereference enchant-2.2.15/configure.ac enchant-2.2.15-new/configure.ac
--- enchant-2.2.15/configure.ac 2020-12-22 19:34:03.000000000 +0100
+++ enchant-2.2.15-new/configure.ac 2020-12-23 01:58:30.716732566 +0100
@@ -210,7 +210,7 @@ build_providers=
dnl Standard providers
ENCHANT_CHECK_PKG_CONFIG_PROVIDER([hunspell], [HUNSPELL])
ENCHANT_CHECK_PKG_CONFIG_PROVIDER([nuspell], [NUSPELL])
ENCHANT_CHECK_PKG_CONFIG_PROVIDER([nuspell], [NUSPELL], [nuspell >= 4.1.0])
-ENCHANT_CHECK_LIB_PROVIDER([aspell], [ASPELL], [get_aspell_dict_info_list])
+ENCHANT_CHECK_PKG_CONFIG_PROVIDER([aspell], [ASPELL])
ENCHANT_CHECK_LIB_PROVIDER([hspell], [HSPELL], [hspell_get_dictionary_path],, [-lz])
ENCHANT_CHECK_PKG_CONFIG_PROVIDER([voikko], [VOIKKO], [libvoikko])
dnl FIXME: The test below assumes GCC(-compatible) ObjC++ compiler, but
diff -rupN --no-dereference enchant-2.2.13/providers/Makefile.am enchant-2.2.13-new/providers/Makefile.am
--- enchant-2.2.13/providers/Makefile.am 2020-02-27 14:05:18.000000000 +0100
+++ enchant-2.2.13-new/providers/Makefile.am 2020-11-03 12:07:26.995286620 +0100
diff -rupN --no-dereference enchant-2.2.15/providers/Makefile.am enchant-2.2.15-new/providers/Makefile.am
--- enchant-2.2.15/providers/Makefile.am 2020-02-27 14:05:18.000000000 +0100
+++ enchant-2.2.15-new/providers/Makefile.am 2020-12-23 01:58:30.716732566 +0100
@@ -12,6 +12,7 @@ AM_LDFLAGS = -module -avoid-version -no-
if WITH_ASPELL
provider_LTLIBRARIES += enchant_aspell.la
@ -21,9 +21,9 @@ diff -rupN --no-dereference enchant-2.2.13/providers/Makefile.am enchant-2.2.13-
if WITH_HSPELL
provider_LTLIBRARIES += enchant_hspell.la
diff -rupN --no-dereference enchant-2.2.13/tests/test.pwl.orig enchant-2.2.13-new/tests/test.pwl.orig
--- enchant-2.2.13/tests/test.pwl.orig 2017-02-04 18:34:34.000000000 +0100
+++ enchant-2.2.13-new/tests/test.pwl.orig 1970-01-01 01:00:00.000000000 +0100
diff -rupN --no-dereference enchant-2.2.15/tests/test.pwl.orig enchant-2.2.15-new/tests/test.pwl.orig
--- enchant-2.2.15/tests/test.pwl.orig 2017-02-04 18:34:34.000000000 +0100
+++ enchant-2.2.15-new/tests/test.pwl.orig 1970-01-01 01:00:00.000000000 +0100
@@ -1,2 +0,0 @@
-hello
-tag

7
gating.yaml Normal file
View File

@ -0,0 +1,7 @@
--- !Policy
product_versions:
- rhel-9
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}

View File

@ -1 +1 @@
SHA512 (enchant-2.2.13.tar.gz) = 8bd4c05224528c3d4cdcd927ead3071ef7caa54971ea86b83cf711e6f7108431bcdf53f7e12a2216cf5535ac40d8d7c116787adbd43837d317b0e56b14eeea36
SHA512 (enchant-2.2.15.tar.gz) = e29b3a85d993af28044a86dd23a3ca74c7d50b4218e542c380053a3eaf70c3ea2406feb3361ba8e793bac586c252330bb20fb56c65f3a0a54f63f103cc0abb35

40
tests/tests.yml Normal file
View File

@ -0,0 +1,40 @@
- hosts: localhost
roles:
- role: standard-test-basic
tags:
- classic
tests:
- test_lsmod_h:
dir: .
run: enchant-lsmod-2 -h >/dev/null
- test_lsmod_v:
dir: .
run: enchant-lsmod-2 -v >/dev/null
- test_list_dicts_aa_BB:
dir: .
run: test "`enchant-lsmod-2 -list-dicts | grep aa_BB`" = ""
- test_list_dicts_cs_CZ:
dir: .
run: test "`enchant-lsmod-2 -list-dicts | grep cs_CZ`" != ""
- test_enchant_v:
dir: .
run: enchant-2 -v >/dev/null
- test_enchant_d_CCC:
dir: .
run: test "`echo cezta | enchant-2 -d cs_CZ -a | grep -c CCC`" = "0"
- test_enchant_d_cesta:
dir: .
run: echo "cezta" | enchant-2 -d cs_CZ -a | grep cesta >/dev/null
- test_cezta_pen_pes_cezta:
dir: .
run: echo "cezta pen pes" | enchant-2 -d cs_CZ -l | grep cezta >/dev/null
- test_cezta_pen_pes_pen:
dir: .
run: echo "cezta pen pes" | enchant-2 -d cs_CZ -l | grep pen >/dev/null
- test_cezta_pen_pes_pes:
dir: .
run: test "`echo cezta pen pes | enchant-2 -d cs_CZ -l | grep -c pen`" = "1"
required_packages:
- enchant2
- hunspell-cs