[packages/nvidiabl] wtf you just disable dkms completely!?, added it back. not tested with your "kernel" framework!

Jan Rękorajski baggins at pld-linux.org
Tue Feb 3 12:19:44 CET 2015


If you're adding userspace bcond, you also have to add kernel bcond,
See template spec for how it works, and it worked this way forever,
it's not "my kernel".

On Tue, Feb 3, 2015 at 10:16 AM, glen <glen at pld-linux.org> wrote:
> commit 5f8872fe0e5cf21b91f24ceaff593d920cd588bd
> Author: Elan Ruusamäe <glen at delfi.ee>
> Date:   Tue Feb 3 11:16:46 2015 +0200
>
>     wtf you just disable dkms completely!?, added it back. not tested with your "kernel" framework!
>
>  nvidiabl.spec | 7 ++++++-
>  1 file changed, 6 insertions(+), 1 deletion(-)
> ---
> diff --git a/nvidiabl.spec b/nvidiabl.spec
> index f69953b..eb3f9a2 100644
> --- a/nvidiabl.spec
> +++ b/nvidiabl.spec
> @@ -1,7 +1,12 @@
>  #
>  # Conditional build:
>  %bcond_without verbose         # verbose build (V=1)
> -%bcond_with    dkms            # build dkms package
> +%bcond_without userspace       # don't build userspace programs
> +%bcond_without dkms            # build dkms package
> +
> +%if %{without userspace}
> +%undefine      with_dkms
> +%endif
>
>  # nothing to be placed to debuginfo package
>  %define                _enable_debug_packages  0
> ================================================================
>
> ---- gitweb:
>
> http://git.pld-linux.org/gitweb.cgi/packages/nvidiabl.git/commitdiff/5f8872fe0e5cf21b91f24ceaff593d920cd588bd
>
> _______________________________________________
> pld-cvs-commit mailing list
> pld-cvs-commit at lists.pld-linux.org
> http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit



-- 
Jan Rękorajski | SysAdm | PLD/Linux | http://www.pld-linux.org/
baggins<at>pld-linux.org


More information about the pld-devel-en mailing list