Hello community,

here is the log from the commit of package suse-prime for openSUSE:Factory 
checked in at 2019-11-20 10:27:45
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/suse-prime (Old)
 and      /work/SRC/openSUSE:Factory/.suse-prime.new.26869 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "suse-prime"

Wed Nov 20 10:27:45 2019 rev:16 rq:749522 version:0.7.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/suse-prime/suse-prime.changes    2019-11-18 
20:12:43.861520414 +0100
+++ /work/SRC/openSUSE:Factory/.suse-prime.new.26869/suse-prime.changes 
2019-11-20 10:27:46.510568714 +0100
@@ -1,0 +2,6 @@
+Tue Nov 19 12:49:23 UTC 2019 - Stefan Dirsch <[email protected]>
+
+- only package suse-prime-bbswitch on openSUSE, since bbswitch
+  kernel module package is not available on sle
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ suse-prime.spec ++++++
--- /var/tmp/diff_new_pack.7VIr1z/_old  2019-11-20 10:27:46.962568804 +0100
+++ /var/tmp/diff_new_pack.7VIr1z/_new  2019-11-20 10:27:46.962568804 +0100
@@ -98,6 +98,7 @@
 rm -f /etc/dracut.conf.d/50-nvidia-default.conf
 %{?regenerate_initrd_post}
 
+%if 0%{?is_opensuse}
 %pre bbswitch
 %service_add_pre prime-select.service
 
@@ -121,6 +122,7 @@
 
 %posttrans bbswitch
 %{?regenerate_initrd_posttrans}
+%endif
 
 %files
 %defattr(-,root,root)
@@ -138,6 +140,7 @@
 /usr/lib/dracut/dracut.conf.d/90-nvidia-dracut-G05.conf
 /usr/lib/udev/rules.d/90-nvidia-udev-pm-G05.rules
 
+%if 0%{?is_opensuse}
 %files bbswitch
 %doc README.md
 %{_sysconfdir}/prime
@@ -150,5 +153,10 @@
 %{_sbindir}/rcprime-select
 %config %{_sysconfdir}/modprobe.d/09-nvidia-modprobe-bbswitch-G04.conf
 %{_unitdir}/prime-select.service
+%else
+%exclude %config %{_sysconfdir}/modprobe.d/09-nvidia-modprobe-bbswitch-G04.conf
+%exclude %{_unitdir}/prime-select.service
+%exclude %{_sbindir}/rcprime-select
+%endif
 
 %changelog


Reply via email to