- fix build with latest kernel headers

OBS-URL: https://build.opensuse.org/package/show/system:install:head/syslinux?expand=0&rev=38
This commit is contained in:
2012-05-08 09:22:42 +00:00
committed by Git OBS Bridge
parent 642a17fa6c
commit 01cecd9ef0
3 changed files with 26 additions and 7 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package syslinux
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,18 +16,20 @@
#
Name: syslinux
ExclusiveArch: %ix86 x86_64
BuildRequires: libpng-devel nasm netpbm python xz
BuildRequires: libpng-devel
BuildRequires: nasm
BuildRequires: netpbm
BuildRequires: python
BuildRequires: xz
Url: http://syslinux.zytor.com/
License: GPLv2+
Group: System/Boot
Requires: mtools
AutoReqProv: on
Summary: Boot Loader for Linux
License: GPL-2.0+
Group: System/Boot
Version: 4.04
Release: 8
Release: 0
Source: %{name}-%{version}.tar.bz2
Source1: isolinux-config
Source2: README.gfxboot
@@ -37,6 +39,7 @@ Patch2: %{name}-%{version}-noinitrd.diff
Patch3: %{name}-%{version}-mboot_bootif.diff
Patch4: %{name}-%{version}-isohybrid-hex-option-parsing.diff
Patch5: %{name}-%{version}-md5pass.diff
Patch6: %{name}-%{version}-umode.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@@ -59,6 +62,7 @@ Authors:
%patch3 -p1
%patch4 -p1
%patch5 -p1
%patch6 -p0
%build
cp %{SOURCE2} .