Update plasma6-disks.spec
This commit is contained in:
@@ -38,8 +38,6 @@ Obsoletes: plasma5-disks-lang < %{version}
|
||||
%description
|
||||
Monitors S.M.A.R.T. capable devices for imminent failure and informs the user.
|
||||
|
||||
%lang_package
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n %{rname}-%{version}
|
||||
|
||||
@@ -51,7 +49,12 @@ Monitors S.M.A.R.T. capable devices for imminent failure and informs the user.
|
||||
%install
|
||||
%kf6_install
|
||||
|
||||
%find_lang %{name} --all-name
|
||||
# todo: fix the name error.
|
||||
# Avoid illegal package names
|
||||
rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@*
|
||||
rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/en_GB/
|
||||
# Use langpacks macro to auto-split translations
|
||||
%find_lang %{name} --with-qt --all-name --generate-subpackages
|
||||
|
||||
%check
|
||||
export QT_QPA_PLATFORM=offscreen
|
||||
@@ -70,6 +73,4 @@ export QT_QPA_PLATFORM=offscreen
|
||||
%{_kf6_plugindir}/plasma/kcms/kinfocenter/kcm_disks.so
|
||||
%{_kf6_libexecdir}/kauth/kded-smart-helper
|
||||
|
||||
%files lang -f %{name}.lang
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user