Sync from SUSE:ALP:Source:Standard:1.0 saltbundlepy-kiwi revision fc3e73292fb95bea15402e668a75a250
This commit is contained in:
commit
916d20f6f4
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
BIN
python-kiwi.tar.gz
(Stored with Git LFS)
Normal file
BIN
python-kiwi.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
1
saltbundlepy-kiwi-rpmlintrc
Normal file
1
saltbundlepy-kiwi-rpmlintrc
Normal file
@ -0,0 +1 @@
|
||||
addFilter('python-bytecode-inconsistent-mtime')
|
16518
saltbundlepy-kiwi.changes
Normal file
16518
saltbundlepy-kiwi.changes
Normal file
File diff suppressed because it is too large
Load Diff
94
saltbundlepy-kiwi.spec
Normal file
94
saltbundlepy-kiwi.spec
Normal file
@ -0,0 +1,94 @@
|
||||
#
|
||||
# spec file for package saltbundlepy-kiwi
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# 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 https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%{?!saltbundlepy_module:%define saltbundlepy_module() saltbundlepy-%{**}}
|
||||
%define pythons saltbundlepy
|
||||
|
||||
# Disable python bytecompile for all distros
|
||||
# It's called explicitly in the spec
|
||||
%global __brp_python_bytecompile %{nil}
|
||||
|
||||
# If they aren't provided by a system installed macro, define them
|
||||
%{!?_defaultdocdir: %global _defaultdocdir %{_datadir}/doc}
|
||||
|
||||
Name: saltbundlepy-kiwi
|
||||
Version: 9.24.43
|
||||
Release: 0
|
||||
URL: https://github.com/OSInside/kiwi
|
||||
Summary: KIWI - Appliance Builder Next Generation
|
||||
License: GPL-3.0-or-later
|
||||
Group: Development/Languages/Python
|
||||
Source: python-kiwi.tar.gz
|
||||
Source1: %{name}-rpmlintrc
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: %{saltbundlepy_module base >= 3.10}
|
||||
BuildRequires: %{saltbundlepy_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: saltbundlepy-rpm-macros
|
||||
Requires: saltbundlepy-docopt
|
||||
Requires: saltbundlepy-lxml
|
||||
Requires: saltbundlepy-pyxattr
|
||||
Requires: saltbundlepy-pyyaml
|
||||
Requires: saltbundlepy-requests
|
||||
Requires: saltbundlepy-setuptools
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
The KIWI Image System provides an operating system image builder
|
||||
for Linux supported hardware platforms as well as for virtualization
|
||||
and cloud systems like Xen, KVM, VMware, EC2 and more.
|
||||
|
||||
%prep
|
||||
%setup -q -n kiwi-%{version}
|
||||
|
||||
# Drop shebang for kiwi/xml_parse.py, as we don't intend to use it
|
||||
# as an independent script
|
||||
sed -e "s|#!/usr/bin/env python||" -i kiwi/xml_parse.py
|
||||
|
||||
%build
|
||||
# Build C-Tools
|
||||
make CFLAGS="${RPM_OPT_FLAGS}" tools
|
||||
|
||||
%install
|
||||
# Install Python 3 version
|
||||
%{python_expand \
|
||||
$python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
$python -m compileall -d %{$python_sitelib} %{buildroot}%{$python_sitelib}
|
||||
$python -O -m compileall -d %{$python_sitelib} %{buildroot}%{$python_sitelib}
|
||||
%fdupes -s %{buildroot}%{$python_sitelib}
|
||||
}
|
||||
|
||||
%python_clone -a %{buildroot}%{_bindir}/kiwi-ng
|
||||
%python_clone -a %{buildroot}%{_bindir}/kiwicompat
|
||||
|
||||
%post
|
||||
%python_install_alternative kiwi-ng
|
||||
%python_install_alternative kiwicompat
|
||||
|
||||
%postun
|
||||
%python_uninstall_alternative kiwi-ng
|
||||
%python_uninstall_alternative kiwicompat
|
||||
|
||||
%files %{python_files}
|
||||
%{_bindir}/kiwi*
|
||||
%{python_sitelib}/kiwi*
|
||||
%ghost %_sysconfdir/alternatives/kiwi-ng
|
||||
%ghost %_sysconfdir/alternatives/kiwicompat
|
||||
|
||||
%changelog
|
Loading…
Reference in New Issue
Block a user