From d61e009df4d07be4bb7023485e1f49480903f79641122412c59032102e1fecf5 Mon Sep 17 00:00:00 2001 From: Marcus Schaefer Date: Tue, 6 Mar 2018 16:09:13 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/Virtualization:Appliances:Builder/python-kiwi?expand=0&rev=95 --- python-kiwi.spec | 79 +++++++++++++++++++++++++++--------------------- 1 file changed, 45 insertions(+), 34 deletions(-) diff --git a/python-kiwi.spec b/python-kiwi.spec index ba96154..35ea6ae 100644 --- a/python-kiwi.spec +++ b/python-kiwi.spec @@ -1,7 +1,7 @@ # -# spec file for package python-kiwi +# spec file for package kiwi # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -11,11 +11,13 @@ # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. - -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# +# Please submit bugfixes or comments via: +# +# https://github.com/SUSE/kiwi/issues # - +# If they aren't provided by a system installed macro, define them %{!?_defaultdocdir: %global _defaultdocdir %{_datadir}/doc} %{!?__python2: %global __python2 /usr/bin/python2} @@ -37,22 +39,23 @@ Name: python-kiwi Version: 9.13.5 -Release: 0 Provides: kiwi-schema = 6.6 +Release: 0 Url: https://github.com/SUSE/kiwi Summary: KIWI - Appliance Builder Next Generation License: GPL-3.0+ -Group: %{pygroup} %if %{_vendor} == "debbuild" # Needed to set Maintainer in output debs +Packager: Marcus Schaefer %endif +Group: %{pygroup} Source: %{name}.tar.gz Source1: %{name}-rpmlintrc BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?fedora} || 0%{?suse_version} -BuildRequires: fdupes BuildRequires: python3-devel BuildRequires: python3-setuptools +BuildRequires: fdupes %endif BuildRequires: python-%{develsuffix} BuildRequires: python-setuptools @@ -100,19 +103,19 @@ Requires(postun): update-alternatives %ifarch x86_64 Requires: grub2-x86_64-efi %endif -Requires: gptfdisk -Requires: multipath-tools Requires: qemu-tools +Requires: multipath-tools Requires: squashfs +Requires: gptfdisk %endif %if 0%{?fedora} || 0%{?rhel} -Requires: chkconfig +Requires: chkconfig Requires(post): chkconfig Requires(postun): chkconfig -Requires: device-mapper-multipath -Requires: gdisk Requires: qemu-img Requires: squashfs-tools +Requires: device-mapper-multipath +Requires: gdisk Requires: yum Provides: kiwi-packagemanager:yum %if 0%{?fedora} || 0%{?rhel} >= 8 @@ -126,10 +129,10 @@ Provides: kiwi-packagemanager:zypper %endif %if 0%{?debian} || 0%{?ubuntu} Requires: debootstrap -Requires: gdisk -Requires: multipath-tools Requires: qemu-utils Requires: squashfs-tools +Requires: multipath-tools +Requires: gdisk %endif Requires: dosfstools Requires: e2fsprogs @@ -183,19 +186,19 @@ Requires(postun): update-alternatives %ifarch x86_64 Requires: grub2-x86_64-efi %endif -Requires: gptfdisk -Requires: multipath-tools Requires: qemu-tools +Requires: multipath-tools Requires: squashfs +Requires: gptfdisk %endif %if 0%{?fedora} || 0%{?rhel} -Requires: chkconfig +Requires: chkconfig Requires(post): chkconfig Requires(postun): chkconfig -Requires: device-mapper-multipath -Requires: gdisk Requires: qemu-img Requires: squashfs-tools +Requires: device-mapper-multipath +Requires: gdisk %endif %if 0%{?rhel} && 0%{?rhel} < 8 Requires: yum @@ -240,6 +243,7 @@ virtualization and cloud systems like Xen, KVM, VMware, EC2 and more. %package -n kiwi-tools Summary: KIWI - Collection of Boot Helper Tools +License: GPL-3.0+ Group: %{sysgroup} %description -n kiwi-tools @@ -252,13 +256,14 @@ outside of the scope of kiwi appliance building. %ifarch %ix86 x86_64 %package -n kiwi-pxeboot Summary: KIWI - PXE boot structure -Group: %{sysgroup} Requires: syslinux %if 0%{?fedora} || 0%{?rhel} Requires(pre): shadow-utils %else Requires(pre): shadow %endif +License: GPL-3.0+ +Group: %{sysgroup} %description -n kiwi-pxeboot This package contains the basic PXE directory structure which is @@ -268,7 +273,6 @@ needed to serve kiwi built images via PXE. %package -n dracut-kiwi-lib Summary: KIWI - Dracut kiwi Library -Group: %{sysgroup} %if 0%{?fedora} || 0%{?rhel} || 0%{?suse_version} || 0%{?debian} # Ubuntu 16.04 OBS environments refuse to set up due to # initramfs-tools / dracut conflict and initramfs-tools is required @@ -285,26 +289,28 @@ Requires: btrfsprogs Requires: gptfdisk %endif Requires: coreutils -Requires: curl -Requires: dialog Requires: e2fsprogs Requires: grep Requires: lvm2 Requires: mdadm Requires: parted -Requires: pv Requires: util-linux Requires: xfsprogs +Requires: dialog +Requires: pv +Requires: curl %if 0%{?debian} || 0%{?ubuntu} -Requires: dmsetup Requires: xz-utils +Requires: dmsetup %else -Requires: device-mapper Requires: xz +Requires: device-mapper %endif %ifarch s390 s390x Requires: s390-tools %endif +License: GPL-3.0+ +Group: %{sysgroup} %description -n dracut-kiwi-lib This package contains a collection of methods to provide a library @@ -312,7 +318,6 @@ for tasks done in other kiwi dracut modules %package -n dracut-kiwi-oem-repart Summary: KIWI - Dracut module for oem(repart) image type -Group: %{sysgroup} %if 0%{?fedora} || 0%{?rhel} || 0%{?suse_version} || 0%{?debian} # Ubuntu 16.04 OBS environments refuse to set up due to # initramfs-tools / dracut conflict and initramfs-tools is required @@ -320,6 +325,8 @@ Group: %{sysgroup} BuildRequires: dracut %endif Requires: dracut-kiwi-lib +License: GPL-3.0+ +Group: %{sysgroup} %description -n dracut-kiwi-oem-repart This package contains the kiwi-repart dracut module which is @@ -328,16 +335,15 @@ geometry according to the setup in the kiwi image configuration %package -n dracut-kiwi-oem-dump Summary: KIWI - Dracut module for oem(install) image type -Group: %{sysgroup} %if 0%{?fedora} || 0%{?rhel} || 0%{?suse_version} || 0%{?debian} # Ubuntu 16.04 OBS environments refuse to set up due to # initramfs-tools / dracut conflict and initramfs-tools is required # to set up the build environment... BuildRequires: dracut %endif -Requires: dmraid Requires: dracut-kiwi-lib Requires: kexec-tools +Requires: dmraid %if 0%{?suse_version} || 0%{?debian} || 0%{?ubuntu} Requires: multipath-tools %endif @@ -345,6 +351,8 @@ Requires: multipath-tools Requires: device-mapper-multipath %endif Requires: gawk +License: GPL-3.0+ +Group: %{sysgroup} %description -n dracut-kiwi-oem-dump This package contains the kiwi-dump dracut module which is @@ -356,7 +364,6 @@ remote %package -n dracut-kiwi-live Summary: KIWI - Dracut module for iso(live) image type -Group: %{sysgroup} %if 0%{?fedora} || 0%{?rhel} || 0%{?suse_version} || 0%{?debian} # Ubuntu 16.04 OBS environments refuse to set up due to # initramfs-tools / dracut conflict and initramfs-tools is required @@ -364,9 +371,9 @@ Group: %{sysgroup} BuildRequires: dracut %endif Requires: dialog +Requires: xfsprogs Requires: e2fsprogs Requires: util-linux -Requires: xfsprogs %if 0%{?debian} || 0%{?ubuntu} Requires: dmsetup %else @@ -382,6 +389,8 @@ Requires: genisoimage Requires: cdrkit-cdrtools-compat %endif %endif +License: GPL-3.0+ +Group: %{sysgroup} %description -n dracut-kiwi-live This package contains the kiwi-live dracut module which is used @@ -389,15 +398,16 @@ for booting iso(live) images built with KIWI %package -n dracut-kiwi-overlay Summary: KIWI - Dracut module for vmx(+overlay) image type -Group: %{sysgroup} %if 0%{?fedora} || 0%{?rhel} || 0%{?suse_version} || 0%{?debian} # Ubuntu 16.04 OBS environments refuse to set up due to # initramfs-tools / dracut conflict and initramfs-tools is required # to set up the build environment... BuildRequires: dracut %endif -Requires: dracut Requires: util-linux +Requires: dracut +License: GPL-3.0+ +Group: %{sysgroup} %description -n dracut-kiwi-overlay This package contains the kiwi-overlay dracut module which is used @@ -406,6 +416,7 @@ overlay root filesystem %package -n kiwi-man-pages Summary: KIWI - manual pages +License: GPL-3.0+ Group: %{sysgroup} %description -n kiwi-man-pages