Compare commits

...
Sign in to create a new pull request.

95 commits

Author SHA1 Message Date
Jerry James
809fd5e0a1 Fix a changelog entry 2026-01-13 20:49:14 -07:00
Richard W.M. Jones
1ce3d77b47 OCaml 5.4.0 rebuild 2025-10-13 18:50:43 +01:00
Fedora Release Engineering
dbb5a2fe0e Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-25 18:54:20 +00:00
Jerry James
dfd1c6610d Rebuild to fix OCaml dependencies 2025-07-11 14:39:10 -06:00
Fedora Release Engineering
1c53902718 Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-19 11:59:02 +00:00
Jerry James
38ee6830fa OCaml 5.3.0 rebuild for Fedora 42 2025-01-09 13:28:26 -07:00
Richard W.M. Jones
42c5e1c360 Use stable owner, group and mtime in base.tar.gz (RHBZ#2320025) 2024-10-21 14:34:22 +01:00
Richard W.M. Jones
4a1323f319 New upstream version 5.3.5 2024-08-31 10:39:53 +01:00
Fedora Release Engineering
50e0475ea7 Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-20 06:44:22 +00:00
Richard W.M. Jones
479078fe0c OCaml 5.2.0 ppc64le fix 2024-06-19 13:38:14 +01:00
Richard W.M. Jones
0ca25557e7 OCaml 5.2.0 for Fedora 41 2024-05-29 18:11:21 +01:00
Fedora Release Engineering
836dd0b229 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-27 04:46:06 +00:00
Richard W.M. Jones
0c6d8abf11 Fix date in changelog 2024-01-11 12:51:13 +00:00
Richard W.M. Jones
61460d5d8f New upstream version 5.3.4
Remove patches which are now all upstream.
2024-01-11 12:27:27 +00:00
Richard W.M. Jones
e50448eed6 OCaml 5.1.1 + s390x code gen fix for Fedora 40 2023-12-18 13:45:35 +00:00
Richard W.M. Jones
a3f30e63dc OCaml 5.1.1 rebuild for Fedora 40 2023-12-12 14:02:50 +00:00
Richard W.M. Jones
2417d4becf Fix RISC-V gzip compressed kernels 2023-11-10 11:03:54 +00:00
Richard W.M. Jones
6f9f7bfc2e OCaml 5.1 rebuild for Fedora 40 2023-10-05 14:59:46 +01:00
Yaakov Selkowitz
b394af62b0 Defer dnf5 until Fedora 41
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/EYE2JY537OM7GFW46EK7YIBLHJ52USAZ/
2023-08-02 17:01:41 -04:00
Fedora Release Engineering
191d0e7909 Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-22 02:51:21 +00:00
Richard W.M. Jones
47169f1699 Reenable stripping (further fix) 2023-07-12 22:53:51 +01:00
Richard W.M. Jones
1addc80aac Reenable stripping 2023-07-12 22:42:41 +01:00
Richard W.M. Jones
61395e3f5a Disable stripping on bytecode platforms as that breaks the binary. 2023-07-12 11:34:18 +01:00
Richard W.M. Jones
e1702f8c28 OCaml 5.0 rebuild for Fedora 39 2023-07-11 23:20:40 +01:00
Richard W.M. Jones
4e7d4fef4c ExcludeArch i686 (https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/SPML7CUBSZNI36NLXGVHEG7DNHU3EWOJ/) 2023-07-11 11:36:26 +01:00
Jerry James
0190d0f55f OCaml 5.0.0 rebuild 2023-07-10 15:49:18 -06:00
Richard W.M. Jones
1ae35926e5 Fix --if-newer 2023-06-12 13:10:51 +01:00
Richard W.M. Jones
a020f9a10e Migrated to SPDX license 2023-06-05 16:02:00 +01:00
Richard W.M. Jones
5283ce36d8 Further fix for dnf5 (RHBZ#2211386) 2023-05-31 13:02:07 +01:00
Richard W.M. Jones
23e3141c9d Temporarily set DNF=dnf5 2023-05-30 10:38:29 +01:00
Richard W.M. Jones
27e02e0188 Add support for dnf5 (RHBZ#2209412) 2023-05-30 09:24:07 +01:00
Richard W.M. Jones
8b8563ecd9 Rebuild against librpm 10 2023-05-19 13:04:13 +01:00
Richard W.M. Jones
1a507fd401 Rebuild OCaml packages for F38 2023-01-24 10:35:30 +00:00
Richard W.M. Jones
29efa3fac5 Deal with new RPM database location
https://fedoraproject.org/wiki/Changes/RelocateRPMToUsr
2023-01-21 09:42:55 +00:00
Fedora Release Engineering
aa8ebc6a2e Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-21 04:21:04 +00:00
Richard W.M. Jones
444d564619 New upstream development version 5.3.3 2022-10-18 14:48:32 +01:00
Richard W.M. Jones
c0e4947ad7 Unconditionally run autoreconf 2022-09-07 16:26:53 +01:00
Richard W.M. Jones
1951f6acfa Include all upstream patches since 5.3.2
Add debugging and accurate exception backtraces (RHBZ#2124571).
2022-09-07 16:17:52 +01:00
Fedora Release Engineering
1aa63b8ba2 Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-23 09:44:53 +00:00
Richard W.M. Jones
0999d4f711 OCaml 4.14.0 rebuild 2022-06-18 15:25:48 +01:00
Richard W.M. Jones
aab96d51f3 Move dependency on dnf to -devel subpackage (RHBZ#2086302) 2022-05-15 18:17:52 +01:00
Richard W.M. Jones
2058048768 Remove upstream patches 2022-03-04 13:39:22 +00:00
Richard W.M. Jones
ac4b685403 New upstream development version 5.3.2 2022-03-04 13:32:40 +00:00
Richard W.M. Jones
767dca226a Fix link to dependency generator documentation 2022-02-28 13:07:44 +00:00
Richard W.M. Jones
13688555ee OCaml 4.13.1 rebuild to remove package notes 2022-02-04 18:12:39 +00:00
Fedora Release Engineering
304198ebcf - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-22 01:58:06 +00:00
Richard W.M. Jones
80d74621ab Further fix to ignore zfcpdump kernel on s390x 2021-12-01 10:40:14 +00:00
Richard W.M. Jones
87c3622fef Work around incorrect kernel provides on RHEL 9 s390x
On RHEL 9 s390x, kernel incorrectly pulls in kernel-zfcpdump-core
https://bugzilla.redhat.com/show_bug.cgi?id=2027654
2021-11-30 11:02:04 +00:00
Richard W.M. Jones
8d0c6850b4 Ignore zfcpdump kernel on s390x 2021-11-30 09:01:52 +00:00
Richard W.M. Jones
58de4c8249 New upstream development version 5.3.1. 2021-08-26 16:46:08 +01:00
Fedora Release Engineering
eb5a05494e - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-23 18:34:45 +00:00
Richard W.M. Jones
eb8e677daa Remove bogus timestamp added by rpmdev-bumpspec 2021-06-02 10:36:22 +01:00
Richard W.M. Jones
c4dc459160 Add gating tests (for RHEL 9) 2021-06-02 10:34:35 +01:00
Richard W.M. Jones
3f2b7f0a26 Do not include the package on POWER on RHEL 9
resolves: rhbz#1956934
2021-05-07 13:28:18 +01:00
Richard W.M. Jones
084b2b0908 Add upstream patch for stat field overflow on armv7. 2021-02-01 10:14:26 +00:00
Richard W.M. Jones
d4841876ba Remove patch which is included in 5.2.1.
Enable GPG signature verification.
2021-02-01 09:48:54 +00:00
Richard W.M. Jones
987c3207fc New upstream version 5.2.1. 2021-02-01 09:43:19 +00:00
Fedora Release Engineering
690d7f8122 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-27 21:19:46 +00:00
Richard W.M. Jones
661449a5ad Remove inactive strip override (see RHBZ#1915570). 2021-01-14 12:08:11 +00:00
Tom Stellard
024ce82026 Add BuildRequires: make
https://fedoraproject.org/wiki/Changes/Remove_make_from_BuildRoot
2021-01-08 22:05:59 +00:00
Richard W.M. Jones
a90c9f99bd Tidy up comment, since RHEL is a no-dietlibc platform. 2020-11-23 09:15:47 +00:00
Richard W.M. Jones
c8365175e3 Disable dietlibc on RHEL 9. 2020-11-23 08:24:31 +00:00
Troy Dawson
517a7171c7 Use ExclusiveArch: %{kernel_arches}
kernel_arches is a new rpm macro variable that is now in the Fedora buildroot as of redhat-rpm-config-167.
It lists what architectures the full kernel is built on.
Architectures that only have the kernel-header (such as i686) is not listed.
Thus, it can be used as a variable so that packages that depend on the kernel, can have a consistent way of listing the architectures.
The variable is currently only in Fedora, but is expected to be in RHEL9, and hopefully backported to earlier RHEL versions.

This pull request updates the spec to use %{kernel_arches} for ExclusiveArch:
2020-08-07 16:14:21 +00:00
Fedora Release Engineering
e13f1165c6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-29 11:47:32 +00:00
Richard W.M. Jones
ab46d9cdb4 ppc64le: ibmvscsi driver missing from supermin appliance (RHBZ#1819019). 2020-04-03 11:55:42 +01:00
Richard W.M. Jones
bee2834ecd New upstream stable version 5.2.0. 2020-03-10 10:49:00 +00:00
Fedora Release Engineering
485ec501e0 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-31 00:42:43 +00:00
Richard W.M. Jones
29afe98686 Add further patch to fix symlinks (RHBZ#1770304).
Add all patches since 5.1.20 was released.
2019-12-10 18:49:01 +00:00
Richard W.M. Jones
ad7511ce31 Add upstream patch to fix symlinks on recent kernels (RHBZ#1770304). 2019-11-28 13:36:04 +00:00
Richard W.M. Jones
7a88a12661 Use gpgverify macro instead of explicit gpgv2 command. 2019-11-27 11:05:31 +00:00
Richard W.M. Jones
09708b9ca8 OCaml 4.08.1 (rc2) rebuild. 2019-07-31 18:39:29 +01:00
Richard W.M. Jones
0496c3feb9 Revert "Skip tests on armv7, mke2fs is broken there."
This reverts commit 37fd86cc25.
2019-07-31 18:38:03 +01:00
Richard W.M. Jones
37fd86cc25 Skip tests on armv7, mke2fs is broken there. 2019-07-28 10:13:39 +01:00
Richard W.M. Jones
dc91275484 Disable package on i686 because no kernel. 2019-07-27 23:57:53 +01:00
Fedora Release Engineering
b07e68e222 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-27 00:35:39 +00:00
Igor Gnatenko
8d2c36df46
Rebuild for RPM 4.15
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2019-06-11 00:13:23 +02:00
Igor Gnatenko
13f73711ad
Rebuild for RPM 4.15
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2019-06-10 17:42:06 +02:00
Fedora Release Engineering
485c142139 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-03 09:00:05 +00:00
Richard W.M. Jones
d24f9edcaa Add upstream patches to diagnose possible F29 issue. 2019-01-24 14:43:22 +00:00
Richard W.M. Jones
df888023bc New upstream version 5.1.20. 2019-01-17 12:35:18 +00:00
Fedora Release Engineering
e308057229 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-14 07:00:28 +00:00
Florian Weimer
fe852db4a4 Reenable hardened build
The static linking issue has been fixed with an addition to the GCC
specs file in redhat-rpm-config-54-1.
2018-02-24 20:26:10 +01:00
Richard W.M. Jones
0da9aef77a Fix bytes/string problems. 2018-02-13 08:22:36 +00:00
Fedora Release Engineering
ebbe4e3e77 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-09 18:05:45 +00:00
Richard W.M. Jones
ef3b041d45 New upstream version 5.1.19.
Remove all patches, now upstream.
2017-09-19 14:43:29 +01:00
Igor Gnatenko
df8b19ddc0 Rebuilt for RPM soname bump
Signed-off-by: Igor Gnatenko <ignatenko@redhat.com>
2017-08-10 20:34:08 +02:00
Richard W.M. Jones
36f5331e31 Fix supermin crash with truncated vmlinuz file (RHBZ#1477758).
- Include all upstream patches since 5.1.18.
2017-08-03 17:30:16 +01:00
Fedora Release Engineering
2e7b101d9a - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild 2017-08-03 08:59:03 +00:00
Fedora Release Engineering
ce7226a30f - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-27 19:38:56 +00:00
Richard W.M. Jones
1fda32218d New upstream release 5.1.18.
Fixes problem with creating incorrect symlinks (RHBZ#1470157).
2017-07-13 11:44:52 +01:00
Richard W.M. Jones
3c79fab8c6 Enable dietlibc on aarch64 and POWER. 2017-03-18 13:08:01 -04:00
Richard W.M. Jones
f5ad0a15f0 Drop dependency on hawkey and versioned dependencies on dnf.
These were introduced by commit 48b7c2f9a8.

Hawkey is now a dead package (replaced by libdnf).  In any case none
of the dependencies are now required because the change from
yumdownloader to dnf download was introduced in Fedora 23, which is
greater than two Fedora versions ago.
2017-03-17 13:30:25 +00:00
Fedora Release Engineering
c4b0ee62f4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-11 14:14:35 +00:00
Richard W.M. Jones
33fd119de6 Rebuild for OCaml 4.04.0. 2016-11-05 09:50:28 +00:00
Richard W.M. Jones
554017ba9d Remove Provides/Obsoletes. 2016-11-01 12:44:41 +00:00
5 changed files with 356 additions and 48 deletions

2
.gitignore vendored
View file

@ -4,5 +4,5 @@
/.build-*.log
/clog
/supermin-*.tar.gz
/supermin-*.tar.gz.sig
/x86_64
/supermin-5.1.17.tar.gz.sig

View file

@ -0,0 +1,33 @@
From 7a80a6eec799841b828ba7f617709562d8061435 Mon Sep 17 00:00:00 2001
From: "Richard W.M. Jones" <rjones@redhat.com>
Date: Mon, 21 Oct 2024 11:55:53 +0100
Subject: [PATCH] prepare: Use stable owner, group and mtime in base.tar.gz
Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=2320025
Signed-off-by: Richard W.M. Jones <rjones@redhat.com>
---
src/mode_prepare.ml | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/src/mode_prepare.ml b/src/mode_prepare.ml
index 70f9dd4..6af47b1 100644
--- a/src/mode_prepare.ml
+++ b/src/mode_prepare.ml
@@ -166,9 +166,12 @@ let prepare debug (copy_kernel, format, host_cpu,
let base = outputdir // "base.tar.gz" in
if debug >= 1 then printf "supermin: writing %s\n%!" base;
let cmd =
- sprintf "tar%s -C %s -zcf %s -T %s"
+ let mtime =
+ try sprintf "--mtime=@%s" (quote (Sys.getenv "SOURCE_DATE_EPOCH"))
+ with Not_found -> "" in
+ sprintf "tar%s -C %s -z --owner=0 --group=0 %s -cf %s -T %s"
(if debug >=1 then " -v" else "")
- (quote dir) (quote base) (quote files_from) in
+ (quote dir) mtime (quote base) (quote files_from) in
run_command cmd;
)
else (
--
2.46.0

6
gating.yaml Executable file
View file

@ -0,0 +1,6 @@
--- !Policy
product_versions:
- rhel-9
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: xen-ci.brew-build.tier1.functional}

View file

@ -1,2 +1,2 @@
af1e287e5d2b335e2df83a836f1d8ed4 supermin-5.1.17.tar.gz
a94c40d6ff5d12dd7d096a482525009e supermin-5.1.17.tar.gz.sig
SHA512 (supermin-5.3.5.tar.gz) = e410bafe06805880f0f701e78d743a6e22e9d25e57bd70a020d583dba6d710ba9917d7afc37be714d9bde410c7ff35f4198300b3af0858d761b0b3e07af58dc0
SHA512 (supermin-5.3.5.tar.gz.sig) = 88f446c3855367dd8917a6eb44d926f8a09dac9913d9098757951ccb3300f9e3544689a45d661382ae24221f8558bbfc188976f4db288829c28379b87949ed7e

View file

@ -1,61 +1,76 @@
%ifnarch %{ocaml_native_compiler}
%global __strip /bin/true
%global debug_package %{nil}
%endif
# OCaml packages not built on i686 since OCaml 5 / Fedora 39.
ExcludeArch: %{ix86}
# _hardened_build breaks building the static 'init' binary.
# https://bugzilla.redhat.com/show_bug.cgi?id=1202091
# https://bugzilla.redhat.com/show_bug.cgi?id=1204162
%undefine _hardened_build
# On armv7 and x86, the default is ``--with dietlibc''.
# On platforms and architectures that support it, the default is
# --with dietlibc.
#
# To use glibc-static instead, do ``--without dietlibc''. This
# results in a much larger (about 40 times larger) init binary.
# To use glibc-static instead, do --without dietlibc. This results
# in a much larger (about 40 times larger) init binary.
#
# On other platforms, there is no dietlibc, so the default for those
# is ``--without dietlibc''.
# is --without dietlibc.
#
# See also:
# https://github.com/libguestfs/supermin/commit/9bb57e1a8d0f3b57eb09f65dd574f702b67e1c2f
%ifarch %{arm} %{ix86} x86_64 s390x
%if 0%{?rhel}
%bcond_with dietlibc
%else
%ifarch aarch64 %{arm} %{ix86} %{power} s390x x86_64
%bcond_without dietlibc
%else
%bcond_with dietlibc
%endif
%endif
%if 0%{?fedora} > 40 || 0%{?rhel} > 10
%bcond_without dnf5
%else
%bcond_with dnf5
%endif
# Whether we should verify tarball signature with GPGv2.
%global verify_tarball_signature 1
# The source directory.
%global source_directory 5.3-development
Summary: Tool for creating supermin appliances
Name: supermin
Version: 5.1.17
Release: 1%{?dist}
License: GPLv2+
Version: 5.3.5
Release: 7%{?dist}
License: GPL-2.0-or-later
%if 0%{?rhel} >= 7
ExclusiveArch: x86_64
ExclusiveArch: %{kernel_arches}
%if 0%{?rhel}
# No qemu-kvm on POWER (RHBZ#1946532).
ExcludeArch: %{power64}
%endif
URL: http://people.redhat.com/~rjones/supermin/
Source0: http://libguestfs.org/download/supermin/%{name}-%{version}.tar.gz
%if 0%{verify_tarball_signature}
Source1: http://libguestfs.org/download/supermin/%{name}-%{version}.tar.gz.sig
%endif
Source0: http://download.libguestfs.org/supermin/%{source_directory}/%{name}-%{version}.tar.gz
Source1: http://download.libguestfs.org/supermin/%{source_directory}/%{name}-%{version}.tar.gz.sig
# Keyring used to verify tarball signature.
%if 0%{verify_tarball_signature}
Source2: libguestfs.keyring
%endif
# Use stable owner, group and mtime in base.tar.gz
# Upstream in > 5.3.5
# https://bugzilla.redhat.com/show_bug.cgi?id=2320025
Patch1: 0001-prepare-Use-stable-owner-group-and-mtime-in-base.tar.patch
BuildRequires: gcc
BuildRequires: make
BuildRequires: autoconf, automake
BuildRequires: /usr/bin/pod2man
BuildRequires: /usr/bin/pod2html
BuildRequires: rpm
BuildRequires: rpm-devel
BuildRequires: dnf >= 0.6.5-1.fc23
BuildRequires: dnf-plugins-core >= 0.1.7-1.fc23
BuildRequires: hawkey >= 0.5.4-1.fc23
%if %{with dnf5}
BuildRequires: dnf5
%else
BuildRequires: dnf
BuildRequires: dnf-plugins-core
%endif
BuildRequires: /usr/sbin/mke2fs
BuildRequires: e2fsprogs-devel
BuildRequires: findutils
@ -73,6 +88,14 @@ BuildRequires: gnupg2
# tests to not require these packages.
BuildRequires: augeas hivex kernel tar
%if 0%{?rhel}
%ifarch s390x
# On RHEL 9 s390x, kernel incorrectly pulls in kernel-zfcpdump-core
# https://bugzilla.redhat.com/show_bug.cgi?id=2027654
BuildRequires: kernel-core
%endif
%endif
# For complicated reasons, this is required so that
# /bin/kernel-install puts the kernel directly into /boot, instead of
# into a /boot/<machine-id> subdirectory (in Fedora >= 23). Read the
@ -81,26 +104,19 @@ BuildRequires: grubby
# https://bugzilla.redhat.com/show_bug.cgi?id=1331012
BuildRequires: systemd-udev
# This only includes the dependencies needed at runtime, ie. supermin
# --build. For supermin --prepare, dependencies like dnf are placed
# in the -devel subpackage.
Requires: rpm
Requires: dnf >= 0.6.5-1.fc23
Requires: dnf-plugins-core >= 0.1.7-1.fc23
Requires: hawkey >= 0.5.4-1.fc23
Requires: util-linux-ng
Requires: cpio
Requires: tar
Requires: /usr/sbin/mke2fs
# RHBZ#771310
Requires: e2fsprogs-libs >= 1.42
Requires: findutils
# 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
# For automatic RPM dependency generation.
# See: http://www.rpm.org/wiki/PackagerDocs/DependencyGenerator
# See: https://rpm-software-management.github.io/rpm/manual/dependency_generators.html
Source3: supermin.attr
Source4: supermin-find-requires
@ -111,31 +127,48 @@ 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.
Note that if you want to run 'supermin --prepare' you will need the
extra dependencies provided by %{name}-devel.
%package devel
Summary: Development tools for %{name}
Requires: %{name} = %{version}-%{release}
Requires: rpm-build
# Dependencies needed for supermin --prepare
%if %{with dnf5}
Requires: dnf5
%else
Requires: dnf
Requires: dnf-plugins-core
%endif
Requires: findutils
%description devel
%{name}-devel contains development tools for %{name}.
It just contains tools for automatic RPM dependency generation
from supermin appliances.
It contains extra dependencies needed for 'supermin --prepare' to
work, as well as tools for automatic RPM dependency generation from
supermin appliances.
%prep
%if 0%{verify_tarball_signature}
tmphome="$(mktemp -d)"
gpgv2 --homedir "$tmphome" --keyring %{SOURCE2} %{SOURCE1} %{SOURCE0}
%{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
%endif
%setup -q
%autopatch -p1
%build
%configure --disable-network-tests
autoreconf -fi
# Setting DNF is temporarily required for Rawhide. We should be able
# to remove this later. See:
# https://bugzilla.redhat.com/show_bug.cgi?id=2209412
# https://fedoraproject.org/wiki/Changes/ReplaceDnfWithDnf5
%configure %{?with_dnf5:DNF=%{_bindir}/dnf5} --disable-network-tests
%if %{with dietlibc}
make -C init CC="diet gcc"
@ -178,6 +211,242 @@ make check || {
%changelog
* Mon Oct 13 2025 Richard W.M. Jones <rjones@redhat.com> - 5.3.5-7
- OCaml 5.4.0 rebuild
* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 5.3.5-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
* Fri Jul 11 2025 Jerry James <loganjerry@gmail.com> - 5.3.5-5
- Rebuild to fix OCaml dependencies
* Sun Jan 19 2025 Fedora Release Engineering <releng@fedoraproject.org> - 5.3.5-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
* Thu Jan 9 2025 Jerry James <loganjerry@gmail.com> - 5.3.5-3
- OCaml 5.3.0 rebuild for Fedora 42
* Mon Oct 21 2024 Richard W.M. Jones <rjones@redhat.com> - 5.3.5-2
- Use stable owner, group and mtime in base.tar.gz (RHBZ#2320025)
* Sat Aug 31 2024 Richard W.M. Jones <rjones@redhat.com> - 5.3.5-1
- New upstream version 5.3.5
* Sat Jul 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 5.3.4-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Wed Jun 19 2024 Richard W.M. Jones <rjones@redhat.com> - 5.3.4-4
- OCaml 5.2.0 ppc64le fix
* Wed May 29 2024 Richard W.M. Jones <rjones@redhat.com> - 5.3.4-3
- OCaml 5.2.0 for Fedora 41
* Sat Jan 27 2024 Fedora Release Engineering <releng@fedoraproject.org> - 5.3.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Thu Jan 11 2024 Richard W.M. Jones <rjones@redhat.com> - 5.3.4-1
- New upstream version 5.3.4
- Remove patches which are now all upstream.
* Mon Dec 18 2023 Richard W.M. Jones <rjones@redhat.com> - 5.3.3-19
- OCaml 5.1.1 + s390x code gen fix for Fedora 40
* Tue Dec 12 2023 Richard W.M. Jones <rjones@redhat.com> - 5.3.3-18
- OCaml 5.1.1 rebuild for Fedora 40
* Fri Nov 10 2023 Richard W.M. Jones <rjones@redhat.com> - 5.3.3-17
- Fix RISC-V gzip compressed kernels
* Thu Oct 05 2023 Richard W.M. Jones <rjones@redhat.com> - 5.3.3-16
- OCaml 5.1 rebuild for Fedora 40
* Wed Aug 02 2023 Yaakov Selkowitz <yselkowi@redhat.com> - 5.3.3-15
- Defer dnf5 until Fedora 41
* Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 5.3.3-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Wed Jul 12 2023 Richard W.M. Jones <rjones@redhat.com> - 5.3.3-13
- OCaml 5.0 rebuild for Fedora 39
* Mon Jul 10 2023 Jerry James <loganjerry@gmail.com> - 5.3.3-10
- OCaml 5.0.0 rebuild
* Mon Jun 12 2023 Richard W.M. Jones <rjones@redhat.com> - 5.3.3-9
- Fix --if-newer
* Mon Jun 05 2023 Richard W.M. Jones <rjones@redhat.com> - 5.3.3-8
- Migrated to SPDX license
* Wed May 31 2023 Richard W.M. Jones <rjones@redhat.com> - 5.3.3-7
- Further fix for dnf5 (RHBZ#2211386)
* Tue May 30 2023 Richard W.M. Jones <rjones@redhat.com> - 5.3.3-6
- Add support for dnf5 (RHBZ#2209412)
* Fri May 19 2023 Richard W.M. Jones <rjones@redhat.com> - 5.3.3-5
- Rebuild against librpm 10
* Tue Jan 24 2023 Richard W.M. Jones <rjones@redhat.com> - 5.3.3-4
- Rebuild OCaml packages for F38
* Sat Jan 21 2023 Richard W.M. Jones <rjones@redhat.com> - 5.3.3-3
- Deal with new RPM database location
- https://fedoraproject.org/wiki/Changes/RelocateRPMToUsr
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 5.3.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Tue Oct 18 2022 Richard W.M. Jones <rjones@redhat.com> - 5.3.3-1
- New upstream development version 5.3.3
* Wed Sep 07 2022 Richard W.M. Jones <rjones@redhat.com> - 5.3.2-5
- Include all upstream patches since 5.3.2
- Add debugging and accurate exception backtraces (RHBZ#2124571).
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 5.3.2-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Sat Jun 18 2022 Richard W.M. Jones <rjones@redhat.com> - 5.3.2-3
- OCaml 4.14.0 rebuild
* Sun May 15 2022 Richard W.M. Jones <rjones@redhat.com> - 5.3.2-2
- Move dependency on dnf to -devel subpackage (RHBZ#2086302)
* Fri Mar 04 2022 Richard W.M. Jones <rjones@redhat.com> - 5.3.2-1
- New upstream development version 5.3.2
* Fri Feb 04 2022 Richard W.M. Jones <rjones@redhat.com> - 5.3.1-5
- OCaml 4.13.1 rebuild to remove package notes
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 5.3.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Wed Dec 01 2021 Richard W.M. Jones <rjones@redhat.com> - 5.3.1-3
- Further fix to ignore zfcpdump kernel on s390x
* Tue Nov 30 2021 Richard W.M. Jones <rjones@redhat.com> - 5.3.1-2
- Ignore zfcpdump kernel on s390x
* Thu Aug 26 2021 Richard W.M. Jones <rjones@redhat.com> - 5.3.1-1
- New upstream development version 5.3.1.
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 5.2.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Wed Jun 2 2021 Richard W.M. Jones <rjones@redhat.com> - 5.2.1-3
- Add gating tests (for RHEL 9)
* Fri May 07 2021 Richard W.M. Jones <rjones@redhat.com> - 5.2.1-2
- Do not include the package on POWER on RHEL 9
resolves: rhbz#1956934
* Mon Feb 01 2021 Richard W.M. Jones <rjones@redhat.com> - 5.2.1-1
- New upstream version 5.2.1.
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 5.2.0-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Thu Jan 14 2021 Richard W.M. Jones <rjones@redhat.com> - 5.2.0-6
- Remove inactive strip override (see RHBZ#1915570).
* Mon Nov 23 2020 Richard W.M. Jones <rjones@redhat.com> - 5.2.0-5
- Disable dietlibc on RHEL 9.
* Fri Aug 07 2020 Troy Dawson <tdawson@redhat.com> - 5.2.0-4
- Use ExclusiveArch: %{kernel_arches}
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 5.2.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Fri Apr 03 2020 Richard W.M. Jones <rjones@redhat.com> - 5.2.0-2
- ppc64le: ibmvscsi driver missing from supermin appliance (RHBZ#1819019).
* Tue Mar 10 2020 Richard W.M. Jones <rjones@redhat.com> - 5.2.0-1
- New upstream stable version 5.2.0.
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 5.1.20-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Tue Dec 10 2019 Richard W.M. Jones <rjones@redhat.com> - 5.1.20-11
- Add further patch to fix symlinks (RHBZ#1770304).
- Add all patches since 5.1.20 was released.
* Thu Nov 28 2019 Richard W.M. Jones <rjones@redhat.com> - 5.1.20-10
- Add upstream patch to fix symlinks on recent kernels (RHBZ#1770304).
* Wed Nov 27 2019 Richard W.M. Jones <rjones@redhat.com> - 5.1.20-9
- Use gpgverify macro instead of explicit gpgv2 command.
* Wed Jul 31 2019 Richard W.M. Jones <rjones@redhat.com> - 5.1.20-8
- OCaml 4.08.1 (rc2) rebuild.
* Sat Jul 27 2019 Richard W.M. Jones <rjones@redhat.com> - 5.1.20-7
- Disable package on i686 because no kernel.
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 5.1.20-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Mon Jun 10 22:13:23 CET 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 5.1.20-5
- Rebuild for RPM 4.15
* Mon Jun 10 15:42:06 CET 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 5.1.20-4
- Rebuild for RPM 4.15
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 5.1.20-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Thu Jan 24 2019 Richard W.M. Jones <rjones@redhat.com> - 5.1.20-2
- Add upstream patches to diagnose possible F29 issue.
* Thu Jan 17 2019 Richard W.M. Jones <rjones@redhat.com> - 5.1.20-1
- New upstream version 5.1.20.
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 5.1.19-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Sat Feb 24 2018 Florian Weimer <fweimer@redhat.com> - 5.1.19-4
- Reenable hardened build
* Tue Feb 13 2018 Richard W.M. Jones <rjones@redhat.com> - 5.1.19-3
- Fix bytes/string problems.
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 5.1.19-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Tue Sep 19 2017 Richard W.M. Jones <rjones@redhat.com> - 5.1.19-1
- New upstream version 5.1.19.
- Remove all patches, now upstream.
* Thu Aug 10 2017 Igor Gnatenko <ignatenko@redhat.com> - 5.1.18-5
- Rebuilt for RPM soname bump
* Thu Aug 03 2017 Richard W.M. Jones <rjones@redhat.com> - 5.1.18-4
- Fix supermin crash with truncated vmlinuz file (RHBZ#1477758).
- Include all upstream patches since 5.1.18.
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 5.1.18-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 5.1.18-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Thu Jul 13 2017 Richard W.M. Jones <rjones@redhat.com> - 5.1.18-1
- New upstream release 5.1.18.
- Fixes problem with creating incorrect symlinks (RHBZ#1470157).
* Sat Mar 18 2017 Richard W.M. Jones <rjones@redhat.com> - 5.1.17-5
- Enable dietlibc on aarch64 and POWER.
* Fri Mar 17 2017 Richard W.M. Jones <rjones@redhat.com> - 5.1.17-4
- Drop dependency on hawkey and versioned dependencies on dnf.
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 5.1.17-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Sat Nov 05 2016 Richard W.M. Jones <rjones@redhat.com> - 5.1.17-2
- Rebuild for OCaml 4.04.0.
* Tue Nov 01 2016 Richard W.M. Jones <rjones@redhat.com> - 5.1.17-1
- New upstream release 5.1.17.
- Check signature on the tarball before unpacking it.