%define bccdir %{_libdir}/bcc %define _empty_manifest_terminate_build 0 Summary: A real mode 80x86 assembler and linker Name: dev86 Version: 0.16.21 Release: 6 License: GPLv2 Group: Development/Other Url: http://v3.sk/~lkundrak/dev86/ Source0: http://v3.sk/~lkundrak/dev86/Dev86src-%{version}.tar.gz Source100: %{name}.rpmlintrc Patch0: dev86-noelks.patch Patch1: dev86-64bit.patch Patch2: dev86-nostrip.patch Patch4: dev86-long.patch Patch5: dev86-0.16.21-clang.patch ExclusiveArch: %{ix86} ppc x86_64 znver1 %{arm} Provides: bin86 %description The dev86 package provides an assembler and linker for real mode 80x86 instructions. You'll need to have this package installed in order to build programs that run in real mode, including LILO and the kernel's bootstrapping code, from their sources. You should install dev86 if you intend to build programs that run in real mode from their source code. %package devel Summary: A development files for dev86 Group: Development/Other Requires: %{name} = %{version}-%{release} %description devel The dev86-devel package provides C headers need to use bcc, the C compiler for real mode x86. You should install dev86 if you intend to build programs that run in real mode from their source code. Note that you don't need dev86-devel package in order to build a kernel. %prep %setup -q %patch0 -p1 -b .noelks %if "%_lib" == "lib64" %patch1 -p1 -b .64bit %endif %patch2 -p1 -b .nostrip %patch4 -p1 -b .long %patch5 -p1 -b .clang %build # the main makefile doesn't allow parallel build make <