# Note that there is a comment in the %files section that tells you where # each of the files came from. Update it if you change them. %define _binaries_in_noarch_packages_terminate_build 0 %define loaders_root /var/lib/cobbler/loaders Summary: Bootloaders to make cobbler buildiso work Name: cobbler-loaders License: GPLv2+ AutoReq: no Version: 1.0.3 Release: 2%{?dist} Url: http://fedorahosted.org/cobbler Source0: cobbler-loaders-%{version}.tar.gz Requires: cobbler2 Requires: syslinux > 4.00 Provides: cobbler-loaders = %{version}-%{release} Obsoletes: cobbler-loaders < %{version}-%{release} BuildArch: noarch %description Cobbler-loaders is an add-on package to Cobble that gives Cobbler the various bootloader files it needs to build a boot iso file. Unless you are providing your own loader files this package is necessary for 'cobbler buildiso' to work. %prep %setup -q -c cobbler-loaders-%{version} %build %install echo "pre-install" mkdir -p $RPM_BUILD_ROOT%{loaders_root} install -m644 * $RPM_BUILD_ROOT%{loaders_root}/ ln -s /usr/share/syslinux/menu.c32 $RPM_BUILD_ROOT%{loaders_root}/menu.c32 ln -s /usr/share/syslinux/pxelinux.0 $RPM_BUILD_ROOT%{loaders_root}/pxelinux.0 echo "post-install" %post echo "post" %clean %files %dir %{loaders_root} %{loaders_root}/* # As of cobbler-loaders-1.0.2-2.1 the files in this rpm came from # the following Red Hat rpms: # elilo-ia64.efi: elilo-3.6-4.src.rpm # yaboot: yaboot-1.3.14-41.el6.src.rpm %changelog * Fri Feb 09 2018 Michael Mraka 1.0.3-2 - removed %%%%defattr from specfile - remove install/clean section initial cleanup - removed Group from specfile - removed BuildRoot from specfiles * Thu Sep 04 2014 Stephen Herr 1.0.3-1 - 1138451 - add aarch64 provisioning support - fixed tito build warning * Tue Sep 17 2013 Michael Mraka 1.0.2-2 - Adding source information to cobbler-loaders * Tue Apr 30 2013 Stephen Herr 1.0.2-1 - 506485 - Pull cobbler-loader files from Red Hat signed rpms - replace legacy name of Tagger with new one * Fri Apr 12 2013 Stephen Herr 1.0.1-2 - 506485 - settings to make builds happen correctly * Thu Apr 11 2013 Stephen Herr 1.0.1-1 - Bootloaders for 'cobbler buildiso'