Fix CC compiler support

(cherry picked from commit 15a7538147ffc1d15b2d862841d0c76eba2da9eb)
This commit is contained in:
wangqiang 2024-03-07 23:12:30 +08:00 committed by openeuler-sync-bot
parent fb6fc61a5e
commit 3cbb927a07
2 changed files with 6 additions and 2 deletions

View File

@ -1,6 +1,6 @@
Name: enchant
Version: 1.6.1
Release: 3
Release: 4
Epoch: 1
Summary: Generic spell checking library
@ -47,6 +47,7 @@ Applications need libraries integrated by using libenchant with voikko.
%autosetup -n %{name}-%{version} -p1
%build
export OBJC=%{__cc}
%configure --disable-ispell --disable-hspell --disable-zemberek --enable-myspell \
--with-myspell-dir=/usr/share/myspell
make %{?_smp_mflags}
@ -83,6 +84,9 @@ make install DESTDIR=%{buildroot}
%{_mandir}/man1/*.gz
%changelog
* Fri Mar 15 2024 wangqiang <wangqiang1@kylinos.cn> - 1:1.6.1-4
- Fix CC compiler support
* Tue Jul 20 2021 liuyumeng <liuyumeng5@huawei.com> - 1:1.6.1-3
- delete gdb in buildrequires

View File

@ -1,4 +1,4 @@
version_control: github
src_repo: AbiWord/enchant
tag_prefix: ^v
seperator: .
separator: .