Fix kernel-devel package for single flavor build

This commit is contained in:
Marek Marczykowski-Górecki 2015-06-22 04:07:57 +02:00
parent dfdf1250eb
commit 4a01763f82

View File

@ -1,15 +1,13 @@
# default to pvops build
%{!?build_flavor:%define build_flavor pvops}
%if 0%{?qubes_builder} %if 0%{?qubes_builder}
%define _sourcedir %(pwd) %define _sourcedir %(pwd)
%endif %endif
#%define _unpackaged_files_terminate_build 0 #%define _unpackaged_files_terminate_build 0
%define variant %{build_flavor}.qubes %define variant pvops.qubes
%define plainrel %(cat rel-%{build_flavor}) %define plainrel %(cat rel)
%define rel %{plainrel}.%{variant} %define rel %{plainrel}.%{variant}
%define version %(cat version-%{build_flavor}) %define version %(cat version)
Name: kernel-devel Name: kernel-devel
Version: %{version} Version: %{version}
@ -23,7 +21,7 @@ Url: http://www.kernel.org/
%description %description
This package contains files necessary for building kernel modules (and This package contains files necessary for building kernel modules (and
kernel module packages) against the %build_flavor flavor of the kernel. kernel module packages) against the pvops flavor of the kernel.
%prep %prep
echo "Dummy spec, do not try to build, use kernel.spec instead" echo "Dummy spec, do not try to build, use kernel.spec instead"