fix build with rpm 4.18.0

(cherry picked from commit ef177d5d353fb977971c555814da5d176bf78608)
This commit is contained in:
wu-leilei 2023-02-15 14:10:29 +08:00 committed by openeuler-sync-bot
parent 32c29ce2c6
commit bc20f38e87

View File

@ -1,6 +1,6 @@
Name: hunspell-sl
Version: 0.20120104
Release: 1
Release: 2
Summary: Hunspell dictionaries for Slovenian
License: GPL+ or LGPLv2+
URL: https://extensions.libreoffice.org
@ -15,7 +15,7 @@ Hunspell dictionaries for Slovenian.
%autosetup -c -n hunspell-sl
%build
chmod -x *
chmod -x *.txt *.xcu *.dic *.aff *.dat *.idx
%install
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
@ -26,5 +26,8 @@ cp -p *.dic *.aff $RPM_BUILD_ROOT/%{_datadir}/myspell
%{_datadir}/myspell/*
%changelog
* Wed Feb 15 2023 wulei <wulei80@h-partners.com> - 0.20120104-2
- fix build with rpm 4.18.0
* Wed Apr 22 2020 huanghaitao <huanghaitao8@huawei.com> - 0.20120104-1
- package init