[supermin] New upstream version 5.1.0.

Richard W.M. Jones rjones at fedoraproject.org
Wed Feb 26 17:15:22 UTC 2014


commit db0afa46094db5e366b0e874d9f45888f0d1f1f8
Author: Richard W.M. Jones <rjones at redhat.com>
Date:   Wed Feb 26 17:14:59 2014 +0000

    New upstream version 5.1.0.
    
    - Note this is effectively a rewrite, and is not completely compatible.
    - There is no separate 'supermin-helper' subpackage any more.
    - Requires rpm instead of yum.

 sources       |    2 +-
 supermin.spec |   60 ++++++++++++++++++++++----------------------------------
 2 files changed, 25 insertions(+), 37 deletions(-)
---
diff --git a/sources b/sources
index 6b90df2..41a4adb 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-b8581450b92fd42d5fd26961bc21d2bc  supermin-4.1.6.tar.gz
+16033ada033af38bc9312d57906c7769  supermin-5.1.0.tar.gz
diff --git a/supermin.spec b/supermin.spec
index 1bc8b52..6757626 100644
--- a/supermin.spec
+++ b/supermin.spec
@@ -1,7 +1,7 @@
 Summary:       Tool for creating supermin appliances
 Name:          supermin
-Version:       4.1.6
-Release:       2%{?dist}
+Version:       5.1.0
+Release:       1%{?dist}
 License:       GPLv2+
 
 %if 0%{?rhel} >= 7
@@ -12,45 +12,33 @@ URL:           http://people.redhat.com/~rjones/supermin/
 Source0:       http://libguestfs.org/download/supermin/%{name}-%{version}.tar.gz
 
 BuildRequires: /usr/bin/pod2man
-BuildRequires: yum >= 3.2
+BuildRequires: rpm
 BuildRequires: /usr/sbin/mke2fs
 BuildRequires: e2fsprogs-devel
 BuildRequires: glibc-static, zlib-static
 BuildRequires: ocaml, ocaml-findlib-devel
 BuildRequires: /usr/bin/execstack
 
-Requires:      yum >= 3.2
+Requires:      rpm
 Requires:      yum-utils
-Requires:      supermin-helper%{?_isa} = %{version}-%{release}
-
-# https://fedoraproject.org/wiki/Packaging:No_Bundled_Libraries#Packages_granted_exceptions
-Provides:      bundled(gnulib)
-
-# NB: Does NOT Provides, because this is not a compatible replacement.
-Obsoletes:     febootstrap < 3.21-3
-
-
-%description
-Supermin is a tool for building supermin appliances.  These are tiny
-appliances (similar to virtual machines), usually around 100KB in
-size, which get fully instantiated on-the-fly in a fraction of a
-second when you need to boot one of them.
-
-
-%package helper
-Summary:       Runtime support for supermin
 Requires:      util-linux-ng
 Requires:      cpio
 Requires:      /usr/sbin/mke2fs
 # RHBZ#771310
 Requires:      e2fsprogs-libs >= 1.42
 
-# NB: Does NOT Provides, because this is not a compatible replacement.
-Obsoletes:     febootstrap-supermin-helper < 3.21-3
+# supermin-helper subpackage is no longer separate (since Fedora 21).
+# A single binary (supermin) provides both features.
+# Remove this in Fedora 23.
+Provides:      supermin-helper = %{version}-%{release}
+Obsoletes:     supermin-helper < 4.1.6-3
 
 
-%description helper
-%{name}-helper contains the runtime support for %{name}.
+%description
+Supermin is a tool for building supermin appliances.  These are tiny
+appliances (similar to virtual machines), usually around 100KB in
+size, which get fully instantiated on-the-fly in a fraction of a
+second when you need to boot one of them.
 
 
 %prep
@@ -65,12 +53,12 @@ make
 %install
 make DESTDIR=$RPM_BUILD_ROOT install
 
-# supermin-helper is marked as requiring an executable stack.  This
-# happens because we use objcopy to create one of the component object
-# files from a data file.  The program does not in fact require an
+# supermin is marked as requiring an executable stack.  This happens
+# because we use objcopy to create one of the component object files
+# from a data file.  The program does not in fact require an
 # executable stack.  The easiest way to fix this is to clear the flag
 # here.
-execstack -c $RPM_BUILD_ROOT%{_bindir}/supermin-helper
+execstack -c $RPM_BUILD_ROOT%{_bindir}/supermin
 
 
 %check
@@ -83,13 +71,13 @@ make check
 %{_mandir}/man1/supermin.1*
 
 
-%files helper
-%doc COPYING
-%{_bindir}/supermin-helper
-%{_mandir}/man1/supermin-helper.1*
-
-
 %changelog
+* Wed Feb 26 2014 Richard W.M. Jones <rjones at redhat.com> - 5.1.0-1
+- New upstream version 5.1.0.
+- Note this is effectively a rewrite, and is not completely compatible.
+- There is no separate 'supermin-helper' subpackage any more.
+- Requires rpm instead of yum.
+
 * Mon Dec 23 2013 Richard W.M. Jones <rjones at redhat.com> - 4.1.6-2
 - New upstream version 4.1.6.
 - Should fix all autotools brokenness.


More information about the scm-commits mailing list