From 181503669c161351473fc06d6a37380448f9a228 Mon Sep 17 00:00:00 2001 From: Funda Wang Date: Thu, 5 Dec 2024 11:53:47 +0800 Subject: [PATCH] fix locale files installation (cherry picked from commit f4141e7fa69a5b5f1beb6c3b27d61c9fb0d4d6c0) --- newt.spec | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/newt.spec b/newt.spec index 87d3f91..d641001 100644 --- a/newt.spec +++ b/newt.spec @@ -1,6 +1,6 @@ Name: newt Version: 0.52.23 -Release: 2 +Release: 3 Summary: A library for text mode user interfaces License: LGPL-2.0-only URL: https://pagure.io/newt @@ -54,40 +54,37 @@ 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.23-3 +- fix locale files installation + * Thu Aug 01 2024 yanglu - 0.52.23-2 - Type:bugfix - Id:NA