diff --git a/vhba-kmp.changes b/vhba-kmp.changes index 9e42cff..8289c50 100644 --- a/vhba-kmp.changes +++ b/vhba-kmp.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Feb 12 12:21:09 UTC 2024 - Jan Engelhardt + +- Add vhba-udev-rules [boo#1218827] + ------------------------------------------------------------------- Thu Apr 20 08:55:45 UTC 2023 - Jan Engelhardt diff --git a/vhba-kmp.spec b/vhba-kmp.spec index 7665909..b97c7fd 100644 --- a/vhba-kmp.spec +++ b/vhba-kmp.spec @@ -1,7 +1,7 @@ # # spec file for package vhba-kmp # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -42,9 +42,16 @@ a virtual SCSI adapter which can have multiple virtual devices. It is part of the userspace cdemu suite, CD/DVD-ROM device emulator for Linux. +%package -n vhba-udev-rules +Summary: udev rules for vhba-kmp +BuildArch: noarch + +%description -n vhba-udev-rules +udev rule snippets to give VHBA devices to logged-in users as per the +uaccess scheme. + %package KMP Summary: Virtual SCSI Host Bus adapter -Group: System/Kernel %description KMP A Linux kernel module implementing a virtual SCSI Host Bus Adapter to @@ -78,5 +85,10 @@ for flavor in %flavors_to_build; do modules_install popd done +mkdir -p "%buildroot/%_udevrulesdir" +cp -a debian/*.udev "%buildroot/%_udevrulesdir/" + +%files -n vhba-udev-rules +%_udevrulesdir/ %changelog