Modify spec file for livemedia-creator

This commit is contained in:
Brian C. Lane 2011-12-16 15:48:02 -08:00
parent 7149adee25
commit d3a9e77315
2 changed files with 14 additions and 3 deletions

View File

@ -1,7 +1,7 @@
%define debug_package %{nil} %define debug_package %{nil}
Name: lorax Name: lorax
Version: 17.0 Version: 17.1
Release: 1%{?dist} Release: 1%{?dist}
Summary: Tool for creating the anaconda install images Summary: Tool for creating the anaconda install images
@ -47,6 +47,10 @@ Requires: kernel-bootwrapper
%description %description
Lorax is a tool for creating the anaconda install images. Lorax is a tool for creating the anaconda install images.
It also includes livemedia-creator which is used to create bootable livemedia,
including live isos and disk images. It can use libvirtd for the install, or
Anaconda's image install feature.
%prep %prep
%setup -q %setup -q
@ -58,11 +62,12 @@ make DESTDIR=$RPM_BUILD_ROOT install
%files %files
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc COPYING AUTHORS %doc COPYING AUTHORS README.livemedia-creator
%{python_sitelib}/pylorax %{python_sitelib}/pylorax
%{python_sitelib}/*.egg-info %{python_sitelib}/*.egg-info
%{_sbindir}/lorax %{_sbindir}/lorax
%{_sbindir}/mkefiboot %{_sbindir}/mkefiboot
%{_sbindir}/livemedia-creator
%dir %{_sysconfdir}/lorax %dir %{_sysconfdir}/lorax
%config(noreplace) %{_sysconfdir}/lorax/lorax.conf %config(noreplace) %{_sysconfdir}/lorax/lorax.conf
%dir %{_datadir}/lorax %dir %{_datadir}/lorax
@ -70,6 +75,11 @@ make DESTDIR=$RPM_BUILD_ROOT install
%changelog %changelog
* Fri Dec 16 2011 Brian C. Lane <bcl@redhat.com> 17.1-1
- Add livemedia-creator and sub-packages with proper deps for virt and non-virt
operation.
- Adjust a couple lorax treebuilder classes to make them callable
* Mon Oct 21 2011 Will Woods <wwoods@redhat.com> 17.0-1 * Mon Oct 21 2011 Will Woods <wwoods@redhat.com> 17.0-1
- Merges the 'treebuilder' branch of lorax - Merges the 'treebuilder' branch of lorax
- images are split into two parts again (initrd.img, LiveOS/squashfs.img) - images are split into two parts again (initrd.img, LiveOS/squashfs.img)

View File

@ -16,7 +16,8 @@ for root, dnames, fnames in os.walk("share"):
[os.path.join(root, fname)])) [os.path.join(root, fname)]))
# executable # executable
data_files.append(("/usr/sbin", ["src/sbin/lorax", "src/sbin/mkefiboot"])) data_files.append(("/usr/sbin", ["src/sbin/lorax", "src/sbin/mkefiboot",
"src/sbin/livemedia-creator"]))
# get the version # get the version
sys.path.insert(0, "src") sys.path.insert(0, "src")