From 8d5ba0483fee4c68a40a3c059808abe5464d62d8 Mon Sep 17 00:00:00 2001 From: Funda Wang Date: Thu, 5 Dec 2024 11:57:44 +0800 Subject: [PATCH] fix locale files installation --- newt.spec | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/newt.spec b/newt.spec index 4efc9d4..619d344 100644 --- a/newt.spec +++ b/newt.spec @@ -1,6 +1,6 @@ Name: newt Version: 0.52.24 -Release: 1 +Release: 2 Summary: A library for text mode user interfaces License: LGPL-2.0-only URL: https://pagure.io/newt @@ -54,40 +54,38 @@ docbook2txt tutorial.sgml %install %make_install -rm -f $RPM_BUILD_ROOT%{_libdir}/libnewt.a +%delete_la_and_a +%find_lang %{name} %check -make test +%make_build test -%ldconfig_scriptlets - -%files -%defattr(-,root,root) +%files -f %{name}.lang %doc AUTHORS README %license COPYING %{_bindir}/* -%{_datadir}/locale %{_libdir}/libnewt.so.* %files devel -%defattr(-,root,root) %{_includedir}/newt* %{_libdir}/libnewt.so %{_libdir}/pkgconfig/* %files -n python3-newt -%defattr(-,root,root) %doc peanuts.py popcorn.py %{python3_sitearch}/*.* %{python3_sitearch}/__pycache__/*.py* %files help -%defattr(-,root,root) %doc tutorial.* CHANGES %{_mandir}/man1/whiptail.1* %changelog +* Thu Dec 05 2024 Funda Wang - 0.52.24-2 +- fix locale files installation +- cleanup spec + * Wed Aug 7 2024 dillon chen - 0.52.24-1 - Update newt version to 0.52.24 again -- Gitee