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
This commit is contained in:
parent
91b4325ed5
commit
c40b8c962b
@ -2,6 +2,7 @@
|
||||
Wed Sep 21 08:32:38 UTC 2022 - Daniel Wagner <daniel.wagner@suse.com>
|
||||
|
||||
- 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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user