Update kf6-kauth.spec

This commit is contained in:
2026-02-14 12:05:11 +08:00
parent 5ebd8823af
commit da92800c7e

View File

@@ -60,6 +60,13 @@ Development files.
%fdupes %{buildroot}
# 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}6 --with-qt --all-name --generate-subpackages
%files
%license LICENSES/*
%doc README.md
@@ -71,7 +78,6 @@ Development files.
%{_kf6_libexecdir}/kauth/kauth-policy-gen
%{_kf6_plugindir}/kf6/kauth/helper/
%{_kf6_libdir}/libKF6AuthCore.so.*
%{_datadir}/locale/*/LC_MESSAGES/kauth6_qt.qm
%files devel
%{_kf6_cmakedir}/KF6Auth/