From: Jan Rękorajski Date: Tue, 27 Jan 2015 18:09:06 +0000 (+0100) Subject: - drop non-dist kernel support X-Git-Tag: auto/th/crash-7.0.8-2~2 X-Git-Url: https://git.pld-linux.org/?a=commitdiff_plain;h=e9928611b674fce5a4463fa3b29a5056cced7499;hp=e7b5bc54079b5579204b06a4a84683f133bb3077;p=packages%2Fcrash.git - drop non-dist kernel support --- diff --git a/crash.spec b/crash.spec index 9f3c686..efc0cc6 100644 --- a/crash.spec +++ b/crash.spec @@ -2,15 +2,10 @@ # - libeppic if anything else (but crash extension) wants to use it # # Conditional build: -%bcond_without dist_kernel # allow non-distribution kernel %bcond_without kernel # don't build kernel modules %bcond_without userspace # don't build userspace programs %bcond_with verbose # verbose kernel module build (V=1) -%if %{without kernel} -%undefine with_dist_kernel -%endif - # The goal here is to have main, userspace, package built once with # simple release number, and only rebuild kernel packages with kernel # version as part of release number, without the need to bump release @@ -56,7 +51,7 @@ Source1: eppic.tar.xz # Source1-md5: a9f80ad71de9d6f5b77534a7ebdbed8e URL: http://people.redhat.com/anderson/ BuildRequires: rpmbuild(macros) >= 1.678 -%{?with_dist_kernel:%{expand:%kbrs}} +%{?with_kernel:%{expand:%kbrs}} %if %{with userspace} BuildRequires: ncurses-devel BuildRequires: readline-devel @@ -97,10 +92,8 @@ Summary(pl.UTF-8): Sterownik pamięci dla sesji crash na żywym systemie\ Release: %{rel}@%{_kernel_ver_str}\ Group: Base/Kernel\ Requires(post,postun): /sbin/depmod\ -%if %{with dist_kernel}\ %requires_releq_kernel\ Requires(postun): %releq_kernel\ -%endif\ \ %description -n kernel%{_alt_kernel}-char-crash\ This package contains /dev/crash memory driver for live system crash\