From 5eecbfde20e836d44547144045ff4964708d124e9ee0baa68260df8a13a97e38 Mon Sep 17 00:00:00 2001 From: Sebastian Wagner Date: Wed, 20 Oct 2021 20:14:53 +0000 Subject: [PATCH] Accepting request 926624 from home:iDesmI - Update to version 10 OBS-URL: https://build.opensuse.org/request/show/926624 OBS-URL: https://build.opensuse.org/package/show/Virtualization/mkosi?expand=0&rev=8 --- mkosi-10.tar.gz | 3 +++ mkosi-5.tar.gz | 3 --- mkosi.changes | 5 +++++ mkosi.spec | 45 ++++++++++++++++++++++----------------------- 4 files changed, 30 insertions(+), 26 deletions(-) create mode 100644 mkosi-10.tar.gz delete mode 100644 mkosi-5.tar.gz diff --git a/mkosi-10.tar.gz b/mkosi-10.tar.gz new file mode 100644 index 0000000..d17d0a9 --- /dev/null +++ b/mkosi-10.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:71d298d2a55c9af48c9585deb62e876f4950a1a39fc4912d6846d3b610130317 +size 133890 diff --git a/mkosi-5.tar.gz b/mkosi-5.tar.gz deleted file mode 100644 index 5266bf4..0000000 --- a/mkosi-5.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:88e995dac8dfc665d2e741bd24f94c5aeb7f11fc79f2cd8560001f68a86a4bda -size 63366 diff --git a/mkosi.changes b/mkosi.changes index 9ccccbe..8213fa9 100644 --- a/mkosi.changes +++ b/mkosi.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Oct 20 12:18:38 UTC 2021 - Enrico Belleri + +- Update to version 10 + ------------------------------------------------------------------- Fri Jan 3 09:36:40 UTC 2020 - Sven Marquardt diff --git a/mkosi.spec b/mkosi.spec index 06b25ab..de0538a 100644 --- a/mkosi.spec +++ b/mkosi.spec @@ -1,7 +1,7 @@ # # spec file for package mkosi # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,30 +17,33 @@ Name: mkosi -Version: 5 +Version: 10 Release: 0 Summary: Build Legacy-Free OS Images License: LGPL-2.1-or-later Group: System/Management URL: https://github.com/systemd/mkosi Source: https://github.com/systemd/mkosi/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz -BuildRequires: python3 >= 3.5 +BuildRequires: pkgconfig BuildRequires: python3-setuptools -Requires: python3 >= 3.5 +BuildRequires: pkgconfig(python3) >= 3.7 +Requires: python3 >= 3.7 Requires: squashfs -Recommends: btrfs-progs +Requires: tar +Requires: xz +Recommends: arch-install-scripts +Recommends: btrfsprogs +Recommends: debootstrap >= 1.0.117 +Recommends: dnf >= 4.8.0 Recommends: dosfstools +Recommends: dpkg Recommends: edk2-ovmf Recommends: gnupg -Recommends: tar +Recommends: pacman >= 6.0.1 Recommends: veritysetup -Recommends: xz -# To build other distros: -Recommends: debootstrap >= 1.0.83 -Recommends: dnf -BuildRoot: %{_tmppath}/%{name}-%{version}-build -ExclusiveArch: x86_64 +Recommends: zstd BuildArch: noarch +ExclusiveArch: x86_64 %description A fancy wrapper around dnf --installroot, debootstrap, pacstrap and zypper that @@ -55,24 +58,20 @@ supported (not plain MBR/BIOS). %setup -q %build -python3 setup.py build +%py3_build %install -python3 setup.py install --prefix=%{_prefix} --root=%{buildroot} +%py3_install %check -%{buildroot}%{_bindir}/mkosi -h +%{buildroot}%{_bindir}/mkosi -h >/dev/null %files -%defattr(-,root,root) -%doc mkosi.md -%if 0%{?leap_version} >= 420200 || 0%{?suse_version} > 1320 +%doc mkosi.md README.md %license LICENSE -%else -%doc LICENSE -%endif %{_bindir}/%{name} -%doc mkosi.default -%{python3_sitelib}/ +%{_mandir}/man1/mkosi.1%{?ext_man} +%{python3_sitelib}/mkosi/ +%{python3_sitelib}/mkosi-%{version}-py*.egg-info/ %changelog