fix
This commit is contained in:
@@ -242,8 +242,6 @@ Obsoletes: plasma-nm5-fortisslvpn < %{version}
|
||||
%description fortisslvpn
|
||||
FortiGate SSL VPN plugin for plasma-nm components.
|
||||
|
||||
%lang_package
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n %{rname}-%{version}
|
||||
|
||||
@@ -256,7 +254,12 @@ FortiGate SSL VPN plugin for plasma-nm components.
|
||||
%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
|
||||
|
||||
%fdupes %{buildroot}
|
||||
|
||||
@@ -325,6 +328,4 @@ FortiGate SSL VPN plugin for plasma-nm components.
|
||||
%files fortisslvpn
|
||||
%{_kf6_plugindir}/plasma/network/vpn/plasmanetworkmanagement_fortisslvpnui.so
|
||||
|
||||
%files lang -f %{name}.lang
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user