Fix build failed with rpm 4.18.0
This commit is contained in:
parent
a179306c0e
commit
59bbfe3357
@ -1,7 +1,7 @@
|
||||
Name: hyphen-sv
|
||||
Summary: The hyphenation rules for Swedish
|
||||
Version: 1.00.1
|
||||
Release: 20
|
||||
Release: 21
|
||||
Source: https://downloads.sourceforge.net/project/aoo-extensions/1966/4/hyph_sv_se.oxt
|
||||
URL: http://extensions.services.openoffice.org/node/1968
|
||||
License: LGPLv2+ or GPLv2+
|
||||
@ -16,7 +16,7 @@ The hyphenation rules for Swedish.
|
||||
%autosetup -c -n hyphen-sv -p1
|
||||
|
||||
%build
|
||||
chmod -x *
|
||||
chmod -x *.dic *.txt
|
||||
for i in README_sv_SE.txt; do
|
||||
if ! iconv -f utf-8 -t utf-8 -o /dev/null $i > /dev/null 2>&1; then
|
||||
iconv -f ISO-8859-1 -t UTF-8 $i > $i.new
|
||||
@ -37,5 +37,8 @@ ln -s hyph_sv_SE.dic hyph_sv_FI.dic
|
||||
%{_datadir}/hyphen/*
|
||||
|
||||
%changelog
|
||||
* Wed Feb 15 2023 liyanan<liyanan32@h-partners.com> - 1.00.1-21
|
||||
- Fix build failed with rpm 4.18.0
|
||||
|
||||
* Thu Apr 16 2020 wangyue<wangyue92@huawei.com> - 1.00.1-20
|
||||
- Package init
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user