From 804c7cdbf79d8aa0af90d06abb379e1acb809b7a Mon Sep 17 00:00:00 2001 From: Funda Wang Date: Thu, 5 Dec 2024 12:14:15 +0800 Subject: [PATCH] fix locale files installation --- newt.spec | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/newt.spec b/newt.spec index 1b18189..59d64d3 100644 --- a/newt.spec +++ b/newt.spec @@ -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 - 0.52.21-7 +- fix locale files installation + * Mon Feb 13 2023 yanglu - 0.52.21-6 - Type:bugfix - Id:NA -- Gitee