From 6f01db7de7eb86875398cbfa6de26bc6ce098187a373b69ce2b40d66f834028e Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Sun, 16 Jan 2011 14:26:37 +0000 Subject: [PATCH] - use %find_lang OBS-URL: https://build.opensuse.org/package/show/Base:System/popt?expand=0&rev=21 --- popt.changes | 5 +++++ popt.spec | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/popt.changes b/popt.changes index 2404e1d..7b06547 100644 --- a/popt.changes +++ b/popt.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun Jan 16 14:25:52 UTC 2011 - coolo@novell.com + +- use %find_lang + ------------------------------------------------------------------- Sun Sep 19 15:05:30 CEST 2010 - dimstar@opensuse.org diff --git a/popt.spec b/popt.spec index ee3289e..a2b725c 100644 --- a/popt.spec +++ b/popt.spec @@ -80,6 +80,7 @@ rm -f $RPM_BUILD_ROOT/%_lib/libpopt.la install -d -m755 %{buildroot}/%{_libdir}/pkgconfig mv %{buildroot}%{_prefix}/lib/pkgconfig/%{name}.pc %{buildroot}/%{_libdir}/pkgconfig/%{name}.pc %endif +%find_lang %name %clean rm -rf $RPM_BUILD_ROOT @@ -88,7 +89,7 @@ rm -rf $RPM_BUILD_ROOT %postun -n libpopt0 -p /sbin/ldconfig -%files -n libpopt0 +%files -n libpopt0 -f %name.lang %defattr(-,root,root) %doc CHANGES COPYING /%{_lib}/libpopt.so.*