From 02789e71ee1bcdcd47531af9b50fc03992aea724643bd92512e55976f2ae545b Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Mon, 12 Feb 2024 12:21:27 +0000 Subject: [PATCH 1/3] - Add vhba-udev-rules [boo#1218827] OBS-URL: https://build.opensuse.org/package/show/filesystems/vhba-kmp?expand=0&rev=46 --- vhba-kmp.changes | 5 +++++ vhba-kmp.spec | 16 ++++++++++++++-- 2 files changed, 19 insertions(+), 2 deletions(-) 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 From 000f266674ba0464688dec58475965674fd45b23664b0a0ad351d6533b7745d8 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Mon, 12 Feb 2024 12:33:57 +0000 Subject: [PATCH 2/3] - Update to release 20240202 OBS-URL: https://build.opensuse.org/package/show/filesystems/vhba-kmp?expand=0&rev=47 --- vhba-kmp.changes | 4 +++- vhba-kmp.spec | 2 +- vhba-module-20211218.tar.xz | 3 --- vhba-module-20240202.tar.xz | 3 +++ 4 files changed, 7 insertions(+), 5 deletions(-) delete mode 100644 vhba-module-20211218.tar.xz create mode 100644 vhba-module-20240202.tar.xz diff --git a/vhba-kmp.changes b/vhba-kmp.changes index 8289c50..3fe6f05 100644 --- a/vhba-kmp.changes +++ b/vhba-kmp.changes @@ -1,6 +1,8 @@ ------------------------------------------------------------------- -Mon Feb 12 12:21:09 UTC 2024 - Jan Engelhardt +Mon Feb 12 12:31:01 UTC 2024 - Jan Engelhardt +- Update to release 20240202 + * No user-visible changes - Add vhba-udev-rules [boo#1218827] ------------------------------------------------------------------- diff --git a/vhba-kmp.spec b/vhba-kmp.spec index b97c7fd..fd43bb0 100644 --- a/vhba-kmp.spec +++ b/vhba-kmp.spec @@ -17,7 +17,7 @@ Name: vhba-kmp -Version: 20211218 +Version: 20240202 Release: 0 Summary: Virtual SCSI Host Bus Adapter License: GPL-2.0-or-later diff --git a/vhba-module-20211218.tar.xz b/vhba-module-20211218.tar.xz deleted file mode 100644 index e40d749..0000000 --- a/vhba-module-20211218.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:72c5a8c1c452805e4cef8cafefcecc2d25ce197ae4c67383082802e5adcd77b6 -size 16168 diff --git a/vhba-module-20240202.tar.xz b/vhba-module-20240202.tar.xz new file mode 100644 index 0000000..654794c --- /dev/null +++ b/vhba-module-20240202.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bf5850d4b8f50221ca87d7343a929eda87b191f6f5ae8c614174543b5badde83 +size 16168 From 5f565f690c24e30df20cd0f45a2aaeb6e193ef2d5d47dd88a323ba04ab06c0a0 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Mon, 12 Feb 2024 12:41:16 +0000 Subject: [PATCH 3/3] udev rules already present in cdemu-daemon.spec OBS-URL: https://build.opensuse.org/package/show/filesystems/vhba-kmp?expand=0&rev=48 --- vhba-kmp.changes | 1 - vhba-kmp.spec | 14 +------------- 2 files changed, 1 insertion(+), 14 deletions(-) diff --git a/vhba-kmp.changes b/vhba-kmp.changes index 3fe6f05..e260a1b 100644 --- a/vhba-kmp.changes +++ b/vhba-kmp.changes @@ -3,7 +3,6 @@ Mon Feb 12 12:31:01 UTC 2024 - Jan Engelhardt - Update to release 20240202 * No user-visible changes -- 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 fd43bb0..d76c42f 100644 --- a/vhba-kmp.spec +++ b/vhba-kmp.spec @@ -42,14 +42,6 @@ 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 @@ -85,10 +77,6 @@ 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/ +# udev rules are packaged in cdemu-daemon.spec instead %changelog