- Add %systemd_requires to spec file (bsc#1186399)

OBS-URL: https://build.opensuse.org/package/show/Base:System/nvme-cli?expand=0&rev=127
This commit is contained in:
Daniel Wagner 2022-09-21 08:39:10 +00:00 committed by Git OBS Bridge
parent 5889ced66d
commit 91b4325ed5
2 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
-------------------------------------------------------------------
Wed Sep 21 08:32:38 UTC 2022 - Daniel Wagner <daniel.wagner@suse.com>
- Add %systemd_require to spec file (bsc#1186399)
- Add %systemd_requires to spec file (bsc#1186399)
-------------------------------------------------------------------
Wed Aug 17 19:26:17 UTC 2022 - dmueller@suse.com

View File

@ -118,6 +118,8 @@ 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
@ -128,8 +130,6 @@ if [ -d %{_datadir}/bash-completion/completions/nvme ]; then
rm -r %{_datadir}/bash-completion/completions/nvme;
fi
%systemd_require
%files
%license LICENSE
%doc README.md