Use kf5_find_lang everywhere
OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5:LTS/kscreenlocker?expand=0&rev=3
This commit is contained in:
parent
1237d3be55
commit
be670ba42d
@ -93,11 +93,14 @@ Development files for Library and components for secure lock screen architecture
|
||||
%endif
|
||||
|
||||
%build
|
||||
%cmake_kf5 -d build -- -DKDE4_COMMON_PAM_SERVICE=xdm -DCMAKE_INSTALL_LOCALEDIR=share/locale/kf5
|
||||
%cmake_kf5 -d build -- -DKDE4_COMMON_PAM_SERVICE=xdm -DCMAKE_INSTALL_LOCALEDIR=%{_kf5_localedir}
|
||||
%make_jobs
|
||||
|
||||
%install
|
||||
%kf5_makeinstall -C build
|
||||
%if %{with lang}
|
||||
%kf5_find_lang
|
||||
%endif
|
||||
|
||||
%post
|
||||
# boo#931296
|
||||
@ -110,10 +113,8 @@ Development files for Library and components for secure lock screen architecture
|
||||
%postun -n libKScreenLocker5 -p /sbin/ldconfig
|
||||
|
||||
%if %{with lang}
|
||||
%files lang
|
||||
%defattr(-,root,root)
|
||||
%files lang -f %{name}.lang
|
||||
%doc COPYING*
|
||||
%{_kf5_localedir}/
|
||||
%endif
|
||||
|
||||
%files
|
||||
|
Loading…
Reference in New Issue
Block a user