From: Mr NeilBrown Date: Mon, 12 Dec 2022 04:25:31 +0000 (+1100) Subject: LU-16382 spec: Don't include Group: tags. X-Git-Tag: 2.15.55~156 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=941d59e7b9f116d69be382f940c07e5b1682cd7f;p=fs%2Flustre-release.git LU-16382 spec: Don't include Group: tags. Fedora Project has deprecated group tags: https://fedoraproject.org/wiki/RPMGroups https://docs.fedoraproject.org/en-US/packaging-guidelines/#_tags_and_sections The groups tags currently used are not recognised by SUSE. So remove all the Group: tags - except one. The %kernel_module_package macro for SUSE requires that a group be given. Test-Parameters: trivial Signed-off-by: Mr NeilBrown Change-Id: I6b7222200ea1a02319a703d64542dfb9780c048a Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/49364 Tested-by: jenkins Tested-by: Maloo Reviewed-by: jsimmons Reviewed-by: Jian Yu Reviewed-by: Oleg Drokin --- diff --git a/lustre-dkms.spec.in b/lustre-dkms.spec.in index cbbec62..9853707 100644 --- a/lustre-dkms.spec.in +++ b/lustre-dkms.spec.in @@ -50,7 +50,6 @@ Version: @VERSION@ Release: %{buildid}%{?dist} Summary: Kernel module(s) (dkms) -Group: System Environment/Kernel License: GPL-2.0-only URL: http://lustre.opensfs.org/ Source0: @PACKAGE@-%{version}.tar.gz diff --git a/lustre.spec.in b/lustre.spec.in index 3ab3ab2..77a36e5 100644 --- a/lustre.spec.in +++ b/lustre.spec.in @@ -187,7 +187,10 @@ Name: %{lustre_name} Version: %{version} Release: 1%{?dist} License: GPL-2.0-only AND LGPL-2.1-or-later -Group: System Environment/Kernel +%if 0%{?suse_version} >= 1310 +# SUSE needs Group for the kernel_module_package macro +Group: System/Kernel +%endif Source: lustre-%{version}.tar.gz Source1: kmp-lustre.preamble Source2: kmp-lustre.files @@ -301,7 +304,6 @@ Provides: lustre-osd-mount = %{version} Provides: %{name}-osd-mount = %{version} Obsoletes: %{name}-osd-mount < %{version} Obsoletes: lustre-osd-mount < %{version} -Group: System Environment/Kernel %description osd-ldiskfs-mount LDISKFS hooks for mount/mkfs into a dynamic library. @@ -323,7 +325,6 @@ Obsoletes: lustre-osd-mount < %{version} # Tests also require zpool from zfs package: Requires: zfs Requires: %{requires_kmod_osd_zfs_name} -Group: System Environment/Kernel %description osd-zfs-mount ZFS hooks for mount/mkfs into a dynamic library. @@ -338,7 +339,6 @@ ZFS hooks for mount/mkfs into a dynamic library. %if %{with servers} %package resource-agents Summary: HA Resuable Cluster Resource Scripts for Lustre -Group: System Environment/Base Requires: %{name} Requires: resource-agents @@ -349,7 +349,6 @@ environment for both Pacemaker and rgmanager. %package devel Summary: Lustre include headers -Group: Development/Kernel Provides: lustre-devel = %{version} Requires: %{lustre_name} = %{version} %if %{with lustre_modules} @@ -365,7 +364,6 @@ applications against the Lustre / LNet utilities libraries. %if %{with lustre_tests} %package tests Summary: Lustre testing framework -Group: System Environment/Kernel Provides: %{name}-tests = %{version} %if %{with lustre_iokit} Requires: %{name} = %{version}, lustre-iokit @@ -411,7 +409,6 @@ to be used by the Lustre testing framework. %if %{with lustre_iokit} %package -n lustre-iokit Summary: The Lustre IO-Kit is a collection of benchmark tools for a cluster with the Lustre file system. -Group: Applications/System Requires: python3, sg3_utils %description -n lustre-iokit