diff --git a/kf6-kdesu/kf6-kdesu.spec b/kf6-kdesu/kf6-kdesu.spec index b61babd..3e5d313 100644 --- a/kf6-kdesu/kf6-kdesu.spec +++ b/kf6-kdesu/kf6-kdesu.spec @@ -16,11 +16,10 @@ Release: %autorelease Summary: User interface for running shell commands with root privileges License: LGPL-2.1-or-later URL: https://www.kde.org -VCS: git:https://github.com/KDE/kdesu.git -#!RemoteAsset +VCS: git:https://invent.kde.org/frameworks/kdesu.git +#!RemoteAsset: sha256:5b5947a2153d9fa0a5009c4a2af5c55dda4c10e970de603356327f2c5962864f Source: https://download.kde.org/stable/frameworks/6.22/%{rname}-%{version}.tar.xz -BuildRequires: fdupes BuildRequires: kf6-extra-cmake-modules >= %{_kf6_version} BuildRequires: pkgconfig BuildRequires: cmake(KF6Config) >= %{_kf6_version} @@ -61,16 +60,13 @@ Development files. %install %kf6_install -%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 kdesud --all-name --generate-subpackages -%files +%files -f %{name}.lang %license LICENSES/* %doc README.md %{_kf6_debugdir}/ksu.categories @@ -84,4 +80,4 @@ rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/en_GB/ %{_kf6_libdir}/libKF6Su.so %changelog -%{?autochangelog} +%autochangelog