Undo packaging changes that break live image composes (#1086446)

* Tue Apr 15 2014 Kevin Kofler <Kevin@tigcc.ticalc.org> - 6.02-2
- Undo packaging changes that break live image composes (#1086446)
This commit is contained in:
Kevin Kofler 2014-04-15 03:02:11 +02:00
parent 22864b1461
commit 1bf8f6f5bf

View File

@ -2,7 +2,7 @@ Summary: Simple kernel loader which boots from a FAT filesystem
Name: syslinux Name: syslinux
Version: 6.02 Version: 6.02
%define tarball_version 6.02 %define tarball_version 6.02
Release: 1%{?dist} Release: 2%{?dist}
License: GPLv2+ License: GPLv2+
Group: Applications/System Group: Applications/System
URL: http://syslinux.zytor.com/wiki/index.php/The_Syslinux_Project URL: http://syslinux.zytor.com/wiki/index.php/The_Syslinux_Project
@ -15,7 +15,8 @@ Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: nasm >= 0.98.38-1, perl, netpbm-progs, git BuildRequires: nasm >= 0.98.38-1, perl, netpbm-progs, git
BuildRequires: /usr/include/gnu/stubs-32.h BuildRequires: /usr/include/gnu/stubs-32.h
BuildRequires: libuuid-devel BuildRequires: libuuid-devel
Requires: syslinux-nonlinux = %{version}-%{release} Obsoletes: %{name}-nonlinux < %{version}-%{release}
Provides: %{name}-nonlinux = %{version}-%{release}
%ifarch %{ix86} %ifarch %{ix86}
Requires: mtools, libc.so.6 Requires: mtools, libc.so.6
BuildRequires: mingw32-gcc BuildRequires: mingw32-gcc
@ -53,7 +54,8 @@ Headers and libraries for syslinux development.
Summary: The EXTLINUX bootloader, for booting the local system. Summary: The EXTLINUX bootloader, for booting the local system.
Group: System/Boot Group: System/Boot
Requires: syslinux Requires: syslinux
Requires: syslinux-extlinux-nonlinux = %{version}-%{release} Obsoletes: %{name}-extlinux-nonlinux < %{version}-%{release}
Provides: %{name}-extlinux-nonlinux = %{version}-%{release}
%description extlinux %description extlinux
The EXTLINUX bootloader, for booting the local system, as well as all The EXTLINUX bootloader, for booting the local system, as well as all
@ -64,34 +66,14 @@ Summary: SYSLINUX modules in /tftpboot, available for network booting
Group: Applications/Internet Group: Applications/Internet
Requires: syslinux Requires: syslinux
%ifarch x86_64 %ifarch x86_64
Requires: syslinux-tftpboot(x86-32) = %{version}-%{release} # self-obsoletes to get rid of i686 multilib
Obsoletes: %{name}-tftpboot = 6.02-1.fc21
%endif %endif
%description tftpboot %description tftpboot
All the SYSLINUX/PXELINUX modules directly available for network All the SYSLINUX/PXELINUX modules directly available for network
booting in the /tftpboot directory. booting in the /tftpboot directory.
%ifarch %{ix86}
%package extlinux-nonlinux
Summary: The parts of the EXTLINUX bootloader which aren't run from linux.
Group: System/Boot
Requires: syslinux
%description extlinux-nonlinux
All the EXTLINUX binaries that run from the firmware rather than
from a linux host.
%package nonlinux
Summary: SYSLINUX modules which aren't run from linux.
Group: System/Boot
Requires: syslinux
%description nonlinux
All the SYSLINUX binaries that run from the firmware rather than from a
linux host. It also includes a tool, MEMDISK, which loads legacy operating
systems from media.
%endif
%ifarch %{x86_64} %ifarch %{x86_64}
%package efi64 %package efi64
Summary: SYSLINUX binaries and modules for 64-bit UEFI systems Summary: SYSLINUX binaries and modules for 64-bit UEFI systems
@ -166,6 +148,12 @@ rm -rf %{buildroot}
%dir %{_datadir}/syslinux/dosutil %dir %{_datadir}/syslinux/dosutil
%{_datadir}/syslinux/dosutil/* %{_datadir}/syslinux/dosutil/*
%{_datadir}/syslinux/diag/* %{_datadir}/syslinux/diag/*
%{_datadir}/syslinux/*.com
%{_datadir}/syslinux/*.exe
%{_datadir}/syslinux/*.c32
%{_datadir}/syslinux/*.bin
%{_datadir}/syslinux/*.0
%{_datadir}/syslinux/memdisk
%ifarch %{ix86} %ifarch %{ix86}
%{_datadir}/syslinux/syslinux.exe %{_datadir}/syslinux/syslinux.exe
%else %else
@ -195,32 +183,10 @@ rm -rf %{buildroot}
%files extlinux %files extlinux
%{_sbindir}/extlinux %{_sbindir}/extlinux
%config /etc/extlinux.conf %config /etc/extlinux.conf
%files tftpboot
%ifarch %{ix86}
/tftpboot
%files nonlinux
%{_datadir}/syslinux/*.com
%{_datadir}/syslinux/*.exe
%{_datadir}/syslinux/*.c32
%{_datadir}/syslinux/*.bin
%{_datadir}/syslinux/*.0
%{_datadir}/syslinux/memdisk
%files extlinux-nonlinux
/boot/extlinux /boot/extlinux
%else %files tftpboot
%exclude %{_datadir}/syslinux/memdisk /tftpboot
%exclude %{_datadir}/syslinux/*.com
%exclude %{_datadir}/syslinux/*.exe
%exclude %{_datadir}/syslinux/*.c32
%exclude %{_datadir}/syslinux/*.bin
%exclude %{_datadir}/syslinux/*.0
%exclude /boot/extlinux
%exclude /tftpboot
%endif
%ifarch %{x86_64} %ifarch %{x86_64}
%files efi64 %files efi64
@ -240,6 +206,9 @@ elif [ -f /boot/extlinux.conf ]; then \
fi fi
%changelog %changelog
* Tue Apr 15 2014 Kevin Kofler <Kevin@tigcc.ticalc.org> - 6.02-2
- Undo packaging changes that break live image composes (#1086446)
* Tue Apr 08 2014 Peter Jones <pjones@redhat.com> - 6.02-1 * Tue Apr 08 2014 Peter Jones <pjones@redhat.com> - 6.02-1
- Update this to 6.02 - Update this to 6.02