!30 fix locale files installation

From: @fundawang 
Reviewed-by: @dillon_chen 
Signed-off-by: @dillon_chen
This commit is contained in:
openeuler-ci-bot 2024-12-06 05:48:30 +00:00 committed by Gitee
commit bccc2df971
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,6 +1,6 @@
Name: newt
Version: 0.52.21
Release: 6
Release: 7
Summary: A library for text mode user interfaces
License: LGPLv2
URL: https://pagure.io/newt
@ -64,6 +64,9 @@ providing a python API for creating text mode interfaces.
%install
%make_install
%find_lang %{name}
chmod 0755 peanuts.py popcorn.py
docbook2txt tutorial.sgml
@ -73,12 +76,11 @@ make test
%ldconfig_scriptlets
%files
%files -f %{name}.lang
%defattr(-,root,root)
%doc AUTHORS README
%license COPYING
%{_bindir}/*
%{_datadir}/locale
%{_libdir}/libnewt.so.*
%files devel
@ -105,6 +107,9 @@ make test
%{_mandir}/man1/whiptail.1*
%changelog
* Thu Dec 05 2024 Funda Wang <fundawang@yeah.net> - 0.52.21-7
- fix locale files installation
* Mon Feb 13 2023 yanglu <yanglu72@h-partners.com> - 0.52.21-6
- Type:bugfix
- Id:NA