- fixed build against openSUSE:Factory by defining %_builddir
if needed (boo#1236746) OBS-URL: https://build.opensuse.org/package/show/X11:Drivers:Video:Redesign/nvidia-open-driver-G06-signed?expand=0&rev=185
This commit is contained in:
parent
387ff87400
commit
16bbe3d46f
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Feb 3 14:27:28 UTC 2025 - Stefan Dirsch <sndirsch@suse.com>
|
||||||
|
|
||||||
|
- fixed build against openSUSE:Factory by defining %_builddir
|
||||||
|
if needed (boo#1236746)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Feb 3 13:42:45 UTC 2025 - Stefan Dirsch <sndirsch@suse.com>
|
Mon Feb 3 13:42:45 UTC 2025 - Stefan Dirsch <sndirsch@suse.com>
|
||||||
|
|
||||||
|
@ -102,6 +102,10 @@ ExclusiveArch: x86_64 aarch64
|
|||||||
%if 0%{!?kmp_template_name:1}
|
%if 0%{!?kmp_template_name:1}
|
||||||
%define kmp_template_name /usr/lib/rpm/kernel-module-subpackage
|
%define kmp_template_name /usr/lib/rpm/kernel-module-subpackage
|
||||||
%endif
|
%endif
|
||||||
|
%if 0%{!?_builddir:1}
|
||||||
|
%define _builddir /home/abuild/rpmbuild/BUILD
|
||||||
|
%endif
|
||||||
|
|
||||||
%(cat %kmp_template_name > %_builddir/nvidia-kmp-template)
|
%(cat %kmp_template_name > %_builddir/nvidia-kmp-template)
|
||||||
%(echo "%triggerin -p /bin/bash -n %%{-n*}-kmp-%1 -- nvidia-common-G06 = %{version}" >> %_builddir/nvidia-kmp-template)
|
%(echo "%triggerin -p /bin/bash -n %%{-n*}-kmp-%1 -- nvidia-common-G06 = %{version}" >> %_builddir/nvidia-kmp-template)
|
||||||
%(cat %_sourcedir/kmp-trigger.sh >> %_builddir/nvidia-kmp-template)
|
%(cat %_sourcedir/kmp-trigger.sh >> %_builddir/nvidia-kmp-template)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user