diff --git a/.gitignore b/.gitignore index 26f42e1..69aa121 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /mkosi-2.tar.gz /mkosi-4.tar.gz /mkosi-5.tar.gz +/mkosi-6.tar.gz diff --git a/mkosi.spec b/mkosi.spec index 59db42c..dc3ff3b 100644 --- a/mkosi.spec +++ b/mkosi.spec @@ -1,6 +1,6 @@ Name: mkosi -Version: 5 -Release: 4%{?dist} +Version: 6 +Release: 1%{?dist} Summary: Create legacy-free OS images License: LGPLv2+ @@ -8,7 +8,9 @@ URL: https://github.com/systemd/mkosi Source0: https://github.com/systemd/mkosi/archive/v%{version}/%{name}-%{version}.tar.gz BuildArch: noarch -BuildRequires: python3 +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: pip Recommends: dnf Recommends: debootstrap @@ -41,19 +43,24 @@ supported (not plain MBR/BIOS). # no build required %install -# It's just one file, and setup.py install would copy useless .egg-info -install -Dpt %{buildroot}%{_bindir}/ mkosi +python3 -m pip install --root=%{buildroot} . %files %license LICENSE %doc README.md %_bindir/mkosi +%{python3_sitelib}/mkosi/ +%{python3_sitelib}/mkosi-%{version}-py*.egg-info/ +%_mandir/man1/mkosi.1* %check # just a smoke test for syntax or import errors %buildroot/usr/bin/mkosi --help %changelog +* Sat Oct 3 2020 Zbigniew Jędrzejewski-Szmek - 6-1 +- Update to latest version (#1884879) + * Tue Jul 28 2020 Fedora Release Engineering - 5-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild diff --git a/sources b/sources index 82f0f41..f080e2f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (mkosi-5.tar.gz) = cebb0f50b57a3285b4bb1301890436551c6931516e8c60a36c44ddc4c53f232178e1f56aa8c538dad2d12ce54e304b457d046bc0df6ac6d2a226a7b5fdbd1f36 +SHA512 (mkosi-6.tar.gz) = 4bde5af0af7461866fb067ce34f4911ede46937d0cdd6282203880c190646e7159cb9aa92b507bf9a7c72790e745fb12b8bd22d8c8a349016304f672186b4ef6