From 89dbf8d30cd489f097026a574b93baa96f26fe690633c29cce33c59a2bc805d3 Mon Sep 17 00:00:00 2001 From: R N Date: Mon, 18 Nov 2024 15:21:46 +0000 Subject: [PATCH] - Clean up the .spec OBS-URL: https://build.opensuse.org/package/show/hardware/supergfxctl?expand=0&rev=15 --- supergfxctl.spec | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/supergfxctl.spec b/supergfxctl.spec index 3bc2653..ad6acd8 100644 --- a/supergfxctl.spec +++ b/supergfxctl.spec @@ -46,11 +46,11 @@ Conflicts: bumblebee-status-module-nvidia-optimus-manager Conflicts: suse-prime Conflicts: system76-power +%sysusers_requires + %description supergfxctl is a super graphics mode controller for laptops with hybrid nvidia. -%sysusers_requires - %prep %autosetup -a1 -p1 @@ -79,10 +79,6 @@ install -D -m 0644 %{SOURCE2} %{buildroot}%{_sysusersdir}/%{name}-user.conf %post %service_add_post supergfxd.service -if [ ! -e %{_sysconfdir}/modprobe.d/supergfxd.conf ] -then - systemctl enable supergfxd.service -fi %preun %service_del_preun supergfxd.service