Update kf6-kparts.spec

This commit is contained in:
2026-02-14 13:21:15 +08:00
parent 4fe82c84dd
commit 2b7d80d96d

View File

@@ -71,12 +71,18 @@ elaborate widgets with a user-interface defined in terms of actions
%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
%{_kf6_debugdir}/kparts.categories
%{_kf6_libdir}/libKF6Parts.so.*
%{_datadir}/locale/*/LC_MESSAGES/kparts6.mo
%files devel
%{_kf6_cmakedir}/KF6Parts/