From c40b8c962bb404478caf8761a80e08ff4d0d0f2e43c3e2b93887bbe465b0c564 Mon Sep 17 00:00:00 2001 From: Daniel Wagner Date: Wed, 21 Sep 2022 11:43:51 +0000 Subject: [PATCH] Accepting request 1005185 from home:wagi:branches:Base:System - Fix "Add %systemd_requires to spec file (bsc#1186399)" - Mark no binaries rpms as noarch OBS-URL: https://build.opensuse.org/request/show/1005185 OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=128 --- nvme-cli.changes | 1 + nvme-cli.spec | 7 +++++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/nvme-cli.changes b/nvme-cli.changes index 0732111..e9c4f95 100644 --- a/nvme-cli.changes +++ b/nvme-cli.changes @@ -2,6 +2,7 @@ Wed Sep 21 08:32:38 UTC 2022 - Daniel Wagner - Add %systemd_requires to spec file (bsc#1186399) +- Mark no binaries rpms as noarch ------------------------------------------------------------------- Wed Aug 17 19:26:17 UTC 2022 - dmueller@suse.com diff --git a/nvme-cli.spec b/nvme-cli.spec index ea41f80..3cb8561 100644 --- a/nvme-cli.spec +++ b/nvme-cli.spec @@ -41,6 +41,8 @@ BuildRequires: zlib-devel BuildRequires: pkgconfig(bash-completion) BuildRequires: pkgconfig(libudev) +%systemd_requires + %description NVM Express (NVMe) is a direct attached storage interface. The nvme-cli package contains core management tools with minimal @@ -50,6 +52,7 @@ dependencies. Summary: A small script to test the nvme binary for regressions Group: Hardware/Other Requires: nvme-cli +BuildArch: noarch %description -n nvme-cli-regress-script A small shell script to test the nvme binary for regressions. It requires an @@ -61,6 +64,7 @@ Group: System/Shells Requires: %{name} = %{version} Requires: bash-completion Supplements: (nvme-cli and bash-completion) +BuildArch: noarch %description bash-completion Optional dependency offering bash completion for NVM Express user space tools @@ -71,6 +75,7 @@ Group: System/Shells Requires: %{name} = %{version} Requires: zsh Supplements: (nvme-cli and zsh) +BuildArch: noarch %description zsh-completion Optional dependency offering zsh completion for NVM Express user space tools @@ -118,8 +123,6 @@ fi %postun %service_del_postun %{services} -%systemd_requires - %posttrans if [ -f /sys/class/fc/fc_udev_device/nvme_discovery ]; then %{_bindir}/echo add > /sys/class/fc/fc_udev_device/nvme_discovery