- use %find_lang

OBS-URL: https://build.opensuse.org/package/show/Base:System/popt?expand=0&rev=21
This commit is contained in:
Stephan Kulow 2011-01-16 14:26:37 +00:00 committed by Git OBS Bridge
parent 88b7c9ac83
commit 6f01db7de7
2 changed files with 7 additions and 1 deletions

View File

@ -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 Sun Sep 19 15:05:30 CEST 2010 - dimstar@opensuse.org

View File

@ -80,6 +80,7 @@ rm -f $RPM_BUILD_ROOT/%_lib/libpopt.la
install -d -m755 %{buildroot}/%{_libdir}/pkgconfig install -d -m755 %{buildroot}/%{_libdir}/pkgconfig
mv %{buildroot}%{_prefix}/lib/pkgconfig/%{name}.pc %{buildroot}/%{_libdir}/pkgconfig/%{name}.pc mv %{buildroot}%{_prefix}/lib/pkgconfig/%{name}.pc %{buildroot}/%{_libdir}/pkgconfig/%{name}.pc
%endif %endif
%find_lang %name
%clean %clean
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
@ -88,7 +89,7 @@ rm -rf $RPM_BUILD_ROOT
%postun -n libpopt0 -p /sbin/ldconfig %postun -n libpopt0 -p /sbin/ldconfig
%files -n libpopt0 %files -n libpopt0 -f %name.lang
%defattr(-,root,root) %defattr(-,root,root)
%doc CHANGES COPYING %doc CHANGES COPYING
/%{_lib}/libpopt.so.* /%{_lib}/libpopt.so.*