]> git.pld-linux.org Git - packages/tpm_emulator.git/commitdiff
- drop non-dist kernel support
authorJan Rękorajski <baggins@pld-linux.org>
Tue, 27 Jan 2015 18:48:14 +0000 (19:48 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Tue, 27 Jan 2015 18:48:14 +0000 (19:48 +0100)
tpm_emulator.spec

index 75b1113730781e3f483dd8633bc083ab27c4780f..33739eaad7c3a38be7be2a5447170b921e4c3a95 100644 (file)
@@ -1,14 +1,9 @@
 #
 # Conditional build:
-%bcond_without dist_kernel     # without distribution kernel
 %bcond_without  kernel         # don't build kernel modules
 %bcond_without userspace       # don't build userspace packages
 %bcond_with    verbose         # verbose kernel module build
 #
-%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 @@ URL:          http://tpm-emulator.berlios.de/
 BuildRequires: cmake >= 2.4
 BuildRequires: gmp-devel
 BuildRequires: rpmbuild(macros) >= 1.678
-%{?with_dist_kernel:%{expand:%kbrs}}
+%{?with_kernel:%{expand:%kbrs}}
 Requires:      %{name}-libs = %{version}-%{rel}
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -107,10 +102,8 @@ Summary:   Kernel module that provides /dev/tpm device\
 Summary(pl.UTF-8):     Moduł jądra udostępniający urządzenie /dev/tpm\
 Release:       %{rel}@%{_kernel_ver_str}\
 Group:         Base/Kernel\
-%if %{with dist_kernel}\
 %requires_releq_kernel\
 Requires(postun):      %releq_kernel\
-%endif\
 \
 %description -n kernel%{_alt_kernel}-char-tpmd\
 Kernel module that provides /dev/tpm device for backward compatibility\
This page took 0.060336 seconds and 4 git commands to generate.