Update kf6-kconfigwidgets.spec

This commit is contained in:
2026-02-13 17:34:37 +08:00
parent 61b9e4f650
commit d15c8bd4ea

View File

@@ -69,6 +69,13 @@ well as a set of widgets which uses KConfig to store their settings. Development
%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
@@ -76,7 +83,6 @@ well as a set of widgets which uses KConfig to store their settings. Development
%{_kf6_debugdir}/kconfigwidgets.renamecategories
%{_kf6_sharedir}/locale/*/kf6_entry.desktop
%{_kf6_libdir}/libKF6ConfigWidgets.so.*
%{_datadir}/locale/*/LC_MESSAGES/kconfigwidgets6.mo
%files devel
%{_kf6_cmakedir}/KF6ConfigWidgets/