!4 [sync] PR-3: 修复rpmbuild编译rmbuild阶段rm删除文件没有权限问题

From: @openeuler-sync-bot 
Reviewed-by: @caodongxia 
Signed-off-by: @caodongxia
This commit is contained in:
openeuler-ci-bot 2023-02-17 08:44:04 +00:00 committed by Gitee
commit 8eb3031a72
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

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