SHA256
1
0
forked from pool/supermin

- update to 5.2.0:

* rpm: extend the Multiple_matches exception
  * Use external command mv to rename old output directory (RHBZ#1670191). 
  * rpm: do not unpack parameters 
  * rpm: fix version comparison 
  * rpm: provide a dummy supermin_rpm_get_arch implementation
  * ext2: Build symbolic links correctly (RHBZ#1770304).
  *  Update gnulib to latest.
- switch to release tarball, use keyring for gpg validation
- run tests

OBS-URL: https://build.opensuse.org/package/show/Virtualization/supermin?expand=0&rev=47
This commit is contained in:
Dirk Mueller 2020-10-23 18:50:48 +00:00 committed by Git OBS Bridge
parent 4143f17278
commit 10a55fdb09
7 changed files with 80 additions and 49 deletions

View File

@ -1,14 +0,0 @@
<services>
<service name="tar_scm" mode="disabled">
<param name="url">https://github.com/libguestfs/supermin.git</param>
<param name="scm">git</param>
<param name="versionformat">5.1.20</param>
<param name="revision">v5.1.20</param>
<param name="filename">supermin</param>
</service>
<service name="recompress" mode="disabled">
<param name="file">*.tar</param>
<param name="compression">xz</param>
</service>
<service name="set_version" mode="disabled"/>
</services>

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d71d38544923c0f88ab45385c4b6ad9a9ae5aa3bc3d9ca623877521d7a598b7a
size 362080

3
supermin-5.2.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:fac7e128198b9b05afca99041fa9d5256cc80c1e3cd97eb3130a794b185cf107
size 552540

17
supermin-5.2.0.tar.gz.sig Normal file
View File

@ -0,0 +1,17 @@
-----BEGIN PGP SIGNATURE-----
iQJFBAABCAAvFiEE93dPsa0HSn6Mh2fqkXOPc+G3aKAFAl5nbmMRHHJpY2hAYW5u
ZXhpYS5vcmcACgkQkXOPc+G3aKAXIw/8D+GUgBRpbiV/+mqYIhkNdtyEfqKEiqKl
scZVCiRxlwElyjYs6azmNrLMArqjwjJuwalzXp7NbYe06ddFaEgvy/0i124cPUdk
Q8Z1aQ6ktLNSJgoQCpCOaTRiEDF/Zsy3itqXXk8n+XPfaGs1GEieEaxUcXQP6X9h
huLqIDC6zwhyUK11u4cagmxGuSyuUIEkFVNCbSuDGxmuIf/qUtj5o/LQG4aE1SRw
iQAk3mGs0ipa1nfpBAdTnted/KscPLbOgzBU3Dg02QeeUZKG67pm/Fl/MMaRB4HM
rhbko0M/jSkn8zB6ggF0U3kcy16EVc6ANMvXvuD5MC4op5iIretj2Y2tcbYpfT4f
aOpfquq/scXvVugoK77CzxCBLKWkTglPTPGXT1T4i0dh4t8jl4wvqi1IykriKNAc
FIukM3ZHU460M78oWr0pWtr1qyuXeKE4IjV6PiUh2wr2YEmiy1d4Rf7M9hKV4ACs
Dm1ONnrMcAN0W6brkfr8Vo/3ud3gXlJjEY7HRk9GzPs3lZk6d+MtDxe25qLQmM3Y
+KbVsi937gUi4lB27GfZTBxEhqw6OQZegQW/DD6kB6UARVrG/n4TPQe25KgIkZ0w
iTj2qs3MQfx+zAGwFO7ihFLd8kGmEMryn+wldPKbK2Li5m5oMEByQVi+jhIt+cSr
jj8ls0NuDHU=
=LLM6
-----END PGP SIGNATURE-----

View File

@ -1,3 +1,17 @@
-------------------------------------------------------------------
Fri Oct 23 18:45:45 UTC 2020 - Dirk Mueller <dmueller@suse.com>
- update to 5.2.0:
* rpm: extend the Multiple_matches exception
* Use external command mv to rename old output directory (RHBZ#1670191).
* rpm: do not unpack parameters
* rpm: fix version comparison
* rpm: provide a dummy supermin_rpm_get_arch implementation
* ext2: Build symbolic links correctly (RHBZ#1770304).
* Update gnulib to latest.
- switch to release tarball, use keyring for gpg validation
- run tests
-------------------------------------------------------------------
Fri Nov 1 12:34:56 UTC 2019 - ohering@suse.de

BIN
supermin.keyring Normal file

Binary file not shown.

View File

@ -1,7 +1,7 @@
#
# spec file for package supermin
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -17,43 +17,50 @@
Name: supermin
Version: 5.1.20
Version: 5.2.0
Release: 0
%{?ocaml_preserve_bytecode}
Url: http://libguestfs.org/
Summary: Bootstrapping tool for creating supermin appliances
License: GPL-3.0-or-later
Group: System/Filesystems
Provides: febootstrap
URL: https://libguestfs.org/
Source0: https://download.libguestfs.org/supermin/5.2-stable/supermin-5.2.0.tar.gz
Source1: https://download.libguestfs.org/supermin/5.2-stable/supermin-5.2.0.tar.gz.sig
Source9: supermin.keyring
# Pending upstream review
Patch0: suse_release.patch
BuildRequires: augeas
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: distribution-release
BuildRequires: e2fsprogs
BuildRequires: glibc-devel-static
BuildRequires: gzip
BuildRequires: hivex
BuildRequires: kernel-default
BuildRequires: ncurses-devel
BuildRequires: ocaml
BuildRequires: ocaml-findlib
BuildRequires: ocaml-rpm-macros >= 4.02.1
BuildRequires: pkgconfig
BuildRequires: xz
BuildRequires: xz-devel
BuildRequires: zlib-devel
BuildRequires: zypper
BuildRequires: pkgconfig(com_err)
BuildRequires: pkgconfig(ext2fs)
BuildRequires: pkgconfig(rpm)
Requires: augeas
Requires: distribution-release
Requires: sysconfig-netconfig
Requires: tar
Requires: xmlstarlet
Requires: zypper
Source0: supermin-%{version}.tar.xz
# Pending upstream review
Patch0: suse_release.patch
Provides: febootstrap
%{?ocaml_preserve_bytecode}
%if "%{?_ignore_exclusive_arch}" == ""
ExclusiveArch: x86_64 ppc64 ppc64le s390x aarch64
%endif
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: e2fsprogs
BuildRequires: glibc-devel-static
BuildRequires: gzip
BuildRequires: ncurses-devel
BuildRequires: ocaml
BuildRequires: ocaml-findlib
BuildRequires: ocaml-rpm-macros >= 4.02.1
BuildRequires: pkg-config
BuildRequires: xz
BuildRequires: xz-devel
BuildRequires: zlib-devel
BuildRequires: pkgconfig(com_err)
BuildRequires: pkgconfig(ext2fs)
BuildRequires: pkgconfig(rpm)
%description
supermin is a tool for building supermin appliances. These are tiny
appliances (similar to virtual machines), usually around 100KB in size,
@ -66,22 +73,29 @@ you need to boot one of them.
%build
export ZYPPER=zypper
export ZYPPER=/usr/bin/zypper
export ZYPPER=%{_bindir}/zypper
touch INSTALL NEWS AUTHORS ChangeLog
autoreconf -fi
#.gnulib/gnulib-tool --update
#autoreconf -fi
%configure --help
%configure
make \
%configure --disable-network-tests
%make_build \
%{?_smp_mflags}
%install
make install DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -ls
%make_install
find %{buildroot} -ls
%check
make check || {
cat tests/test-suite.log
exit 1
}
%files
%doc README
%doc TODO
/usr/bin/*
%{_bindir}/*
%{_mandir}/*/*
%changelog