[febootstrap/f14/master] - Split package into febootstrap (for building) and febootstrap-supermin-helper (for running). No

Richard W.M. Jones rjones at fedoraproject.org
Fri Feb 4 21:04:08 UTC 2011


commit 458f6c9ef3652a068be03ed2d90093b3120387a8
Author: Richard W.M. Jones <rjones at redhat.com>
Date:   Fri Jan 14 18:27:05 2011 +0000

    - Split package into febootstrap (for building) and febootstrap-supermin-helper
      (for running).  Note that febootstrap depends on febootstrap-supermin-helper,
      but you can install febootstrap-supermin-helper on its own.
    
    Cherry picked from Rawhide commit eea95848024bef4afbcd472078fb4e2e91c103eb.

 febootstrap.spec |   32 ++++++++++++++++++++++++++------
 1 files changed, 26 insertions(+), 6 deletions(-)
---
diff --git a/febootstrap.spec b/febootstrap.spec
index 7abc8fb..079248c 100644
--- a/febootstrap.spec
+++ b/febootstrap.spec
@@ -1,7 +1,7 @@
 Summary:     Bootstrapping tool for creating supermin appliances
 Name:        febootstrap
 Version:     3.3
-Release:     1%{?dist}
+Release:     1.1%{?dist}
 License:     GPLv2+
 Group:       Development/Tools
 URL:         http://people.redhat.com/~rjones/febootstrap/
@@ -18,10 +18,7 @@ BuildRequires: ocaml, ocaml-findlib-devel
 
 Requires:    yum >= 3.2
 Requires:    yum-utils
-Requires:    util-linux-ng
-Requires:    cpio
-Requires:    /sbin/mke2fs
-Requires:    /sbin/insmod.static
+Requires:    febootstrap-supermin-helper = %{version}-%{release}
 
 # These are suggestions.  However making them hard requirements
 # pulls in far too much stuff.
@@ -37,6 +34,19 @@ size, which get fully instantiated on-the-fly in a fraction of a
 second when you need to boot one of them.
 
 
+%package supermin-helper
+Summary:     Runtime support for febootstrap
+Group:       Development/Tools
+Requires:    util-linux-ng
+Requires:    cpio
+Requires:    /sbin/mke2fs
+Requires:    /sbin/insmod.static
+
+
+%description supermin-helper
+%{name}-supermin-helper contains the runtime support for %{name}.
+
+
 %prep
 %setup -q
 
@@ -59,12 +69,22 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(-,root,root,-)
 %doc COPYING README
 %{_bindir}/febootstrap
-%{_bindir}/febootstrap-supermin-helper
 %{_mandir}/man8/febootstrap.8*
+
+
+%files supermin-helper
+%defattr(-,root,root,-)
+%doc COPYING
+%{_bindir}/febootstrap-supermin-helper
 %{_mandir}/man8/febootstrap-supermin-helper.8*
 
 
 %changelog
+* Fri Jan 14 2011 Richard Jones <rjones at redhat.com> - 3.3-1.1.fc14
+- Split package into febootstrap (for building) and febootstrap-supermin-helper
+  (for running).  Note that febootstrap depends on febootstrap-supermin-helper,
+  but you can install febootstrap-supermin-helper on its own.
+
 * Sun Dec 19 2010 Richard Jones <rjones at redhat.com> - 3.3-1
 - New upstream version 3.3 (note this is incompatible with 2.x).
 - Backport changes from Rawhide.


More information about the scm-commits mailing list