fix locale files installation

This commit is contained in:
Funda Wang 2024-12-05 12:14:15 +08:00
parent 77dd4f4f8a
commit 804c7cdbf7

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