diff --git a/SPECS/NetworkManager/NetworkManager.spec b/SPECS/NetworkManager/NetworkManager.spec index a11eb14d76..f03b18cc94 100644 --- a/SPECS/NetworkManager/NetworkManager.spec +++ b/SPECS/NetworkManager/NetworkManager.spec @@ -151,8 +151,6 @@ applications using NetworkManager functionality from applications. %install -a install -m 0644 %{SOURCE1} %{buildroot}%{_prefix}/lib/NetworkManager/ install -m 0644 %{SOURCE2} %{buildroot}%{_prefix}/lib/NetworkManager/conf.d -# TODO: Avoid illegal locale package name -rm -rf %{buildroot}%{_datadir}/locale/*@* %find_lang %{name} --generate-subpackages # TODO: We purposely disable tests for now diff --git a/SPECS/PackageKit/PackageKit.spec b/SPECS/PackageKit/PackageKit.spec index 3fec29fc7e..d17b6d53d7 100644 --- a/SPECS/PackageKit/PackageKit.spec +++ b/SPECS/PackageKit/PackageKit.spec @@ -87,9 +87,6 @@ ln -s pkgcli %{buildroot}%{_bindir}/pkcon # pkmon compatibility link ln -s pkgcli %{buildroot}%{_bindir}/pkmon -# todo: fix the name error. -# Avoid illegal package names -rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* %find_lang %{name} --generate-subpackages %check diff --git a/SPECS/accountsservice/accountsservice.spec b/SPECS/accountsservice/accountsservice.spec index 20ae2a3268..3f38e3de25 100644 --- a/SPECS/accountsservice/accountsservice.spec +++ b/SPECS/accountsservice/accountsservice.spec @@ -14,7 +14,7 @@ Summary: D-Bus interfaces for querying and manipulating user account info License: GPL-3.0-or-later URL: https://www.freedesktop.org/wiki/Software/AccountsService/ VCS: git:https://gitlab.freedesktop.org/accountsservice/accountsservice.git -#!RemoteAsset +#!RemoteAsset: sha256:15354c7f0457afdc0b9f7cc86bb2b8b90b7f6cfc09a80402bd685b56a4012c54 Source0: https://gitlab.freedesktop.org/accountsservice/accountsservice/-/archive/%{version}/accountsservice-%{version}.tar.gz BuildSystem: meson @@ -68,8 +68,6 @@ files needed to build applications that use accountsservice-libs. %install -a mkdir -p %{buildroot}%{_datadir}/accountsservice/interfaces/ -# Avoid illegal package names -rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* %find_lang accounts-service --generate-subpackages %post @@ -111,4 +109,4 @@ rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* %endif %changelog -%{?autochangelog} +%autochangelog diff --git a/SPECS/acl/acl.spec b/SPECS/acl/acl.spec index bae215a93b..9084c9153a 100644 --- a/SPECS/acl/acl.spec +++ b/SPECS/acl/acl.spec @@ -13,10 +13,8 @@ Version: 2.3.2 Release: %autorelease URL: https://savannah.nongnu.org/projects/acl VCS: git:https://git.savannah.nongnu.org/git/acl.git -#!RemoteAsset +#!RemoteAsset: sha256:97203a72cae99ab89a067fe2210c1cbf052bc492b479eca7d226d9830883b0bd Source: https://download.savannah.nongnu.org/releases/acl/acl-%{version}.tar.xz -#!RemoteAsset -Source1: https://download.savannah.nongnu.org/releases/acl/acl-%{version}.tar.xz.sig BuildSystem: autotools BuildOption(conf): --disable-static @@ -51,8 +49,6 @@ autoreconf -fiv rm -rvf %{buildroot}/%{_defaultdocdir}/%{name} %install -a -# Avoid illegal package names -rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* %find_lang %{name} --generate-subpackages %files @@ -74,4 +70,4 @@ rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* %{_libdir}/pkgconfig/libacl.pc %changelog -%{?autochangelog} +%autochangelog diff --git a/SPECS/appstream-glib/appstream-glib.spec b/SPECS/appstream-glib/appstream-glib.spec index 1f52fff7c2..8e0e9c37ff 100644 --- a/SPECS/appstream-glib/appstream-glib.spec +++ b/SPECS/appstream-glib/appstream-glib.spec @@ -61,9 +61,6 @@ This library and command line tool is used for building AppStream metadata from a directory of packages. %install -a -# TODO: fix the name error. -# Avoid illegal package names -rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* %find_lang %{name} --generate-subpackages %files -f %{name}.lang diff --git a/SPECS/appstream/appstream.spec b/SPECS/appstream/appstream.spec index 73e185e350..12c0b04fa7 100644 --- a/SPECS/appstream/appstream.spec +++ b/SPECS/appstream/appstream.spec @@ -57,8 +57,6 @@ Requires: pkgconfig(Qt6Core) >= 6.2.4 %{summary}. %install -a -# Avoid illegal package names -rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* %find_lang %{name} --generate-subpackages %files -f %{name}.lang @@ -84,4 +82,4 @@ rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* %{_libdir}/libAppStreamQt.so %changelog -%{?autochangelog} +%autochangelog diff --git a/SPECS/aspell/aspell.spec b/SPECS/aspell/aspell.spec index 7dc216b319..0035f39d24 100644 --- a/SPECS/aspell/aspell.spec +++ b/SPECS/aspell/aspell.spec @@ -58,9 +58,6 @@ export LDFLAGS="`ncursesw6-config --libs`" %install -a ln -s ../%{_libdir}/aspell-0.60/ispell %{buildroot}%{_bindir}/ispell ln -s ../%{_libdir}/aspell-0.60/spell %{buildroot}%{_bindir}/spell -# TODO: fix the name error. -# Avoid illegal package names -rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* %find_lang %{name} --generate-subpackages %files -f %{name}.lang diff --git a/SPECS/at-spi2-core/at-spi2-core.spec b/SPECS/at-spi2-core/at-spi2-core.spec index 374d191ae0..0b9faa8c09 100644 --- a/SPECS/at-spi2-core/at-spi2-core.spec +++ b/SPECS/at-spi2-core/at-spi2-core.spec @@ -12,7 +12,7 @@ Release: %autorelease Summary: Protocol definitions and daemon for D-Bus at-spi License: LGPL-2.1-or-later URL: https://gitlab.gnome.org/GNOME/at-spi2-core -#!RemoteAsset +#!RemoteAsset: sha256:a2823b962ed16cdd5cb1fc5365029fd218394d852acd4098b321854bd6692f6e Source0: https://download.gnome.org/sources/at-spi2-core/2.58/at-spi2-core-%{version}.tar.xz BuildSystem: meson @@ -57,9 +57,6 @@ The at-spi2-core-devel package includes the header files and API documentation for libatspi. %install -a -# TODO: fix the name error. -# Avoid illegal package names -rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* %find_lang %{name} --generate-subpackages %check @@ -109,4 +106,4 @@ rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* %{_libdir}/pkgconfig/atk-bridge-2.0.pc %changelog -%{?autochangelog} +%autochangelog diff --git a/SPECS/attr/attr.spec b/SPECS/attr/attr.spec index fca7b024d0..218a739931 100644 --- a/SPECS/attr/attr.spec +++ b/SPECS/attr/attr.spec @@ -12,15 +12,15 @@ Summary: Commands for Manipulating Extended Attributes License: GPL-2.0-or-later AND LGPL-2.1-or-later URL: https://savannah.nongnu.org/projects/attr/ VCS: git:https://git.savannah.nongnu.org/git/attr.git -#!RemoteAsset +#!RemoteAsset: sha256:39bf67452fa41d0948c2197601053f48b3d78a029389734332a6309a680c6c87 Source: https://download-mirror.savannah.gnu.org/releases/attr/attr-%{version}.tar.gz BuildSystem: autotools Patch1: 0001-bypass-wrong-output-when-enabled-selinux.patch Patch2: 0002-dont-skip-security.evm-when-copy-xattr.patch -BuildOption(conf): --disable-static -BuildOption(conf): --disable-silent-rules +BuildOption(conf): --disable-static +BuildOption(conf): --disable-silent-rules BuildRequires: pkgconfig BuildRequires: perl @@ -46,8 +46,6 @@ IRIX compatibility interface is also provided. %make_build check %install -a -# Avoid illegal package names -rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* %find_lang %{name} --generate-subpackages %files @@ -71,4 +69,4 @@ rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* %{_mandir}/man3/*.3* %changelog -%{?autochangelog} +%autochangelog diff --git a/SPECS/avahi/avahi.spec b/SPECS/avahi/avahi.spec index 43bcbf3e30..51f25b9ef6 100644 --- a/SPECS/avahi/avahi.spec +++ b/SPECS/avahi/avahi.spec @@ -98,9 +98,6 @@ install -m0644 -D %{SOURCE2} %{buildroot}%{_sysusersdir}/avahi-autoipd.conf rm -fv %{buildroot}%{_sysconfdir}/rc.d/init.d/avahi-daemon rm -fv %{buildroot}%{_sysconfdir}/rc.d/init.d/avahi-dnsconfd -# TODO: fix the name error. -# Avoid illegal package names -rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* %find_lang %{name} --generate-subpackages %pre diff --git a/SPECS/baloo-widgets/baloo-widgets.spec b/SPECS/baloo-widgets/baloo-widgets.spec index 417fa209ab..7dd1051409 100644 --- a/SPECS/baloo-widgets/baloo-widgets.spec +++ b/SPECS/baloo-widgets/baloo-widgets.spec @@ -44,9 +44,6 @@ Requires: cmake(Qt6Widgets) >= %{qt6_version} Development package for baloo-widgets %install -a -# todo: fix the name error. -# Avoid illegal package names -rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* # Use langpacks macro to auto-split translations %find_lang %{name} --with-qt --all-name --generate-subpackages diff --git a/SPECS/bash/bash.spec b/SPECS/bash/bash.spec index 927e379832..4e59c76a83 100644 --- a/SPECS/bash/bash.spec +++ b/SPECS/bash/bash.spec @@ -15,10 +15,8 @@ Summary: The GNU Bourne Again shell License: GPL-3.0-or-later URL: https://www.gnu.org/software/bash VCS: git:https://git.savannah.gnu.org/git/bash.git -#!RemoteAsset +#!RemoteAsset: sha256:0d5cd86965f869a26cf64f4b71be7b96f90a3ba8b3d74e27e8e9d9d5550f31ba Source0: https://ftpmirror.gnu.org/gnu/%{name}/%{name}-%{baseversion}.tar.gz -#!RemoteAsset -Source1: https://ftpmirror.gnu.org/gnu/%{name}/%{name}-%{baseversion}.tar.gz.sig Source2: dot.bashrc Source3: dot.bash_profile Source4: dot.bash_logout @@ -82,8 +80,6 @@ install -m 640 %{SOURCE4} %{buildroot}%{_sysconfdir}/skel/.bash_logout sed -ri '1{ s@/bin/sh@/bin/bash@ }' %{buildroot}%{_bindir}/bashbug rm -f $RPM_BUILD_ROOT%{_infodir}/dir -# Avoid illegal package names -rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* %find_lang %{name} --generate-subpackages %files @@ -106,4 +102,4 @@ rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* %{_libdir}/pkgconfig/%{name}.pc %changelog -%{?autochangelog} +%autochangelog diff --git a/SPECS/breeze/breeze.spec b/SPECS/breeze/breeze.spec index c8c8550d02..0e273b98a1 100644 --- a/SPECS/breeze/breeze.spec +++ b/SPECS/breeze/breeze.spec @@ -112,9 +112,6 @@ This is a meta package, it does not contain any file EOF %install -a -# todo: fix the name error. -# Avoid illegal package names -rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* # Use langpacks macro to auto-split translations %find_lang %{name} --with-qt --all-name --generate-subpackages diff --git a/SPECS/calamares/calamares.spec b/SPECS/calamares/calamares.spec index 22d27d4ef5..651abea0d9 100644 --- a/SPECS/calamares/calamares.spec +++ b/SPECS/calamares/calamares.spec @@ -94,8 +94,6 @@ applications that use the calamares installer framework. %cmake_install # Should we split the python bindings into a separate package? - 251 -# TODO: Avoid illegal package names -rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* %find_lang calamares-python --generate-subpackages %files -f calamares-python.lang @@ -129,4 +127,4 @@ rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* %{_libdir}/cmake/Calamares/ %changelog -%{?autochangelog} +%autochangelog diff --git a/SPECS/chkconfig/chkconfig.spec b/SPECS/chkconfig/chkconfig.spec index e90076ab42..dacdb1eb8f 100644 --- a/SPECS/chkconfig/chkconfig.spec +++ b/SPECS/chkconfig/chkconfig.spec @@ -47,8 +47,6 @@ the default command path. %conf %install -a -# Avoid illegal package names -rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* %find_lang %{name} --generate-subpackages %files -f %{name}.lang diff --git a/SPECS/colord-gtk/colord-gtk.spec b/SPECS/colord-gtk/colord-gtk.spec index 945fa495d4..d47a9f120c 100644 --- a/SPECS/colord-gtk/colord-gtk.spec +++ b/SPECS/colord-gtk/colord-gtk.spec @@ -15,7 +15,7 @@ Release: %autorelease Summary: GTK+ 3 support library for colord License: LGPL-2.1-or-later URL: https://gitlab.freedesktop.org/colord/colord-gtk -#!RemoteAsset +#!RemoteAsset: sha256:c176b889b75630a17f4e3d7ef24c09a3e12368e633496087459c8b53ac3a122d Source0: http://www.freedesktop.org/software/colord/releases/colord-gtk-%{version}.tar.xz BuildSystem: meson @@ -67,9 +67,6 @@ Requires: %{name}%{?_isa} = %{version}-%{release} Files for development with %{name}. %install -a -# TODO: fix the name error. -# Avoid illegal package names -rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* %find_lang %{name} --generate-subpackages %files -f %{name}.lang @@ -100,4 +97,4 @@ rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* %endif %changelog -%{?autochangelog} +%autochangelog diff --git a/SPECS/colord/colord.spec b/SPECS/colord/colord.spec index 9930a1190a..c04275ce23 100644 --- a/SPECS/colord/colord.spec +++ b/SPECS/colord/colord.spec @@ -14,7 +14,7 @@ Release: %autorelease Summary: Color daemon License: GPL-2.0-or-later AND LGPL-2.1-or-later URL: https://gitlab.freedesktop.org/colord/colord -#!RemoteAsset +#!RemoteAsset: sha256:21500bd68975312a7f0f3ce6019d9f75f42aacaa75ca7115ec720b5445406896 Source0: https://www.freedesktop.org/software/colord/releases/colord-%{version}.tar.xz Source1: colord.sysusers BuildSystem: meson @@ -97,8 +97,6 @@ touch %{buildroot}%{_localstatedir}/lib/colord/mapping.db touch %{buildroot}%{_localstatedir}/lib/colord/storage.db install -Dpm0644 %{SOURCE1} %{buildroot}%{_sysusersdir}/colord-sysusers.conf -# Avoid illegal package names -rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* %find_lang %{name} --generate-subpackages %pre @@ -197,4 +195,4 @@ rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* %endif %changelog -%{?autochangelog} +%autochangelog diff --git a/SPECS/coreutils/coreutils.spec b/SPECS/coreutils/coreutils.spec index a46c3e12a2..88c1e043ba 100644 --- a/SPECS/coreutils/coreutils.spec +++ b/SPECS/coreutils/coreutils.spec @@ -44,8 +44,6 @@ the GNU fileutils, sh-utils, and textutils packages. uptime users vdir wc who whoami yes %install -a -# TODO: Avoid illegal package names -rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* %find_lang %{name} --generate-subpackages %files diff --git a/SPECS/dialog/dialog.spec b/SPECS/dialog/dialog.spec index 663b3677c2..386c368aa4 100644 --- a/SPECS/dialog/dialog.spec +++ b/SPECS/dialog/dialog.spec @@ -14,7 +14,7 @@ Summary: A utility for creating TTY dialog boxes License: LGPL-2.1-only URL: https://invisible-island.net/dialog/dialog.html VCS: git:https://github.com/ThomasDickey/dialog-snapshots -#!RemoteAsset +#!RemoteAsset: sha256:bee47347a983312facc4dbcccd7fcc86608d684e1f119d9049c4692213db96c3 Source: https://invisible-mirror.net/archives/dialog/dialog-%{version}-%{dialogsubversion}.tgz BuildSystem: autotools @@ -67,8 +67,6 @@ chmod 755 %{buildroot}%{_libdir}/libdialog.so.*.*.* find %{buildroot} -type f -name "*.a" -delete -# Avoid illegal package names -rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* %find_lang %{name} --generate-subpackages %files @@ -86,4 +84,4 @@ rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* %{_mandir}/man3/dialog.* %changelog -%{?autochangelog} +%autochangelog diff --git a/SPECS/discover/discover.spec b/SPECS/discover/discover.spec index af2f4a426d..3241759eeb 100644 --- a/SPECS/discover/discover.spec +++ b/SPECS/discover/discover.spec @@ -119,9 +119,6 @@ This is a notifier for Discover to inform the user that updates are available an user to install them using Discover. %install -a -# todo: fix the name error. -# Avoid illegal package names -rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* # Use langpacks macro to auto-split translations %find_lang %{name} --with-qt --all-name --generate-subpackages diff --git a/SPECS/dolphin-plugins/dolphin-plugins.spec b/SPECS/dolphin-plugins/dolphin-plugins.spec index 9525ebbbfa..b4e3bc46cd 100644 --- a/SPECS/dolphin-plugins/dolphin-plugins.spec +++ b/SPECS/dolphin-plugins/dolphin-plugins.spec @@ -44,9 +44,6 @@ Dolphin file manager specific version control plugins that: - Provide context menu actions to mount ISO disk images %install -a -# todo: fix the name error. -# Avoid illegal package names -rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* # Use langpacks macro to auto-split translations %find_lang %{name} --with-qt --all-name --generate-subpackages diff --git a/SPECS/dolphin/dolphin.spec b/SPECS/dolphin/dolphin.spec index 85f1876b25..891167e14e 100644 --- a/SPECS/dolphin/dolphin.spec +++ b/SPECS/dolphin/dolphin.spec @@ -87,11 +87,6 @@ Requires: cmake(Qt6Gui) >= %{qt6_version} This package contains the libraries used by Dolphin and Konqueror. %install -a -# todo: fix the name error. -# Avoid illegal package names -rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* -rm -rf $RPM_BUILD_ROOT%{_mandir}/*@* -rm -rf $RPM_BUILD_ROOT%{_kf6_htmldir}/*@* # Use langpacks macro to auto-split translations %find_lang %{name} --with-qt --all-name --with-man --with-html --generate-subpackages diff --git a/SPECS/elfutils/elfutils.spec b/SPECS/elfutils/elfutils.spec index bf0b620644..60bd2c8ccf 100644 --- a/SPECS/elfutils/elfutils.spec +++ b/SPECS/elfutils/elfutils.spec @@ -118,8 +118,6 @@ rm -f %{buildroot}%{_mandir}/man8/debuginfod*.8* rm -rf %{buildroot}/%{_datadir}/fish ls -lR %{buildroot}/%{_libdir}/libelf* -# Avoid illegal package names -rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* %find_lang %{name} --generate-subpackages %files diff --git a/SPECS/exiv2/exiv2.spec b/SPECS/exiv2/exiv2.spec index ecae1d5e65..951a94df71 100644 --- a/SPECS/exiv2/exiv2.spec +++ b/SPECS/exiv2/exiv2.spec @@ -58,8 +58,6 @@ developing with exiv2. %endif %install -a -# Avoid illegal package names -rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* %find_lang %{name} --generate-subpackages %files diff --git a/SPECS/falkon/falkon.spec b/SPECS/falkon/falkon.spec index 90b55a927b..1041eeb632 100644 --- a/SPECS/falkon/falkon.spec +++ b/SPECS/falkon/falkon.spec @@ -84,9 +84,6 @@ Plugin for the Falkon browser that allows tighter integration of KDE technologie such as storing passwords in KWallet. %install -a -# todo: fix the name error. -# Avoid illegal package names -rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* # Use langpacks macro to auto-split translations %find_lang %{name} --with-qt --all-name --generate-subpackages diff --git a/SPECS/flex/flex.spec b/SPECS/flex/flex.spec index 95dad50ef0..a003db378d 100644 --- a/SPECS/flex/flex.spec +++ b/SPECS/flex/flex.spec @@ -11,7 +11,7 @@ Release: %autorelease Summary: Fast Lexical Analyzer Generator License: BSD-3-Clause URL: https://github.com/westes/flex -#!RemoteAsset +#!RemoteAsset: sha256:e87aae032bf07c26f85ac0ed3250998c37621d95f8bd748b31f15b33c45ee995 Source: https://github.com/westes/flex/releases/download/v%{version}/flex-%{version}.tar.gz BuildSystem: autotools @@ -39,8 +39,6 @@ patterns in text. This package contains files required to build programs with flex libraries. %install -a -# Avoid illegal package names -rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* %find_lang %{name} --generate-subpackages %files @@ -65,4 +63,4 @@ rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* %{_libdir}/libfl.a %changelog -%{?autochangelog} +%autochangelog diff --git a/SPECS/gcr/gcr.spec b/SPECS/gcr/gcr.spec index 5553aa9805..8759812c57 100644 --- a/SPECS/gcr/gcr.spec +++ b/SPECS/gcr/gcr.spec @@ -59,9 +59,6 @@ The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %install -a -# TODO: fix the name error. -# Avoid illegal package names -rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* %find_lang gcr-4 --generate-subpackages %post @@ -104,4 +101,4 @@ rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* %{_datadir}/doc/gcr-4/ %changelog -%{?autochangelog} +%autochangelog diff --git a/SPECS/gdk-pixbuf/gdk-pixbuf.spec b/SPECS/gdk-pixbuf/gdk-pixbuf.spec index 1d1733307f..502188f1a1 100644 --- a/SPECS/gdk-pixbuf/gdk-pixbuf.spec +++ b/SPECS/gdk-pixbuf/gdk-pixbuf.spec @@ -61,8 +61,6 @@ The %{name}-tests package contains tests that can be used to verify the functionality of the installed %{name} package. %install -a -rm -rf %{buildroot}%{_datadir}/locale/*@* - %find_lang %{name} --generate-subpackages %transfiletriggerin -- %{_libdir}/gdk-pixbuf-2.0/2.10.0/loaders diff --git a/SPECS/glib-networking/glib-networking.spec b/SPECS/glib-networking/glib-networking.spec index 10af52d646..5f20ab920a 100644 --- a/SPECS/glib-networking/glib-networking.spec +++ b/SPECS/glib-networking/glib-networking.spec @@ -12,7 +12,7 @@ Summary: Network-related GIO modules for GLib License: LGPL-2.1-or-later URL: https://www.gnome.org VCS: git:https://gitlab.gnome.org/GNOME/glib-networking.git -#!RemoteAsset +#!RemoteAsset: sha256:b80e2874157cd55071f1b6710fa0b911d5ac5de106a9ee2a4c9c7bee61782f8e Source: https://download.gnome.org/sources/glib-networking/2.80/glib-networking-%{version}.tar.xz BuildSystem: meson @@ -37,9 +37,6 @@ This package contains network-related GIO modules for GLib, providing TLS (via GnuTLS) and proxy support (via libproxy). %install -a -# Avoid illegal package names -rm -rf %{buildroot}%{_datadir}/locale/*@* - %find_lang %{name} --generate-subpackages %post @@ -59,4 +56,4 @@ rm -rf %{buildroot}%{_datadir}/locale/*@* %{_userunitdir}/glib-pacrunner.service %changelog -%{?autochangelog} +%autochangelog diff --git a/SPECS/glib/glib.spec b/SPECS/glib/glib.spec index e7e0959fce..9357a01efe 100644 --- a/SPECS/glib/glib.spec +++ b/SPECS/glib/glib.spec @@ -125,8 +125,6 @@ rm -f %{buildroot}%{_bindir}/glib-compile-schemas ln -sf ../%{_lib}/glib-2.0/gio-querymodules %{buildroot}%{_bindir}/gio-querymodules ln -sf ../%{_lib}/glib-2.0/glib-compile-schemas %{buildroot}%{_bindir}/glib-compile-schemas -# Avoid illegal package names -rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* %find_lang glib20 --generate-subpackages --all-name # handle GIO/GSettings cache updates. diff --git a/SPECS/gnupg/gnupg.spec b/SPECS/gnupg/gnupg.spec index b8c2a54fbe..e11f7c447d 100644 --- a/SPECS/gnupg/gnupg.spec +++ b/SPECS/gnupg/gnupg.spec @@ -60,8 +60,6 @@ for GnuPG. It is invoked internally by gpg and gpgsm. %install -a install -Dm 0644 %{SOURCE1} %{buildroot}%{_udevrulesdir}/60-scdaemon.rules install -d -m 755 %{buildroot}%{_userunitdir} -# Avoid illegal package names -rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* %find_lang gnupg2 --generate-subpackages diff --git a/SPECS/grub/grub.spec b/SPECS/grub/grub.spec index 8b64da5ce9..f2e828386c 100644 --- a/SPECS/grub/grub.spec +++ b/SPECS/grub/grub.spec @@ -184,8 +184,6 @@ done install -D -m 0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/default/grub -# TODO: Avoid illegal package names -rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* %find_lang %{name} --generate-subpackages %files diff --git a/SPECS/gsettings-desktop-schemas/gsettings-desktop-schemas.spec b/SPECS/gsettings-desktop-schemas/gsettings-desktop-schemas.spec index ee607d0691..1841d45150 100644 --- a/SPECS/gsettings-desktop-schemas/gsettings-desktop-schemas.spec +++ b/SPECS/gsettings-desktop-schemas/gsettings-desktop-schemas.spec @@ -33,9 +33,6 @@ The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %install -a -# TODO: fix the name error. -# Avoid illegal package names -rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* %find_lang %{name} --with-gnome --generate-subpackages %files -f %{name}.lang diff --git a/SPECS/gstreamer-plugins-base/gstreamer-plugins-base.spec b/SPECS/gstreamer-plugins-base/gstreamer-plugins-base.spec index 7e6202d5e6..25c3a104d1 100644 --- a/SPECS/gstreamer-plugins-base/gstreamer-plugins-base.spec +++ b/SPECS/gstreamer-plugins-base/gstreamer-plugins-base.spec @@ -19,7 +19,7 @@ Summary: GStreamer streaming media framework base plugins License: LGPL-2.1-or-later URL: http://gstreamer.freedesktop.org/ VCS: git:https://gitlab.freedesktop.org/gstreamer/gstreamer/-/tree/main/subprojects/gst-plugins-base -#!RemoteAsset +#!RemoteAsset: sha256:3e88aaf672aa815469c0c0c84041d0a6ca6b2314790a6f3033ecb76d8309312a Source0: http://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-base-%{version}.tar.xz BuildSystem: meson @@ -101,9 +101,6 @@ The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %install -a -# todo: fix the name error. -# Avoid illegal package names -rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* %find_lang gst-plugins-base-%{majorminor} --generate-subpackages %files -f gst-plugins-base-%{majorminor}.lang @@ -193,4 +190,4 @@ rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* %{_datadir}/gst-plugins-base/%{majorminor}/ %changelog -%{?autochangelog} +%autochangelog diff --git a/SPECS/gstreamer/gstreamer.spec b/SPECS/gstreamer/gstreamer.spec index 983fc09e44..c41727104e 100644 --- a/SPECS/gstreamer/gstreamer.spec +++ b/SPECS/gstreamer/gstreamer.spec @@ -14,7 +14,7 @@ Summary: GStreamer streaming media framework runtime License: LGPL-2.1-or-later URL: http://gstreamer.freedesktop.org/ VCS: git:https://gitlab.freedesktop.org/gstreamer/ -#!RemoteAsset +#!RemoteAsset: sha256:f3506b97c867900ef2700ac33009c1e42b2b1dfc0caa94f2f07c4f23231e78ae Source0: http://gstreamer.freedesktop.org/src/gstreamer/gstreamer-%{version}.tar.xz Source1: gstreamer.prov Source2: gstreamer.attr @@ -70,9 +70,6 @@ The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %install -a -# todo: fix the name error. -# Avoid illegal package names -rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* %find_lang gstreamer-%{majorminor} --generate-subpackages install -m0755 -D %{SOURCE1} %{buildroot}%{_rpmconfigdir}/gstreamer.prov @@ -122,4 +119,4 @@ install -m0644 -D %{SOURCE2} %{buildroot}%{_rpmconfigdir}/fileattrs/gstreamer.at %{_datadir}/cmake/FindGStreamer.cmake %changelog -%{?autochangelog} +%autochangelog diff --git a/SPECS/gtk3/gtk3.spec b/SPECS/gtk3/gtk3.spec index a85d32017e..9511aa8564 100644 --- a/SPECS/gtk3/gtk3.spec +++ b/SPECS/gtk3/gtk3.spec @@ -104,9 +104,6 @@ mkdir -p %{buildroot}%{_sysconfdir}/gtk-3.0 mkdir -p %{buildroot}%{_libdir}/gtk-3.0/modules mkdir -p %{buildroot}%{_libdir}/gtk-3.0/immodules -# TODO: fix the name error. -# Avoid illegal package names -rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* %find_lang gtk30 --all-name --generate-subpackages %check diff --git a/SPECS/ibus/ibus.spec b/SPECS/ibus/ibus.spec index 43d95d5cf6..3c0eb4f76f 100644 --- a/SPECS/ibus/ibus.spec +++ b/SPECS/ibus/ibus.spec @@ -71,8 +71,6 @@ This is a setup utility for IBus. make -C ui/gtk3 maintainer-clean-generic %install -a -# Avoid illegal package names -rm -rf %{buildroot}%{_datadir}/locale/*@* %find_lang %{name}10 --generate-subpackages %files devel diff --git a/SPECS/indent/indent.spec b/SPECS/indent/indent.spec index ebaf3e4fba..457d32989a 100644 --- a/SPECS/indent/indent.spec +++ b/SPECS/indent/indent.spec @@ -56,9 +56,6 @@ rm -f %{buildroot}%{_infodir}/dir \ %{buildroot}%{_bindir}/texinfo2man \ %{buildroot}%{_datadir}/doc/indent/indent.html -# TODO: fix the name error. -# Avoid illegal package names -rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* %find_lang %{name} --generate-subpackages %files -f %{name}.lang @@ -69,4 +66,4 @@ rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* %{_infodir}/indent.info* %changelog -%{?autochangelog} +%autochangelog diff --git a/SPECS/json-glib/json-glib.spec b/SPECS/json-glib/json-glib.spec index f9e05d53b8..c118de0866 100644 --- a/SPECS/json-glib/json-glib.spec +++ b/SPECS/json-glib/json-glib.spec @@ -40,8 +40,6 @@ This package contains the header files, libraries, documentation, and tools needed to develop applications that use the json-glib library. %install -a -# Avoid illegal package names -rm -rf %{buildroot}%{_datadir}/locale/*@* %find_lang json-glib-1.0 --generate-subpackages %files -f json-glib-1.0.lang diff --git a/SPECS/kaccounts-integration/kaccounts-integration.spec b/SPECS/kaccounts-integration/kaccounts-integration.spec index a92861831a..5b95acd2e0 100644 --- a/SPECS/kaccounts-integration/kaccounts-integration.spec +++ b/SPECS/kaccounts-integration/kaccounts-integration.spec @@ -57,10 +57,6 @@ Plasma desktop, including: Google, Facebook, Owncloud, IMAP, Jabber and others. This package provides development files. %install -a -# todo: fix the name error. -# Avoid illegal package names -rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* -rm -rf $RPM_BUILD_ROOT%{_mandir}/*@* # Use langpacks macro to auto-split translations %find_lang %{name} --with-qt --with-man --all-name --generate-subpackages diff --git a/SPECS/kaccounts-providers/kaccounts-providers.spec b/SPECS/kaccounts-providers/kaccounts-providers.spec index 0e4a3e0a46..dd8dcc9c12 100644 --- a/SPECS/kaccounts-providers/kaccounts-providers.spec +++ b/SPECS/kaccounts-providers/kaccounts-providers.spec @@ -42,9 +42,6 @@ KDE Accounts Providers. # qtwebkit is long dead rm -r %{buildroot}%{_kf6_sysconfdir}/signon-ui/ -# todo: fix the name error. -# Avoid illegal package names -rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* # Use langpacks macro to auto-split translations %find_lang %{name} --with-qt --all-name --generate-subpackages diff --git a/SPECS/kactivitymanagerd/kactivitymanagerd.spec b/SPECS/kactivitymanagerd/kactivitymanagerd.spec index 94e4d580a8..df84956fec 100644 --- a/SPECS/kactivitymanagerd/kactivitymanagerd.spec +++ b/SPECS/kactivitymanagerd/kactivitymanagerd.spec @@ -45,11 +45,6 @@ Obsoletes: kactivitymanagerd < %{version}-%{release} Kactivities provides an API for using and interacting with the Plasma Activities Manager. %install -a -# todo: fix the name error. -# Avoid illegal package names -rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* -rm -rf $RPM_BUILD_ROOT%{_mandir}/*@* -rm -rf $RPM_BUILD_ROOT%{_kf6_htmldir}/*@* # Use langpacks macro to auto-split translations %find_lang %{name} --with-qt --all-name --generate-subpackages diff --git a/SPECS/kate/kate.spec b/SPECS/kate/kate.spec index 24f7712548..6d336fff73 100644 --- a/SPECS/kate/kate.spec +++ b/SPECS/kate/kate.spec @@ -75,11 +75,6 @@ plugins and data files for Kate and KWrite editors. # Remove exotic icon sizes rm -r %{buildroot}%{_kf6_iconsdir}/hicolor/{150x150,310x310,44x44} -# todo: fix the name error. -# Avoid illegal package names -rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* -rm -rf $RPM_BUILD_ROOT%{_kf6_htmldir}/*@* -rm -rf $RPM_BUILD_ROOT%{_mandir}/*@* # Use langpacks macro to auto-split translations %find_lang %{name} --with-qt --with-man --with-html --all-name --generate-subpackages diff --git a/SPECS/kde-cli-tools/kde-cli-tools.spec b/SPECS/kde-cli-tools/kde-cli-tools.spec index 3b1f25ee3f..6eebead535 100644 --- a/SPECS/kde-cli-tools/kde-cli-tools.spec +++ b/SPECS/kde-cli-tools/kde-cli-tools.spec @@ -52,11 +52,6 @@ Additional CLI tools for KDE applications and workspaces. # For xdg-su ln -s %{_kf6_libexecdir}/kdesu %{buildroot}%{_kf6_bindir}/kdesu -# todo: fix the name error. -# Avoid illegal package names -rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* -rm -rf $RPM_BUILD_ROOT%{_mandir}/*@* -rm -rf $RPM_BUILD_ROOT%{_kf6_htmldir}/*@* # Use langpacks macro to auto-split translations %find_lang %{name} --with-qt --with-man --with-html --all-name --generate-subpackages diff --git a/SPECS/kdecoration/kdecoration.spec b/SPECS/kdecoration/kdecoration.spec index dfb5d19335..d25649bf06 100644 --- a/SPECS/kdecoration/kdecoration.spec +++ b/SPECS/kdecoration/kdecoration.spec @@ -47,9 +47,6 @@ Development files belonging to kdecoration, plugin based library to create window decorations. %install -a -# todo: fix the name error. -# Avoid illegal package names -rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* # Use langpacks macro to auto-split translations %find_lang %{name} --with-qt --all-name --generate-subpackages diff --git a/SPECS/kdialog/kdialog.spec b/SPECS/kdialog/kdialog.spec index 3f43fa01ad..2df13826a6 100644 --- a/SPECS/kdialog/kdialog.spec +++ b/SPECS/kdialog/kdialog.spec @@ -37,9 +37,6 @@ BuildRequires: pkgconfig(x11) KDialog can be used to show nice dialog boxes from shell scripts. %install -a -# todo: fix the name error. -# Avoid illegal package names -rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* # Use langpacks macro to auto-split translations %find_lang %{name} --with-qt --all-name --generate-subpackages diff --git a/SPECS/kf6-baloo/kf6-baloo.spec b/SPECS/kf6-baloo/kf6-baloo.spec index 540f5a8e64..feaab055dd 100644 --- a/SPECS/kf6-baloo/kf6-baloo.spec +++ b/SPECS/kf6-baloo/kf6-baloo.spec @@ -87,9 +87,6 @@ Baloo is a framework for searching and managing metadata. This package contains aditional command line utilities. Development files. %install -a -# todo: fix the name error. -# Avoid illegal package names -rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* # Use langpacks macro to auto-split translations %find_lang %{name} --with-qt --all-name --generate-subpackages diff --git a/SPECS/kf6-karchive/kf6-karchive.spec b/SPECS/kf6-karchive/kf6-karchive.spec index d574d86fbc..f234a75f53 100644 --- a/SPECS/kf6-karchive/kf6-karchive.spec +++ b/SPECS/kf6-karchive/kf6-karchive.spec @@ -56,9 +56,6 @@ It also provides transparent compression and decompression of data, like the GZip format, via a subclass of QIODevice. Development files %install -a -# todo: fix the name error. -# Avoid illegal package names -rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* # Use langpacks macro to auto-split translations %find_lang %{name} --with-qt --all-name --generate-subpackages diff --git a/SPECS/kf6-kauth/kf6-kauth.spec b/SPECS/kf6-kauth/kf6-kauth.spec index 3183e231e0..c925ff0922 100644 --- a/SPECS/kf6-kauth/kf6-kauth.spec +++ b/SPECS/kf6-kauth/kf6-kauth.spec @@ -50,9 +50,6 @@ KAuth is a framework to let applications perform actions as a privileged user. Development files. %install -a -# todo: fix the name error. -# Avoid illegal package names -rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* # Use langpacks macro to auto-split translations %find_lang %{name} --with-qt --all-name --generate-subpackages diff --git a/SPECS/kf6-kbookmarks/kf6-kbookmarks.spec b/SPECS/kf6-kbookmarks/kf6-kbookmarks.spec index 4ae294633d..08405d05e1 100644 --- a/SPECS/kf6-kbookmarks/kf6-kbookmarks.spec +++ b/SPECS/kf6-kbookmarks/kf6-kbookmarks.spec @@ -52,9 +52,6 @@ Development files for kbookmarks, a framework for accessing and manipulating bookmarks using the XBEL format %install -a -# todo: fix the name error. -# Avoid illegal package names -rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* # Use langpacks macro to auto-split translations %find_lang %{name} --with-qt --all-name --generate-subpackages diff --git a/SPECS/kf6-kcmutils/kf6-kcmutils.spec b/SPECS/kf6-kcmutils/kf6-kcmutils.spec index 1b764b5ea4..a13162474e 100644 --- a/SPECS/kf6-kcmutils/kf6-kcmutils.spec +++ b/SPECS/kf6-kcmutils/kf6-kcmutils.spec @@ -64,9 +64,6 @@ KCMUtils provides various classes to work with KCModules. KCModules can be created with the KConfigWidgets framework. Development files. %install -a -# todo: fix the name error. -# Avoid illegal package names -rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* # Use langpacks macro to auto-split translations %find_lang %{name} --with-qt --all-name --generate-subpackages diff --git a/SPECS/kf6-kcodecs/kf6-kcodecs.spec b/SPECS/kf6-kcodecs/kf6-kcodecs.spec index 9c6fcf3124..567262e8b4 100644 --- a/SPECS/kf6-kcodecs/kf6-kcodecs.spec +++ b/SPECS/kf6-kcodecs/kf6-kcodecs.spec @@ -46,9 +46,6 @@ Development files for KCodecs, a method collection to manipulate strings using various encodings. %install -a -# todo: fix the name error. -# Avoid illegal package names -rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* # Use langpacks macro to auto-split translations %find_lang %{name} --with-qt --all-name --generate-subpackages diff --git a/SPECS/kf6-kcolorscheme/kf6-kcolorscheme.spec b/SPECS/kf6-kcolorscheme/kf6-kcolorscheme.spec index 6d9c06191b..b09c035ad8 100644 --- a/SPECS/kf6-kcolorscheme/kf6-kcolorscheme.spec +++ b/SPECS/kf6-kcolorscheme/kf6-kcolorscheme.spec @@ -49,9 +49,6 @@ Requires: cmake(Qt6Gui) >= %{qt6_version} Classes to read and interact with KColorScheme. Development files. %install -a -# todo: fix the name error. -# Avoid illegal package names -rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* # Use langpacks macro to auto-split translations %find_lang %{name} --with-qt --all-name --generate-subpackages diff --git a/SPECS/kf6-kcompletion/kf6-kcompletion.spec b/SPECS/kf6-kcompletion/kf6-kcompletion.spec index ecb80d8c24..0af1667b60 100644 --- a/SPECS/kf6-kcompletion/kf6-kcompletion.spec +++ b/SPECS/kf6-kcompletion/kf6-kcompletion.spec @@ -50,9 +50,6 @@ completion support as well as a lower-level completion class which can be used with own widgets. %install -a -# todo: fix the name error. -# Avoid illegal package names -rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* # Use langpacks macro to auto-split translations %find_lang %{name} --with-qt --all-name --generate-subpackages diff --git a/SPECS/kf6-kconfigwidgets/kf6-kconfigwidgets.spec b/SPECS/kf6-kconfigwidgets/kf6-kconfigwidgets.spec index a90ab3d9aa..6a83f5efed 100644 --- a/SPECS/kf6-kconfigwidgets/kf6-kconfigwidgets.spec +++ b/SPECS/kf6-kconfigwidgets/kf6-kconfigwidgets.spec @@ -58,9 +58,6 @@ KConfigWidgets provides easy-to-use classes to create configuration dialogs, as well as a set of widgets which uses KConfig to store their settings. Development files. %install -a -# todo: fix the name error. -# Avoid illegal package names -rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* # Use langpacks macro to auto-split translations %find_lang %{name} --with-qt --all-name --generate-subpackages diff --git a/SPECS/kf6-kdeclarative/kf6-kdeclarative.spec b/SPECS/kf6-kdeclarative/kf6-kdeclarative.spec index db292a9387..93108e9b95 100644 --- a/SPECS/kf6-kdeclarative/kf6-kdeclarative.spec +++ b/SPECS/kf6-kdeclarative/kf6-kdeclarative.spec @@ -55,9 +55,6 @@ KDeclarative provides integration of QML and KDE workspaces. Development files. %install -a -# todo: fix the name error. -# Avoid illegal package names -rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* # Use langpacks macro to auto-split translations %find_lang %{name} --with-qt --all-name --generate-subpackages diff --git a/SPECS/kf6-kdesu/kf6-kdesu.spec b/SPECS/kf6-kdesu/kf6-kdesu.spec index 6a0e345196..8b4dd63357 100644 --- a/SPECS/kf6-kdesu/kf6-kdesu.spec +++ b/SPECS/kf6-kdesu/kf6-kdesu.spec @@ -53,9 +53,6 @@ kdessh use it to interface with su and ssh respectively. Development files. %install -a -# todo: fix the name error. -# Avoid illegal package names -rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* # Use langpacks macro to auto-split translations %find_lang %{name} --all-name --generate-subpackages diff --git a/SPECS/kf6-kdnssd/kf6-kdnssd.spec b/SPECS/kf6-kdnssd/kf6-kdnssd.spec index 96639bb5bf..af826ec4c4 100644 --- a/SPECS/kf6-kdnssd/kf6-kdnssd.spec +++ b/SPECS/kf6-kdnssd/kf6-kdnssd.spec @@ -50,11 +50,6 @@ services, such as printers, to be discovered without any user intervention or centralized infrastructure. Development files. %install -a -# todo: fix the name error. -# Avoid illegal package names -rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* -rm -rf $RPM_BUILD_ROOT%{_mandir}/*@* -rm -rf $RPM_BUILD_ROOT%{_kf6_htmldir}/*@* # Use langpacks macro to auto-split translations %find_lang %{name} --with-qt --without-mo --all-name --generate-subpackages diff --git a/SPECS/kf6-kdoctools/kf6-kdoctools.spec b/SPECS/kf6-kdoctools/kf6-kdoctools.spec index 289eea27b7..40104c350f 100644 --- a/SPECS/kf6-kdoctools/kf6-kdoctools.spec +++ b/SPECS/kf6-kdoctools/kf6-kdoctools.spec @@ -56,9 +56,6 @@ Provides tools to generate documentation in various format from DocBook files. Development files. %install -a -# todo: fix the name error. -# Avoid illegal package names -rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* # Use langpacks macro to auto-split translations %find_lang %{name} --with-qt --all-name --generate-subpackages diff --git a/SPECS/kf6-kfilemetadata/kf6-kfilemetadata.spec b/SPECS/kf6-kfilemetadata/kf6-kfilemetadata.spec index f010789903..d4e8bf5eb3 100644 --- a/SPECS/kf6-kfilemetadata/kf6-kfilemetadata.spec +++ b/SPECS/kf6-kfilemetadata/kf6-kfilemetadata.spec @@ -66,9 +66,6 @@ Requires: cmake(Qt6Core) >= %{qt6_version} A library for extracting file metadata. Development files %install -a -# todo: fix the name error. -# Avoid illegal package names -rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* # Use langpacks macro to auto-split translations %find_lang %{name} --with-qt --all-name --generate-subpackages diff --git a/SPECS/kf6-kglobalaccel/kf6-kglobalaccel.spec b/SPECS/kf6-kglobalaccel/kf6-kglobalaccel.spec index b05e431083..a66d148c3d 100644 --- a/SPECS/kf6-kglobalaccel/kf6-kglobalaccel.spec +++ b/SPECS/kf6-kglobalaccel/kf6-kglobalaccel.spec @@ -61,9 +61,6 @@ the focused window. Unlike regular shortcuts, the application's window does not need focus for them to be activated. Development files. %install -a -# todo: fix the name error. -# Avoid illegal package names -rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* # Use langpacks macro to auto-split translations %find_lang %{name} --with-qt --all-name --generate-subpackages diff --git a/SPECS/kf6-kholidays/kf6-kholidays.spec b/SPECS/kf6-kholidays/kf6-kholidays.spec index f82b4c27e0..cc3a032ae0 100644 --- a/SPECS/kf6-kholidays/kf6-kholidays.spec +++ b/SPECS/kf6-kholidays/kf6-kholidays.spec @@ -47,9 +47,6 @@ This package contains necessary include files and libraries needed to develop applications depending on the kholidays library %install -a -# todo: fix the name error. -# Avoid illegal package names -rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* # Use langpacks macro to auto-split translations %find_lang %{name} --with-qt --all-name --generate-subpackages diff --git a/SPECS/kf6-kiconthemes/kf6-kiconthemes.spec b/SPECS/kf6-kiconthemes/kf6-kiconthemes.spec index be7725488c..6a5d0cc521 100644 --- a/SPECS/kf6-kiconthemes/kf6-kiconthemes.spec +++ b/SPECS/kf6-kiconthemes/kf6-kiconthemes.spec @@ -59,9 +59,6 @@ This library contains classes to improve the handling of icons in applications using the KDE Frameworks. Development files. %install -a -# todo: fix the name error. -# Avoid illegal package names -rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* # Use langpacks macro to auto-split translations %find_lang %{name} --with-qt --all-name --generate-subpackages diff --git a/SPECS/kf6-kio/kf6-kio.spec b/SPECS/kf6-kio/kf6-kio.spec index 0719769bcb..cf7fcd8b11 100644 --- a/SPECS/kf6-kio/kf6-kio.spec +++ b/SPECS/kf6-kio/kf6-kio.spec @@ -109,9 +109,6 @@ file dialog also uses this to provide its network-enabled file management. Development files. %install -a -# todo: fix the name error. -# Avoid illegal package names -rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* # Use langpacks macro to auto-split translations %find_lang %{name} --with-qt --all-name --generate-subpackages diff --git a/SPECS/kf6-kirigami/kf6-kirigami.spec b/SPECS/kf6-kirigami/kf6-kirigami.spec index 3247f23c35..9d4419a0f3 100644 --- a/SPECS/kf6-kirigami/kf6-kirigami.spec +++ b/SPECS/kf6-kirigami/kf6-kirigami.spec @@ -58,9 +58,6 @@ QtQuick plugins to build user interfaces based on the KDE UX guidelines. Development files. %install -a -# todo: fix the name error. -# Avoid illegal package names -rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* # Use langpacks macro to auto-split translations %find_lang %{name} --with-qt --all-name --generate-subpackages diff --git a/SPECS/kf6-kitemviews/kf6-kitemviews.spec b/SPECS/kf6-kitemviews/kf6-kitemviews.spec index 2664275df0..8bc7b33255 100644 --- a/SPECS/kf6-kitemviews/kf6-kitemviews.spec +++ b/SPECS/kf6-kitemviews/kf6-kitemviews.spec @@ -47,9 +47,6 @@ includes views for categorizing lists and to add search filters to flat and hierarchical lists. Development files. %install -a -# todo: fix the name error. -# Avoid illegal package names -rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* # Use langpacks macro to auto-split translations %find_lang %{name} --with-qt --all-name --generate-subpackages diff --git a/SPECS/kf6-knewstuff/kf6-knewstuff.spec b/SPECS/kf6-knewstuff/kf6-knewstuff.spec index ef96e82e6e..ef6f2ddf58 100644 --- a/SPECS/kf6-knewstuff/kf6-knewstuff.spec +++ b/SPECS/kf6-knewstuff/kf6-knewstuff.spec @@ -64,9 +64,6 @@ applications. It uses libattica to support the Open Collaboration Services specification. Development files. %install -a -# todo: fix the name error. -# Avoid illegal package names -rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* # Use langpacks macro to auto-split translations %find_lang %{name} --with-qt --all-name --generate-subpackages diff --git a/SPECS/kf6-knotifyconfig/kf6-knotifyconfig.spec b/SPECS/kf6-knotifyconfig/kf6-knotifyconfig.spec index b61bcf56f2..8229014981 100644 --- a/SPECS/kf6-knotifyconfig/kf6-knotifyconfig.spec +++ b/SPECS/kf6-knotifyconfig/kf6-knotifyconfig.spec @@ -52,9 +52,6 @@ KNotifyConfig provides a configuration dialog for desktop notifications which can be embedded in your application. Development files. %install -a -# todo: fix the name error. -# Avoid illegal package names -rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* # Use langpacks macro to auto-split translations %find_lang %{name} --with-qt --all-name --generate-subpackages diff --git a/SPECS/kf6-kpackage/kf6-kpackage.spec b/SPECS/kf6-kpackage/kf6-kpackage.spec index c8b1ba3872..2295682951 100644 --- a/SPECS/kf6-kpackage/kf6-kpackage.spec +++ b/SPECS/kf6-kpackage/kf6-kpackage.spec @@ -53,9 +53,6 @@ non-binary assets. Development files. %install -a -# todo: fix the name error. -# Avoid illegal package names -rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* # Use langpacks macro to auto-split translations %find_lang %{name} --with-qt --all-name --generate-subpackages diff --git a/SPECS/kf6-kparts/kf6-kparts.spec b/SPECS/kf6-kparts/kf6-kparts.spec index abf3ad46a2..0922922707 100644 --- a/SPECS/kf6-kparts/kf6-kparts.spec +++ b/SPECS/kf6-kparts/kf6-kparts.spec @@ -61,9 +61,6 @@ elaborate widgets with a user-interface defined in terms of actions (menu items, toolbar icons). Development files. %install -a -# todo: fix the name error. -# Avoid illegal package names -rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* # Use langpacks macro to auto-split translations %find_lang %{name} --with-qt --all-name --generate-subpackages diff --git a/SPECS/kf6-kpty/kf6-kpty.spec b/SPECS/kf6-kpty/kf6-kpty.spec index e20a874720..5bd67b3f22 100644 --- a/SPECS/kf6-kpty/kf6-kpty.spec +++ b/SPECS/kf6-kpty/kf6-kpty.spec @@ -48,9 +48,6 @@ as well as a KProcess derived class for running child processes and communicating with them using a pty. %install -a -# todo: fix the name error. -# Avoid illegal package names -rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* # Use langpacks macro to auto-split translations %find_lang %{name} --with-qt --all-name --generate-subpackages diff --git a/SPECS/kf6-kservice/kf6-kservice.spec b/SPECS/kf6-kservice/kf6-kservice.spec index f32419576c..afb7144488 100644 --- a/SPECS/kf6-kservice/kf6-kservice.spec +++ b/SPECS/kf6-kservice/kf6-kservice.spec @@ -64,9 +64,6 @@ application specific code. Development files %kf6_build %install -a -# todo: fix the name error. -# Avoid illegal package names -rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* # Use langpacks macro to auto-split translations %find_lang %{name} --with-qt --all-name --generate-subpackages diff --git a/SPECS/kf6-kstatusnotifieritem/kf6-kstatusnotifieritem.spec b/SPECS/kf6-kstatusnotifieritem/kf6-kstatusnotifieritem.spec index 6847e2efac..8d0c80f80f 100644 --- a/SPECS/kf6-kstatusnotifieritem/kf6-kstatusnotifieritem.spec +++ b/SPECS/kf6-kstatusnotifieritem/kf6-kstatusnotifieritem.spec @@ -57,9 +57,6 @@ Requires: cmake(Qt6Xml) >= %{qt6_version} Development files for kstatusnotifieritem %install -a -# todo: fix the name error. -# Avoid illegal package names -rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* # Use langpacks macro to auto-split translations %find_lang %{name} --with-qt --all-name --generate-subpackages diff --git a/SPECS/kf6-ktexteditor/kf6-ktexteditor.spec b/SPECS/kf6-ktexteditor/kf6-ktexteditor.spec index 7fda467b6a..41906c9922 100644 --- a/SPECS/kf6-ktexteditor/kf6-ktexteditor.spec +++ b/SPECS/kf6-ktexteditor/kf6-ktexteditor.spec @@ -67,9 +67,6 @@ applications, either as a KPart or using the KF6::TextEditor library. This subpackage provides the header files. %install -a -# todo: fix the name error. -# Avoid illegal package names -rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* # Use langpacks macro to auto-split translations %find_lang %{name} --with-qt --all-name --generate-subpackages diff --git a/SPECS/kf6-ktextwidgets/kf6-ktextwidgets.spec b/SPECS/kf6-ktextwidgets/kf6-ktextwidgets.spec index 0bbb8b0e33..8bdf44e431 100644 --- a/SPECS/kf6-ktextwidgets/kf6-ktextwidgets.spec +++ b/SPECS/kf6-ktextwidgets/kf6-ktextwidgets.spec @@ -56,9 +56,6 @@ KTextWidgets provides widgets for displaying and editing text. It supports rich text as well as plain text. Development files. %install -a -# todo: fix the name error. -# Avoid illegal package names -rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* # Use langpacks macro to auto-split translations %find_lang %{name} --with-qt --all-name --generate-subpackages diff --git a/SPECS/kf6-kunitconversion/kf6-kunitconversion.spec b/SPECS/kf6-kunitconversion/kf6-kunitconversion.spec index 04a37e14cd..508f221b76 100644 --- a/SPECS/kf6-kunitconversion/kf6-kunitconversion.spec +++ b/SPECS/kf6-kunitconversion/kf6-kunitconversion.spec @@ -57,9 +57,6 @@ well as converting between different unit systems (e.g. liters, gallons). Development files. %install -a -# todo: fix the name error. -# Avoid illegal package names -rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* # Use langpacks macro to auto-split translations %find_lang %{name} --with-qt --all-name --generate-subpackages diff --git a/SPECS/kf6-kuserfeedback/kf6-kuserfeedback.spec b/SPECS/kf6-kuserfeedback/kf6-kuserfeedback.spec index ada64682f5..99d6b471a8 100644 --- a/SPECS/kf6-kuserfeedback/kf6-kuserfeedback.spec +++ b/SPECS/kf6-kuserfeedback/kf6-kuserfeedback.spec @@ -68,9 +68,6 @@ Development files for kf6-kuserfeedback, a framework for collecting feedback fro application users via telemetry and targeted surveys. %install -a -# todo: fix the name error. -# Avoid illegal package names -rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* # Use langpacks macro to auto-split translations %find_lang %{name} --with-qt --all-name --generate-subpackages diff --git a/SPECS/kf6-kwallet/kf6-kwallet.spec b/SPECS/kf6-kwallet/kf6-kwallet.spec index 49f45236ef..eb57d3afe2 100644 --- a/SPECS/kf6-kwallet/kf6-kwallet.spec +++ b/SPECS/kf6-kwallet/kf6-kwallet.spec @@ -80,9 +80,6 @@ This framework contains two main components: Development files. %install -a -# todo: fix the name error. -# Avoid illegal package names -rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* # Use langpacks macro to auto-split translations %find_lang %{name} --with-qt --all-name --generate-subpackages diff --git a/SPECS/kf6-kwidgetsaddons/kf6-kwidgetsaddons.spec b/SPECS/kf6-kwidgetsaddons/kf6-kwidgetsaddons.spec index 3eeb083f07..930a8032ce 100644 --- a/SPECS/kf6-kwidgetsaddons/kf6-kwidgetsaddons.spec +++ b/SPECS/kf6-kwidgetsaddons/kf6-kwidgetsaddons.spec @@ -55,9 +55,6 @@ This repository contains add-on widgets and classes for applications that use the Qt Widgets module. %install -a -# todo: fix the name error. -# Avoid illegal package names -rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* # Use langpacks macro to auto-split translations %find_lang %{name} --with-qt --all-name --generate-subpackages diff --git a/SPECS/kf6-kxmlgui/kf6-kxmlgui.spec b/SPECS/kf6-kxmlgui/kf6-kxmlgui.spec index 8f70406b67..d0bd97fdcb 100644 --- a/SPECS/kf6-kxmlgui/kf6-kxmlgui.spec +++ b/SPECS/kf6-kxmlgui/kf6-kxmlgui.spec @@ -72,9 +72,6 @@ in the application code. The framework supports merging of multiple description for example for integrating actions from plugins. Development files. %install -a -# todo: fix the name error. -# Avoid illegal package names -rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* # Use langpacks macro to auto-split translations %find_lang %{name} --with-qt --all-name --generate-subpackages diff --git a/SPECS/kf6-purpose/kf6-purpose.spec b/SPECS/kf6-purpose/kf6-purpose.spec index de211b46a5..42d2f1ce6d 100644 --- a/SPECS/kf6-purpose/kf6-purpose.spec +++ b/SPECS/kf6-purpose/kf6-purpose.spec @@ -82,9 +82,6 @@ Requires: cmake(KF6CoreAddons) >= %{_kf6_version} This package contains development files needed to build applications which rely on the purpose framework. %install -a -# todo: fix the name error. -# Avoid illegal package names -rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* # Use langpacks macro to auto-split translations %find_lang %{name} --with-qt --all-name --generate-subpackages diff --git a/SPECS/kf6-qqc2-desktop-style/kf6-qqc2-desktop-style.spec b/SPECS/kf6-qqc2-desktop-style/kf6-qqc2-desktop-style.spec index 952f951683..98a68effb6 100644 --- a/SPECS/kf6-qqc2-desktop-style/kf6-qqc2-desktop-style.spec +++ b/SPECS/kf6-qqc2-desktop-style/kf6-qqc2-desktop-style.spec @@ -57,9 +57,6 @@ qqc2-desktop-style. Usually not needed as it is only a runtime dependency. %install -a -# todo: fix the name error. -# Avoid illegal package names -rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* # Use langpacks macro to auto-split translations %find_lang %{name} --with-qt --all-name --generate-subpackages diff --git a/SPECS/kf6-solid/kf6-solid.spec b/SPECS/kf6-solid/kf6-solid.spec index 87e4203e9e..aac31a241d 100644 --- a/SPECS/kf6-solid/kf6-solid.spec +++ b/SPECS/kf6-solid/kf6-solid.spec @@ -54,9 +54,6 @@ interacting with hardware independently of the underlying operating system. Development files. %install -a -# todo: fix the name error. -# Avoid illegal package names -rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* # Use langpacks macro to auto-split translations %find_lang %{name} --with-qt --all-name --generate-subpackages diff --git a/SPECS/kf6-sonnet/kf6-sonnet.spec b/SPECS/kf6-sonnet/kf6-sonnet.spec index 9389a8fc49..34f80113e6 100644 --- a/SPECS/kf6-sonnet/kf6-sonnet.spec +++ b/SPECS/kf6-sonnet/kf6-sonnet.spec @@ -62,9 +62,6 @@ The %{name}-voikko package contains the Finnish voikko spellchecking plugin for %{name}. %install -a -# todo: fix the name error. -# Avoid illegal package names -rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* # Use langpacks macro to auto-split translations %find_lang %{name} --with-qt --all-name --generate-subpackages diff --git a/SPECS/kf6-syntax-highlighting/kf6-syntax-highlighting.spec b/SPECS/kf6-syntax-highlighting/kf6-syntax-highlighting.spec index f892db82cb..6add92108d 100644 --- a/SPECS/kf6-syntax-highlighting/kf6-syntax-highlighting.spec +++ b/SPECS/kf6-syntax-highlighting/kf6-syntax-highlighting.spec @@ -55,9 +55,6 @@ This is a tier1/functional version of the Kate syntax highlighting engine. It's not tied to a particular output format or editor engine. %install -a -# todo: fix the name error. -# Avoid illegal package names -rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* # Use langpacks macro to auto-split translations %find_lang %{name} --with-qt --all-name --generate-subpackages diff --git a/SPECS/kinfocenter/kinfocenter.spec b/SPECS/kinfocenter/kinfocenter.spec index 15afc41861..159ca43669 100644 --- a/SPECS/kinfocenter/kinfocenter.spec +++ b/SPECS/kinfocenter/kinfocenter.spec @@ -81,11 +81,6 @@ Recommends: sensors KDE Utility that provides information about a computer system. %install -a -# todo: fix the name error. -# Avoid illegal package names -rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* -rm -rf $RPM_BUILD_ROOT%{_mandir}/*@* -rm -rf $RPM_BUILD_ROOT%{_kf6_htmldir}/*@* # Use langpacks macro to auto-split translations %find_lang %{name} --with-qt --all-name --with-html --generate-subpackages diff --git a/SPECS/kio-extras/kio-extras.spec b/SPECS/kio-extras/kio-extras.spec index 0fc4b821f7..dc6e7f9bb8 100644 --- a/SPECS/kio-extras/kio-extras.spec +++ b/SPECS/kio-extras/kio-extras.spec @@ -79,11 +79,6 @@ Requires: %{name}%{?_isa} = %{version}-%{release} Development files for %{name}. %install -a -# todo: fix the name error. -# Avoid illegal package names -rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* -rm -rf $RPM_BUILD_ROOT%{_mandir}/*@* -rm -rf $RPM_BUILD_ROOT%{_kf6_htmldir}/*@* # Use langpacks macro to auto-split translations %find_lang %{name} --with-qt --with-html --all-name --generate-subpackages diff --git a/SPECS/kirigami-addons/kirigami-addons.spec b/SPECS/kirigami-addons/kirigami-addons.spec index 70630d45fa..4a891a28d6 100644 --- a/SPECS/kirigami-addons/kirigami-addons.spec +++ b/SPECS/kirigami-addons/kirigami-addons.spec @@ -61,9 +61,6 @@ or Plasma). This package provides development files to build applications with kirigami-addons. %install -a -# todo: fix the name error. -# Avoid illegal package names -rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* # Use langpacks macro to auto-split translations %find_lang %{name} --with-qt --all-name --generate-subpackages diff --git a/SPECS/kmenuedit/kmenuedit.spec b/SPECS/kmenuedit/kmenuedit.spec index fd5773b8a3..ef51d759c7 100644 --- a/SPECS/kmenuedit/kmenuedit.spec +++ b/SPECS/kmenuedit/kmenuedit.spec @@ -47,11 +47,6 @@ BuildRequires: docbook-dtds Provides the interface and basic tools for the KDE workspace. %install -a -# todo: fix the name error. -# Avoid illegal package names -rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* -rm -rf $RPM_BUILD_ROOT%{_mandir}/*@* -rm -rf $RPM_BUILD_ROOT%{_kf6_htmldir}/*@* # Use langpacks macro to auto-split translations %find_lang %{name} --with-qt --with-html --all-name --generate-subpackages diff --git a/SPECS/konqueror/konqueror.spec b/SPECS/konqueror/konqueror.spec index 8805a6b8f5..72b2e446e9 100644 --- a/SPECS/konqueror/konqueror.spec +++ b/SPECS/konqueror/konqueror.spec @@ -87,10 +87,6 @@ Provides: libkonq-devel = %{version} Development package for the konqueror libraries. %install -a -# todo: fix the name error. -# Avoid illegal package names -rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* -rm -rf $RPM_BUILD_ROOT%{_kf6_htmldir}/*@* # Use langpacks macro to auto-split translations %find_lang %{name} --with-qt --with-html --all-name --generate-subpackages diff --git a/SPECS/konsole/konsole.spec b/SPECS/konsole/konsole.spec index 184c5f25ca..549297410c 100644 --- a/SPECS/konsole/konsole.spec +++ b/SPECS/konsole/konsole.spec @@ -73,11 +73,6 @@ Konsole is a terminal emulator for the K Desktop Environment. This package provides KPart of the Konsole application. %install -a -# todo: fix the name error. -# Avoid illegal package names -rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* -rm -rf $RPM_BUILD_ROOT%{_mandir}/*@* -rm -rf $RPM_BUILD_ROOT%{_kf6_htmldir}/*@* # Use langpacks macro to auto-split translations %find_lang %{name} --with-qt --all-name --with-man --with-html --generate-subpackages diff --git a/SPECS/kpipewire/kpipewire.spec b/SPECS/kpipewire/kpipewire.spec index f96abe1bc9..e9d49f2552 100644 --- a/SPECS/kpipewire/kpipewire.spec +++ b/SPECS/kpipewire/kpipewire.spec @@ -70,9 +70,6 @@ This package provides the development files needed to build applications which use KPipeWire. %install -a -# todo: fix the name error. -# Avoid illegal package names -rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* # Use langpacks macro to auto-split translations %find_lang %{name} --with-qt --all-name --generate-subpackages diff --git a/SPECS/kscreen/kscreen.spec b/SPECS/kscreen/kscreen.spec index 12c49f32f4..dc268d8eb9 100644 --- a/SPECS/kscreen/kscreen.spec +++ b/SPECS/kscreen/kscreen.spec @@ -65,9 +65,6 @@ Requires: xrdb KScreen handles screen management for both X11 and Wayland sessions, including rotation, size, refresh rate, and scaling. %install -a -# todo: fix the name error. -# Avoid illegal package names -rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* # Use langpacks macro to auto-split translations %find_lang %{name} --with-qt --all-name --generate-subpackages diff --git a/SPECS/kscreenlocker/kscreenlocker.spec b/SPECS/kscreenlocker/kscreenlocker.spec index 74be44d101..0f372adb2d 100644 --- a/SPECS/kscreenlocker/kscreenlocker.spec +++ b/SPECS/kscreenlocker/kscreenlocker.spec @@ -88,9 +88,6 @@ install -D -m0644 %{SOURCE1} %{buildroot}%{_pam_confdir}/kde install -D -m0644 %{SOURCE2} %{buildroot}%{_pam_confdir}/kde-fingerprint install -D -m0644 %{SOURCE3} %{buildroot}%{_pam_confdir}/kde-smartcard -# todo: fix the name error. -# Avoid illegal package names -rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* # Use langpacks macro to auto-split translations %find_lang %{name} --with-qt --all-name --generate-subpackages diff --git a/SPECS/ksystemstats/ksystemstats.spec b/SPECS/ksystemstats/ksystemstats.spec index 04a7c0dc8b..c86bf6e61b 100644 --- a/SPECS/ksystemstats/ksystemstats.spec +++ b/SPECS/ksystemstats/ksystemstats.spec @@ -47,11 +47,6 @@ BuildRequires: pkgconfig(libudev) KSystemStats is a daemon that collects statistics about the running system. %install -a -# todo: fix the name error. -# Avoid illegal package names -rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* -rm -rf $RPM_BUILD_ROOT%{_mandir}/*@* -rm -rf $RPM_BUILD_ROOT%{_kf6_htmldir}/*@* # Use langpacks macro to auto-split translations %find_lang %{name} --with-qt --all-name --generate-subpackages diff --git a/SPECS/labwc/labwc.spec b/SPECS/labwc/labwc.spec index 11826d5444..0132514f48 100644 --- a/SPECS/labwc/labwc.spec +++ b/SPECS/labwc/labwc.spec @@ -47,9 +47,6 @@ openbox. It is light-weight and independent with a focus on simply stacking windows well and rendering some window decorations. %install -a -# TODO: fix the name error. -# Avoid illegal package names -rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* %find_lang %{name} --generate-subpackages %files -f %{name}.lang diff --git a/SPECS/libbytesize/libbytesize.spec b/SPECS/libbytesize/libbytesize.spec index 433f368366..6104fdfe99 100644 --- a/SPECS/libbytesize/libbytesize.spec +++ b/SPECS/libbytesize/libbytesize.spec @@ -12,7 +12,7 @@ Release: %autorelease Summary: A library for working with sizes in bytes License: LGPL-2.1-or-later URL: https://github.com/storaged-project/libbytesize -#!RemoteAsset +#!RemoteAsset: sha256:e8b39afc6580f5777c9b1c8488e21fcbb60a3effdac7399eef0236185639bc41 Source0: https://github.com/storaged-project/libbytesize/archive/refs/tags/%{version}.tar.gz BuildSystem: autotools @@ -68,9 +68,6 @@ This package contains Python 3 bindings for libbytesize. make check TESTS=libbytesize_unittest.sh %install -a -# todo: fix the name error. -# Avoid illegal package names -rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* %find_lang %{name} --generate-subpackages %files @@ -94,4 +91,4 @@ rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* %{python3_sitearch}/bytesize/* %changelog -%{?autochangelog} +%autochangelog diff --git a/SPECS/libidn2/libidn2.spec b/SPECS/libidn2/libidn2.spec index 3917292495..3472034aea 100644 --- a/SPECS/libidn2/libidn2.spec +++ b/SPECS/libidn2/libidn2.spec @@ -13,12 +13,8 @@ Summary: Support for Internationalized Domain Names (IDN) based on IDNA20 License: (GPL-2.0-or-later OR LGPL-3.0-or-later) AND GPL-3.0-or-later URL: https://www.gnu.org/software/libidn/#libidn2 VCS: git:https://gitlab.com/libidn/libidn2 -#!RemoteAsset +#!RemoteAsset: sha256:f557911bf6171621e1f72ff35f5b1825bb35b52ed45325dcdee931e5d3c0787a Source0: https://ftpmirror.gnu.org/gnu/libidn/%{name}-%{version}.tar.gz -#!RemoteAsset -Source1: https://ftpmirror.gnu.org/gnu/libidn/%{name}-%{version}.tar.gz.sig -#!RemoteAsset -Source2: https://josefsson.org/key-20190320.txt#/%{name}.keyring BuildSystem: autotools BuildOption(conf): --disable-static @@ -40,8 +36,6 @@ An implementation of the IDNA2008 specifications (RFCs 5890, 5891, 5892, 5893) %install -a rm -rf %{buildroot}/%{_datadir}/gtk-doc/ -# Avoid illegal package names -rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* %find_lang %{name} --generate-subpackages %files @@ -60,4 +54,4 @@ rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* %{_mandir}/man3/* %changelog -%{?autochangelog} +%autochangelog diff --git a/SPECS/libkscreen/libkscreen.spec b/SPECS/libkscreen/libkscreen.spec index 3026a644bf..1dcd9c0d54 100644 --- a/SPECS/libkscreen/libkscreen.spec +++ b/SPECS/libkscreen/libkscreen.spec @@ -72,9 +72,6 @@ Requires: cmake(Qt6Core) >= %{qt6_version} Development files belonging to libkscreen, dynamic display management in Plasma %install -a -# todo: fix the name error. -# Avoid illegal package names -rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* # Use langpacks macro to auto-split translations %find_lang %{name} --with-qt --all-name --generate-subpackages diff --git a/SPECS/libksysguard/libksysguard.spec b/SPECS/libksysguard/libksysguard.spec index c799bebd31..3cf02d3cd1 100644 --- a/SPECS/libksysguard/libksysguard.spec +++ b/SPECS/libksysguard/libksysguard.spec @@ -84,9 +84,6 @@ Task management and system monitoring library. This package contains development files. %install -a -# todo: fix the name error. -# Avoid illegal package names -rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* # Use langpacks macro to auto-split translations %find_lang %{name} --with-qt --all-name --generate-subpackages diff --git a/SPECS/libmypaint/libmypaint.spec b/SPECS/libmypaint/libmypaint.spec index db7a7418db..768171b49e 100644 --- a/SPECS/libmypaint/libmypaint.spec +++ b/SPECS/libmypaint/libmypaint.spec @@ -38,9 +38,6 @@ This package contains header files and libraries needed for development with libmypaint. %install -a -# TODO: fix the name error. -# Avoid illegal package names -rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* %find_lang %{name} --generate-subpackages %files -f %{name}.lang @@ -58,4 +55,4 @@ rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* %{_datadir}/gir-1.0/MyPaint-1.6.gir %changelog -%{?autochangelog} +%autochangelog diff --git a/SPECS/libosinfo/libosinfo.spec b/SPECS/libosinfo/libosinfo.spec index 3ecb4e7b1f..409bd2e443 100644 --- a/SPECS/libosinfo/libosinfo.spec +++ b/SPECS/libosinfo/libosinfo.spec @@ -12,7 +12,7 @@ Summary: A library for managing OS information for virtualization License: LGPL-2.1-or-later URL: https://libosinfo.org/ VCS: git:https://gitlab.com/libosinfo/libosinfo -#!RemoteAsset +#!RemoteAsset: sha256:ad8557ece26793da43d26de565e3d68ce2ee6bfb8d0113b7cc7dfe07f6bfc6b6 Source: https://releases.pagure.org/libosinfo/libosinfo-%{version}.tar.xz BuildSystem: meson @@ -55,9 +55,6 @@ This package contains the libraries, header files, and documentation needed to develop applications that use the libosinfo library. %install -a -# Avoid illegal package names -rm -rf %{buildroot}%{_datadir}/locale/*@* - %find_lang %{name} --generate-subpackages %files @@ -87,4 +84,4 @@ rm -rf %{buildroot}%{_datadir}/locale/*@* %{_datadir}/vala/vapi/libosinfo-1.0.vapi %changelog -%{?autochangelog} +%autochangelog diff --git a/SPECS/libplasma/libplasma.spec b/SPECS/libplasma/libplasma.spec index ff46f309a4..b1b990a43e 100644 --- a/SPECS/libplasma/libplasma.spec +++ b/SPECS/libplasma/libplasma.spec @@ -90,9 +90,6 @@ Conflicts: plasma-framework-devel Plasma library and runtime components based upon KF6 and Qt6 %install -a -# todo: fix the name error. -# Avoid illegal package names -rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* # Use langpacks macro to auto-split translations %find_lang %{name} --with-qt --all-name --generate-subpackages diff --git a/SPECS/libpwquality/libpwquality.spec b/SPECS/libpwquality/libpwquality.spec index 7c23079507..945c9eb1e1 100644 --- a/SPECS/libpwquality/libpwquality.spec +++ b/SPECS/libpwquality/libpwquality.spec @@ -61,8 +61,6 @@ pronounceable passwords from Python applications. %install -a mkdir %{buildroot}%{_pam_secconfdir}/pwquality.conf.d -# Avoid illegal package names -rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* %find_lang %{name} --generate-subpackages diff --git a/SPECS/libsoup/libsoup.spec b/SPECS/libsoup/libsoup.spec index a5eab79bb3..8acc2c18c7 100644 --- a/SPECS/libsoup/libsoup.spec +++ b/SPECS/libsoup/libsoup.spec @@ -55,9 +55,6 @@ needed to develop applications that use the libsoup library. %install -a install -m 644 -D tests/libsoup.supp %{buildroot}%{_datadir}/libsoup-3.0/libsoup.supp -# Avoid illegal package names -rm -rf %{buildroot}%{_datadir}/locale/*@* - %find_lang libsoup-3.0 --generate-subpackages %files -f libsoup-3.0.lang diff --git a/SPECS/libuser/libuser.spec b/SPECS/libuser/libuser.spec index 598463d2a4..309099a642 100644 --- a/SPECS/libuser/libuser.spec +++ b/SPECS/libuser/libuser.spec @@ -82,10 +82,6 @@ Python 3 bindings for libuser. ./autogen.sh %install -a -# todo: fix the name error. -# Avoid illegal package names -# TODO: Avoid illegal locale package name -rm -rf %{buildroot}%{_datadir}/locale/*@* %find_lang %{name} --generate-subpackages %if %{without tests} diff --git a/SPECS/milou/milou.spec b/SPECS/milou/milou.spec index 3fbd2e7c67..d6b5b52954 100644 --- a/SPECS/milou/milou.spec +++ b/SPECS/milou/milou.spec @@ -42,11 +42,6 @@ BuildRequires: cmake(Qt6Widgets) >= %{qt6_version} A dedicated search application built on top of Baloo %install -a -# todo: fix the name error. -# Avoid illegal package names -rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* -rm -rf $RPM_BUILD_ROOT%{_mandir}/*@* -rm -rf $RPM_BUILD_ROOT%{_kf6_htmldir}/*@* # Use langpacks macro to auto-split translations %find_lang %{name} --with-qt --all-name --generate-subpackages diff --git a/SPECS/mlocate/mlocate.spec b/SPECS/mlocate/mlocate.spec index e1c7437ca9..e65d78f949 100644 --- a/SPECS/mlocate/mlocate.spec +++ b/SPECS/mlocate/mlocate.spec @@ -13,7 +13,7 @@ Version: 0.26 Release: %autorelease License: GPL-2.0-only URL: https://pagure.io/mlocate -#!RemoteAsset +#!RemoteAsset: sha256:3063df79fe198fb9618e180c54baf3105b33d88fe602ff2d8570aaf944f1263e Source0: http://releases.pagure.org/mlocate/mlocate-%{version}.tar.xz Source1: mlocate.sysusers BuildSystem: autotools @@ -35,9 +35,6 @@ most of the file system. autoreconf -fiv %install -a -# Avoid illegal package names -rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* - %find_lang %{name} --generate-subpackages mkdir -p %{buildroot}%{_sysusersdir} install -m 644 %{SOURCE1} %{buildroot}%{_sysusersdir}/%{name}.conf @@ -58,4 +55,4 @@ touch %{buildroot}%{_localstatedir}/lib/mlocate/mlocate.db %ghost %attr(0640,root,mlocate) %{_localstatedir}/lib/mlocate/mlocate.db %changelog -%{?autochangelog} +%autochangelog diff --git a/SPECS/openconnect/openconnect.spec b/SPECS/openconnect/openconnect.spec index 6b38a29db6..765e154663 100644 --- a/SPECS/openconnect/openconnect.spec +++ b/SPECS/openconnect/openconnect.spec @@ -54,9 +54,6 @@ NetworkManager etc. rm -f %{buildroot}/%{_libexecdir}/%{name}/tncc-wrapper.py rm -f %{buildroot}/%{_libexecdir}/%{name}/hipreport-android.sh -# TODO: fix the name error. -# Avoid illegal package names -rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* %find_lang %{name} --generate-subpackages %files -f %{name}.lang @@ -73,4 +70,4 @@ rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* %{_libdir}/pkgconfig/openconnect.pc %changelog -%{?autochangelog} +%autochangelog diff --git a/SPECS/osinfo-db-tools/osinfo-db-tools.spec b/SPECS/osinfo-db-tools/osinfo-db-tools.spec index 0826d01adf..6b0b0aafc5 100644 --- a/SPECS/osinfo-db-tools/osinfo-db-tools.spec +++ b/SPECS/osinfo-db-tools/osinfo-db-tools.spec @@ -33,9 +33,6 @@ This package provides tools for managing the osinfo database of information about operating systems for use with virtualization. %install -a -# TODO: Avoid illegal package names -rm -rf %{buildroot}%{_datadir}/locale/*@* - %find_lang %{name} --generate-subpackages %files diff --git a/SPECS/pam/pam.spec b/SPECS/pam/pam.spec index a77444aae8..fe4d85e644 100644 --- a/SPECS/pam/pam.spec +++ b/SPECS/pam/pam.spec @@ -193,8 +193,6 @@ find %{buildroot}%{_pkgdocdir} -type d | xargs chmod 755 find %{buildroot}%{_pkgdocdir} -type f | xargs chmod 644 %endif -# Avoid illegal package names -rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* %find_lang Linux-PAM --generate-subpackages %files diff --git a/SPECS/pipewire/pipewire.spec b/SPECS/pipewire/pipewire.spec index f58c7f56f2..3d20106e0c 100644 --- a/SPECS/pipewire/pipewire.spec +++ b/SPECS/pipewire/pipewire.spec @@ -147,9 +147,6 @@ ln -s ../client.conf.avail/20-upmix.conf \ # raop config ln -s ../pipewire.conf.avail/50-raop.conf \ %{buildroot}%{_datadir}/pipewire/pipewire.conf.d/50-raop.conf -# todo: fix the name error. -# Avoid illegal package names -rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* %find_lang %{name} --generate-subpackages diff --git a/SPECS/plasma-desktop/plasma-desktop.spec b/SPECS/plasma-desktop/plasma-desktop.spec index cf3b593420..f560cdcc86 100644 --- a/SPECS/plasma-desktop/plasma-desktop.spec +++ b/SPECS/plasma-desktop/plasma-desktop.spec @@ -200,11 +200,6 @@ Plasma Input Method Backend for SCIM (Smart Chinese/Common Input Method) support # no devel files needed here rm -rv %{buildroot}%{_kf6_sharedir}/dbus-1/interfaces/ -# todo: fix the name error. -# Avoid illegal package names -rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* -rm -rf $RPM_BUILD_ROOT%{_mandir}/*@* -rm -rf $RPM_BUILD_ROOT%{_kf6_htmldir}/*@* # Use langpacks macro to auto-split translations %find_lang %{name} --with-qt --all-name --with-html --generate-subpackages diff --git a/SPECS/plasma-disks/plasma-disks.spec b/SPECS/plasma-disks/plasma-disks.spec index 152869447a..2b1764e2d7 100644 --- a/SPECS/plasma-disks/plasma-disks.spec +++ b/SPECS/plasma-disks/plasma-disks.spec @@ -41,9 +41,6 @@ Requires: smartmontools Monitors S.M.A.R.T. capable devices for imminent failure and informs the user. %install -a -# todo: fix the name error. -# Avoid illegal package names -rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* # Use langpacks macro to auto-split translations %find_lang %{name} --with-qt --all-name --generate-subpackages diff --git a/SPECS/plasma-integration/plasma-integration.spec b/SPECS/plasma-integration/plasma-integration.spec index 4829299c39..7eec1b2221 100644 --- a/SPECS/plasma-integration/plasma-integration.spec +++ b/SPECS/plasma-integration/plasma-integration.spec @@ -70,9 +70,6 @@ applications when running on a KDE Plasma workspace. Applications do not need to link to this directly. %install -a -# todo: fix the name error. -# Avoid illegal package names -rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* # Use langpacks macro to auto-split translations %find_lang %{name} --with-qt --all-name --generate-subpackages diff --git a/SPECS/plasma-login-manager/plasma-login-manager.spec b/SPECS/plasma-login-manager/plasma-login-manager.spec index 1d415f53e3..f787912c3c 100644 --- a/SPECS/plasma-login-manager/plasma-login-manager.spec +++ b/SPECS/plasma-login-manager/plasma-login-manager.spec @@ -82,9 +82,6 @@ mv %{buildroot}%{_datadir}/dbus-1/system.d/org.freedesktop.DisplayManager.conf \ # Home/state directory of the plasmalogin user (also (re)created at boot by tmpfiles) mkdir -p %{buildroot}%{_localstatedir}/lib/plasmalogin -# todo: fix the name error. -# Avoid illegal package names -rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* # Use langpacks macro to auto-split translations %find_lang %{name} --with-qt --all-name --generate-subpackages diff --git a/SPECS/plasma-nm/plasma-nm.spec b/SPECS/plasma-nm/plasma-nm.spec index 5845c2345d..97f44e68a1 100644 --- a/SPECS/plasma-nm/plasma-nm.spec +++ b/SPECS/plasma-nm/plasma-nm.spec @@ -219,9 +219,6 @@ FortiGate SSL VPN plugin for plasma-nm components. rm -rf %{buildroot}%{_kf6_plugindir}/plasma/network/vpn/* %endif -# todo: fix the name error. -# Avoid illegal package names -rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* # Use langpacks macro to auto-split translations %find_lang %{name} --with-qt --all-name --generate-subpackages diff --git a/SPECS/plasma-pa/plasma-pa.spec b/SPECS/plasma-pa/plasma-pa.spec index 12789531b9..9adcd0a643 100644 --- a/SPECS/plasma-pa/plasma-pa.spec +++ b/SPECS/plasma-pa/plasma-pa.spec @@ -62,9 +62,6 @@ Suggests: pipewire-pulseaudio A volume manager plasmoid superseding kmix. %install -a -# todo: fix the name error. -# Avoid illegal package names -rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* # Use langpacks macro to auto-split translations %find_lang %{name} --with-qt --all-name --with-html --generate-subpackages diff --git a/SPECS/plasma-sdk/plasma-sdk.spec b/SPECS/plasma-sdk/plasma-sdk.spec index 2b37c333aa..f21abadde0 100644 --- a/SPECS/plasma-sdk/plasma-sdk.spec +++ b/SPECS/plasma-sdk/plasma-sdk.spec @@ -77,9 +77,6 @@ cp -L %{_kf6_iconsdir}/breeze/apps/22/plasma-symbolic.svg %{buildroot}%{_kf6_ico cp -L %{_kf6_iconsdir}/breeze/apps/48/cuttlefish.svg %{buildroot}%{_kf6_iconsdir}/hicolor/scalable/apps/ cp -L %{_kf6_iconsdir}/breeze/actions/22/tools-wizard.svg %{buildroot}%{_kf6_iconsdir}/hicolor/scalable/apps/ -# todo: fix the name error. -# Avoid illegal package names -rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* # Use langpacks macro to auto-split translations %find_lang %{name} --with-qt --all-name --generate-subpackages diff --git a/SPECS/plasma-systemmonitor/plasma-systemmonitor.spec b/SPECS/plasma-systemmonitor/plasma-systemmonitor.spec index 9c0a74a4cd..ad3f9675da 100644 --- a/SPECS/plasma-systemmonitor/plasma-systemmonitor.spec +++ b/SPECS/plasma-systemmonitor/plasma-systemmonitor.spec @@ -57,9 +57,6 @@ plasma-systemmonitor provides an interface for monitoring system sensors, process information and other system resources. %install -a -# todo: fix the name error. -# Avoid illegal package names -rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* # Use langpacks macro to auto-split translations %find_lang %{name} --with-qt --all-name --generate-subpackages diff --git a/SPECS/plasma-workspace/plasma-workspace.spec b/SPECS/plasma-workspace/plasma-workspace.spec index 9f237bd0da..eaa869fee6 100644 --- a/SPECS/plasma-workspace/plasma-workspace.spec +++ b/SPECS/plasma-workspace/plasma-workspace.spec @@ -277,11 +277,6 @@ Supplements: (%{name} and sddm) This package confirms defaults for SDDM suitable for Plasma 6. %install -a -# todo: fix the name error. -# Avoid illegal package names -rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* -rm -rf $RPM_BUILD_ROOT%{_mandir}/*@* -rm -rf $RPM_BUILD_ROOT%{_kf6_htmldir}/*@* # Use langpacks macro to auto-split translations %find_lang %{name} --with-qt --with-html --all-name --generate-subpackages diff --git a/SPECS/plasma5support/plasma5support.spec b/SPECS/plasma5support/plasma5support.spec index 3b621516f8..97cba04495 100644 --- a/SPECS/plasma5support/plasma5support.spec +++ b/SPECS/plasma5support/plasma5support.spec @@ -75,9 +75,6 @@ Requires: cmake(Qt6Gui) >= %{qt6_version} Development Files for the plasma5support framework. %install -a -# todo: fix the name error. -# Avoid illegal package names -rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* # Use langpacks macro to auto-split translations %find_lang %{name} --with-qt --all-name --generate-subpackages diff --git a/SPECS/polkit-kde-agent-1/polkit-kde-agent-1.spec b/SPECS/polkit-kde-agent-1/polkit-kde-agent-1.spec index 0a0b28c4c5..5763f18d38 100644 --- a/SPECS/polkit-kde-agent-1/polkit-kde-agent-1.spec +++ b/SPECS/polkit-kde-agent-1/polkit-kde-agent-1.spec @@ -41,9 +41,6 @@ BuildRequires: cmake(Qt6Widgets) >= %{qt6_version} Provides Policy Kit Authentication Agent that nicely fits Plasma. %install -a -# todo: fix the name error. -# Avoid illegal package names -rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* # Use langpacks macro to auto-split translations %find_lang %{name} --with-qt --all-name --generate-subpackages diff --git a/SPECS/poppler/poppler.spec b/SPECS/poppler/poppler.spec index d6e1a951ca..7e7932fc8b 100644 --- a/SPECS/poppler/poppler.spec +++ b/SPECS/poppler/poppler.spec @@ -77,9 +77,6 @@ compile applications based on poppler. chmod -x poppler/CairoFontEngine.cc %install -a -# todo: fix the name error. -# Avoid illegal package names -rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* %find_lang pdfsig --generate-subpackages # just skip now, or will segfault. diff --git a/SPECS/powerdevil/powerdevil.spec b/SPECS/powerdevil/powerdevil.spec index 755594f346..d207f3f463 100644 --- a/SPECS/powerdevil/powerdevil.spec +++ b/SPECS/powerdevil/powerdevil.spec @@ -77,11 +77,6 @@ KDE Power Management module. Provides kded daemon, DBus helper and KCM for configuring Power settings. %install -a -# todo: fix the name error. -# Avoid illegal package names -rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* -rm -rf $RPM_BUILD_ROOT%{_mandir}/*@* -rm -rf $RPM_BUILD_ROOT%{_kf6_htmldir}/*@* # Use langpacks macro to auto-split translations %find_lang %{name} --with-qt --all-name --with-html --generate-subpackages diff --git a/SPECS/pulseaudio/pulseaudio.spec b/SPECS/pulseaudio/pulseaudio.spec index 4758a32868..ddc251f30c 100644 --- a/SPECS/pulseaudio/pulseaudio.spec +++ b/SPECS/pulseaudio/pulseaudio.spec @@ -111,8 +111,6 @@ install -m0644 -D %{SOURCE1} %{buildroot}%{_sysusersdir}/pulseaudio.conf mkdir -p %{buildroot}%{_prefix}/lib/udev/rules.d mv -fv %{buildroot}/lib/udev/rules.d/90-pulseaudio.rules %{buildroot}%{_prefix}/lib/udev/rules.d -# Avoid illegal package names -rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* %find_lang %{name} --generate-subpackages %pre diff --git a/SPECS/python-blivet/python-blivet.spec b/SPECS/python-blivet/python-blivet.spec index 20b9318ddf..239cf8264f 100644 --- a/SPECS/python-blivet/python-blivet.spec +++ b/SPECS/python-blivet/python-blivet.spec @@ -49,8 +49,6 @@ storage configuration. %conf %install -a -# TODO: Avoid illegal package names -rm -rf %{buildroot}%{_datadir}/locale/*@* %find_lang %{srcname} --generate-subpackages # TODO: check needs ton of other dependencies - 251 diff --git a/SPECS/python-simpleline/python-simpleline.spec b/SPECS/python-simpleline/python-simpleline.spec index 8d20693fd1..e0d208822f 100644 --- a/SPECS/python-simpleline/python-simpleline.spec +++ b/SPECS/python-simpleline/python-simpleline.spec @@ -44,8 +44,6 @@ Printed lines are never rewritten! %conf %install -a -# TODO: Avoid illegal package names -rm -rf %{buildroot}%{_datadir}/locale/*@* %find_lang %{name} --generate-subpackages %check diff --git a/SPECS/qtkeychain/qtkeychain.spec b/SPECS/qtkeychain/qtkeychain.spec index 79417cff2f..d2a7f71b5e 100644 --- a/SPECS/qtkeychain/qtkeychain.spec +++ b/SPECS/qtkeychain/qtkeychain.spec @@ -44,9 +44,6 @@ Requires: cmake(Qt6DBus) This package contains development files for qt6keychain. %install -a -# TODO: fix the name error. -# Avoid illegal package names -rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* %find_lang %{name} --generate-subpackages --with-qt %check diff --git a/SPECS/recode/recode.spec b/SPECS/recode/recode.spec index cf5c0583a7..3f9e34ba01 100644 --- a/SPECS/recode/recode.spec +++ b/SPECS/recode/recode.spec @@ -48,8 +48,6 @@ This package provides the header files for a recode library. %install -a rm -f %{buildroot}%{_infodir}/dir -# Avoid illegal package names -rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* %find_lang %{name} --generate-subpackages diff --git a/SPECS/rpm/0001-find-lang.sh-Put-a-lang-variants-altogether-when-gen.patch b/SPECS/rpm/0001-find-lang.sh-Put-a-lang-variants-altogether-when-gen.patch new file mode 100644 index 0000000000..007365ec4e --- /dev/null +++ b/SPECS/rpm/0001-find-lang.sh-Put-a-lang-variants-altogether-when-gen.patch @@ -0,0 +1,78 @@ +From 6f2e2c71136d34fb67b78456859b39bc3ee29ade Mon Sep 17 00:00:00 2001 +From: Kai Zhang +Date: Fri, 24 Apr 2026 21:02:14 +0800 +Subject: [PATCH] find-lang.sh: Put a lang variants altogether when + generate-subpackages + +Locale name is typically of the form: + language[_territory][.codeset][@modifier] + +All three variants are optional. `find-lang.sh --generate-subpackages` +only dealed with _territory variant but not others. When the name had +language@modifier format, find-lang.sh would error out due to +"Illegal char '@'" in the package name. + +Now, put all variants of one language in the same lang package and +extend the tests accordingly. + +Fixes: #4180 + +Signed-off-by: Kai Zhang +--- + scripts/find-lang.sh | 2 +- + tests/data/SPECS/find-lang-test.spec | 2 +- + tests/rpmbuild.at | 5 +++++ + 3 files changed, 7 insertions(+), 2 deletions(-) + +diff --git a/scripts/find-lang.sh b/scripts/find-lang.sh +index eb9991bb552c..4a96f47ccffd 100755 +--- a/scripts/find-lang.sh ++++ b/scripts/find-lang.sh +@@ -301,7 +301,7 @@ echo "" > $MO_NAME + while IFS= read -r line + do + LOCALE=`echo $line|sed 's/%lang(//'|sed 's/).*//'` +- LANG=`echo $LOCALE|sed 's/_.*//'` ++ LANG=`echo $LOCALE|sed 's/[_.@].*//'` + LANGNAME=$LANG + #LANGNAME=`locale -av | grep -m 1 -A 12 "locale: $LOCALE" | grep " language |" | cut "-d|" -f2` + if [ -z "$LANGNAME" ]; then +diff --git a/tests/data/SPECS/find-lang-test.spec b/tests/data/SPECS/find-lang-test.spec +index 04a92d7b14eb..81138cd7d497 100644 +--- a/tests/data/SPECS/find-lang-test.spec ++++ b/tests/data/SPECS/find-lang-test.spec +@@ -16,7 +16,7 @@ BuildArch: noarch + %setup -c -T + + %install +-for f in fi de_DE pl ""; do ++for f in fi de_DE pl be be@latin ""; do + mkdir -p $RPM_BUILD_ROOT/%{_datadir}/man/$f/man1 + echo "This is $f language" | gzip > $RPM_BUILD_ROOT/%{_datadir}/man/$f/man1/%{name}.1.gz + done +diff --git a/tests/rpmbuild.at b/tests/rpmbuild.at +index fb22f3582f9c..989248498465 100644 +--- a/tests/rpmbuild.at ++++ b/tests/rpmbuild.at +@@ -748,6 +748,8 @@ runroot rpm -qp --qf '[%{FILELANGS} %{FILENAMES}\n]' /build/RPMS/noarch/find-lan + ]], + [0], + [ /usr/share/find-lang-test/empty.txt ++be /usr/share/man/be/man1/find-lang-test.1.gz ++be@latin /usr/share/man/be@latin/man1/find-lang-test.1.gz + de /usr/share/man/de_DE/man1/find-lang-test.1.gz + fi /usr/share/man/fi/man1/find-lang-test.1.gz + /usr/share/man/man1/find-lang-test.1.gz +@@ -773,6 +775,9 @@ runroot rpm -qp --qf '%{NVRA}\n[%{FILELANGS} %{FILENAMES}\n]' /build/RPMS/noarch + [find-lang-test-1.0-1.noarch + /usr/share/find-lang-test/empty.txt + /usr/share/man/man1/find-lang-test.1.gz ++find-lang-test-langpack-be-1.0-1.noarch ++be /usr/share/man/be/man1/find-lang-test.1.gz ++be@latin /usr/share/man/be@latin/man1/find-lang-test.1.gz + find-lang-test-langpack-de-1.0-1.noarch + de /usr/share/man/de_DE/man1/find-lang-test.1.gz + find-lang-test-langpack-fi-1.0-1.noarch +-- +2.43.0 + diff --git a/SPECS/rpm/rpm.spec b/SPECS/rpm/rpm.spec index 2ac79e6bd5..46a46708f0 100644 --- a/SPECS/rpm/rpm.spec +++ b/SPECS/rpm/rpm.spec @@ -27,6 +27,8 @@ Source2: rpmsort Source3: rpmconfigcheck Source4: rpmconfigcheck.service +# https://github.com/rpm-software-management/rpm/pull/4192 +Patch0: 0001-find-lang.sh-Put-a-lang-variants-altogether-when-gen.patch # quilt patches start here Patch25: brpcompress.diff Patch26: checkfilesnoinfodir.diff @@ -166,6 +168,7 @@ ln -s rpmpgp_legacy-* rpmpgp_legacy popd rm -rf sqlite +%patch 0 -p1 %patch 25 26 33 60 70 85 102 103 138 150 151 %patch 2000 -p1 rm -f m4/libtool.m4 diff --git a/SPECS/sddm-kcm/sddm-kcm.spec b/SPECS/sddm-kcm/sddm-kcm.spec index 1700171f2d..b3a55ffb43 100644 --- a/SPECS/sddm-kcm/sddm-kcm.spec +++ b/SPECS/sddm-kcm/sddm-kcm.spec @@ -41,9 +41,6 @@ Supplements: (sddm and plasma-workspace) SDDM control module for Plasma. It provides a graphical frontend for the SDDM. %install -a -# todo: fix the name error. -# Avoid illegal package names -rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* # Use langpacks macro to auto-split translations %find_lang %{name} --with-qt --all-name --generate-subpackages diff --git a/SPECS/speech-dispatcher/speech-dispatcher.spec b/SPECS/speech-dispatcher/speech-dispatcher.spec index 93cee6a582..2c55f5c8fb 100644 --- a/SPECS/speech-dispatcher/speech-dispatcher.spec +++ b/SPECS/speech-dispatcher/speech-dispatcher.spec @@ -80,9 +80,6 @@ Python 3 module for speech-dispatcher. %install -a # install -p -m 0644 sound-icons-0.1/* %{buildroot}%{_datadir}/sounds/%{name}/ -# TODO: fix the name error. -# Avoid illegal package names -rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* %find_lang %{name} --generate-subpackages #Remove %{_infodir}/dir file diff --git a/SPECS/system-config-printer/system-config-printer.spec b/SPECS/system-config-printer/system-config-printer.spec index da6ea104e4..d3c03e8fb1 100644 --- a/SPECS/system-config-printer/system-config-printer.spec +++ b/SPECS/system-config-printer/system-config-printer.spec @@ -67,9 +67,6 @@ touch %{buildroot}%{_localstatedir}/run/udev-configure-printer/usb-uris %py_byte_compile %{__python3} %{buildroot}%{_datadir}/%{name} -# TODO: fix the name error. -# Avoid illegal package names -rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* %find_lang %{name} --generate-subpackages %files -f %{name}.lang diff --git a/SPECS/systemsettings/systemsettings.spec b/SPECS/systemsettings/systemsettings.spec index f401ead218..80f63051ab 100644 --- a/SPECS/systemsettings/systemsettings.spec +++ b/SPECS/systemsettings/systemsettings.spec @@ -62,11 +62,6 @@ This package provides modules to control settings of Plasma and other applications by KDE. %install -a -# todo: fix the name error. -# Avoid illegal package names -rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* -rm -rf $RPM_BUILD_ROOT%{_mandir}/*@* -rm -rf $RPM_BUILD_ROOT%{_kf6_htmldir}/*@* # Use langpacks macro to auto-split translations %find_lang %{name} --with-qt --all-name --with-html --generate-subpackages diff --git a/SPECS/timeshift/timeshift.spec b/SPECS/timeshift/timeshift.spec index aa6f84f65c..3209b5f02c 100644 --- a/SPECS/timeshift/timeshift.spec +++ b/SPECS/timeshift/timeshift.spec @@ -10,7 +10,7 @@ Release: %autorelease Summary: System restore utility License: GPL-3.0-only URL: https://github.com/linuxmint/timeshift -#!RemoteAsset +#!RemoteAsset: sha256:7babff88c97da80ca0f6b1384d894a74a52474855ef3e854788b0dd6ad7b4504 Source: %{url}/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz BuildSystem: meson @@ -56,9 +56,6 @@ rm -rf %{buildroot}%{_datadir}/appdata install -d %{buildroot}%{_localstatedir}/log/timeshift install -d %{buildroot}%{_localstatedir}/log/timeshift-btrfs -# TODO: fix the name error. -# Avoid illegal package names -rm -rf %{buildroot}%{_datadir}/locale/*@* %find_lang %{name} --generate-subpackages %fdupes %{buildroot}%{_datadir} @@ -79,4 +76,4 @@ rm -rf %{buildroot}%{_datadir}/locale/*@* %attr(0750,root,root) %dir %{_localstatedir}/log/timeshift-btrfs %changelog -%{?autochangelog} +%autochangelog diff --git a/SPECS/tinysparql/tinysparql.spec b/SPECS/tinysparql/tinysparql.spec index 95ee6d8404..a8a4cf7fd0 100644 --- a/SPECS/tinysparql/tinysparql.spec +++ b/SPECS/tinysparql/tinysparql.spec @@ -84,9 +84,6 @@ This package contains the documentation for %{name}. %endif %install -a -# TODO: fix the name error. -# Avoid illegal package names -rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* %find_lang tinysparql3 --generate-subpackages %check diff --git a/SPECS/udisks2/udisks2.spec b/SPECS/udisks2/udisks2.spec index 706e10d8dd..1fe4f56d76 100644 --- a/SPECS/udisks2/udisks2.spec +++ b/SPECS/udisks2/udisks2.spec @@ -93,9 +93,6 @@ find %{buildroot} -name '*.a' -delete mkdir -p %{buildroot}%{_sysconfdir}/udisks2/modules.conf.d -# todo: fix the name error. -# Avoid illegal package names -rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* %find_lang %{name} --generate-subpackages %post diff --git a/SPECS/usermode/usermode.spec b/SPECS/usermode/usermode.spec index a3abf28ce6..5c6300566b 100644 --- a/SPECS/usermode/usermode.spec +++ b/SPECS/usermode/usermode.spec @@ -11,7 +11,7 @@ Summary: Tools for certain user account management tasks License: GPL-2.0-or-later URL: https://pagure.io/usermode VCS: git:https://pagure.io/usermode -#!RemoteAsset +#!RemoteAsset: sha256:e7f58712b12175965b3a21522052863a061f3f1a888df3ffbe713b434f80254f Source0: https://releases.pagure.org/usermode/usermode-%{version}.tar.xz Source1: config-util BuildSystem: autotools @@ -44,9 +44,6 @@ mkdir -p %{buildroot}/etc/security/console.apps install -p -m 644 %{SOURCE1} %{buildroot}/etc/security/console.apps/config-util %install -a -# todo: fix the name error. -# Avoid illegal package names -rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* %find_lang %{name} --generate-subpackages %files -f %{name}.lang @@ -60,4 +57,4 @@ rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* %config(noreplace) %{_sysconfdir}/security/console.apps/config-util %changelog -%{?autochangelog} +%autochangelog diff --git a/SPECS/vlc/vlc.spec b/SPECS/vlc/vlc.spec index fa0e49d93b..7d0fd45f00 100644 --- a/SPECS/vlc/vlc.spec +++ b/SPECS/vlc/vlc.spec @@ -198,8 +198,6 @@ fi # Drop an internal static archive that is not meant to be shipped. rm -f %{buildroot}%{_libdir}/vlc/libcompat.a -# TODO: Avoid illegal package names -rm -rf %{buildroot}%{_datadir}/locale/*@* %find_lang %{name} --generate-subpackages %check diff --git a/SPECS/volume_key/volume_key.spec b/SPECS/volume_key/volume_key.spec index 5d9179900e..073a0f83b1 100644 --- a/SPECS/volume_key/volume_key.spec +++ b/SPECS/volume_key/volume_key.spec @@ -59,9 +59,6 @@ This package contains Python 3 bindings for libvolume_key. autoreconf -fiv %install -a -# todo: fix the name error. -# Avoid illegal package names -rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* %find_lang %{name} --generate-subpackages # todo: the tests should on the real machine,we skip here. diff --git a/SPECS/vte/vte.spec b/SPECS/vte/vte.spec index a51cb8050a..5f375832a9 100644 --- a/SPECS/vte/vte.spec +++ b/SPECS/vte/vte.spec @@ -18,7 +18,7 @@ Summary: Terminal Emulator Library License: CC-BY-4.0 AND LGPL-3.0-or-later AND GPL-3.0-or-later AND MIT URL: https://wiki.gnome.org/Apps/Terminal/VTE VCS: git:https://gitlab.gnome.org/GNOME/vte.git -#!RemoteAsset +#!RemoteAsset: sha256:6dc6278f6fee30d07d1a03e2ba3335b1ea4e8d2956ceb59d861943115d930a85 Source: https://download.gnome.org/sources/vte/0.82/vte-0.82.3.tar.xz BuildSystem: meson @@ -153,9 +153,6 @@ widgets in Glade. %endif %install -a -# TODO: fix the name error. -# Avoid illegal package names -rm -rf %{buildroot}%{_datadir}/locale/*@* %find_lang vte-%{_apiver} --generate-subpackages %files -f vte-%{_apiver}.lang @@ -212,4 +209,4 @@ rm -rf %{buildroot}%{_datadir}/locale/*@* %endif %changelog -%{?autochangelog} +%autochangelog diff --git a/SPECS/xdg-desktop-portal-kde/xdg-desktop-portal-kde.spec b/SPECS/xdg-desktop-portal-kde/xdg-desktop-portal-kde.spec index 6b87f7908d..0458ab4eae 100644 --- a/SPECS/xdg-desktop-portal-kde/xdg-desktop-portal-kde.spec +++ b/SPECS/xdg-desktop-portal-kde/xdg-desktop-portal-kde.spec @@ -71,10 +71,6 @@ Requires: xdg-desktop-portal A Qt/KF backend implementation for xdg-desktop-portal %install -a -# todo: fix the name error. -# Avoid illegal package names -rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* -rm -rf $RPM_BUILD_ROOT%{_mandir}/*@* # Use langpacks macro to auto-split translations %find_lang %{name} --with-qt --with-man --all-name --generate-subpackages diff --git a/SPECS/xdg-desktop-portal/xdg-desktop-portal.spec b/SPECS/xdg-desktop-portal/xdg-desktop-portal.spec index 3e8b8ddb15..2ed963ef58 100644 --- a/SPECS/xdg-desktop-portal/xdg-desktop-portal.spec +++ b/SPECS/xdg-desktop-portal/xdg-desktop-portal.spec @@ -80,9 +80,6 @@ install -dm 755 %{buildroot}/%{_datadir}/xdg-desktop-portal/portals install -dm 755 %{buildroot}/%{_pkgdocdir} install -pm 644 README.md %{buildroot}/%{_pkgdocdir} -# todo: fix the name error. -# Avoid illegal package names -rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* %find_lang %{name} --generate-subpackages %post diff --git a/SPECS/xdg-user-dirs/xdg-user-dirs.spec b/SPECS/xdg-user-dirs/xdg-user-dirs.spec index 4b5c6ffa47..3f61b20993 100644 --- a/SPECS/xdg-user-dirs/xdg-user-dirs.spec +++ b/SPECS/xdg-user-dirs/xdg-user-dirs.spec @@ -30,8 +30,6 @@ homedirectory based on the defaults configured by the administrator. autoreconf -fiv -I ./m4 %install -a -# Avoid illegal package names -rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* %find_lang %{name} --generate-subpackages %post @@ -56,4 +54,4 @@ rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@* %{_userunitdir}/xdg-user-dirs.service %changelog -%{?autochangelog} +%autochangelog