forked from pool/orthos-client
Can we have this updated in factory? - Update to version 1.2.83+git.cb8bcaf: * Add undefined-variable to .pylintrc * Fix machine bugs * Get image install directory via ServerConfig key * Several virtualization fixes * Remove shebang from utils/remote.py and add description how to use if for testing * Fix not existing attribute usage timezone.ZERO in task RegenerateMotd * Update serial console server on BMC user/pass modifications * Set default serial device fro powerpc to hvc * Enhance saver() machine checks to properly update serial console and BMC * Do not allow renaming of machines * Make use of ssh shell call instead of paramiko lib in machinechecks.py * Add remote.py (ssh/scp) to replace paramiko python3 ssh library usage * Add remote.py (ssh/scp) to replace paramiko python3 ssh library usage * Properly update and also remove in empty case ipv6 and other machine options * Properly fix port checking for remote power devices * 'W0611' is cryptic: use '# pylint: disable=unused-import' instead * Fix wrong import order * Fix one bracket too much bug * Fix: orthos2.noarch: E: non-executable-script * orthos2.noarch: W: tmpfile-not-in-filelist /run/orthos2/ansible_lastrun * orthos2.noarch: E: zero-length /usr/lib/python3.8/site-packages/orthos2/utils/models.py * Remove not needed lintrc line * Signal() does not have providing_args attribute in constructor anymore * Use url_has_allowed_host_and_scheme instead of deprecated is_safe_url * Convert old django.conf.url import to new django.url * Remove wrong or unused translation bits and imports * Enhance command line client documentation * If no profile to install is provided, just install the assigned profile * Introduce autoreinstall machine attribute OBS-URL: https://build.opensuse.org/request/show/1118461 OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/orthos-client?expand=0&rev=9
57 lines
1.7 KiB
RPMSpec
57 lines
1.7 KiB
RPMSpec
#
|
|
# spec file for package orthos-client
|
|
#
|
|
# 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
|
|
# 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/
|
|
#
|
|
|
|
|
|
Name: orthos-client
|
|
Version: 1.2.83+git.cb8bcaf
|
|
Release: 0
|
|
Summary: Command line client for orthos2
|
|
License: GPL-2.0-or-later
|
|
Group: Productivity/Networking/Boot/Servers
|
|
URL: https://github.com/openSUSE/orthos2
|
|
Source: orthos2-%{version}.tar.gz
|
|
BuildRequires: python3-docutils
|
|
Requires: python3-base
|
|
Requires: python3-pytz
|
|
BuildArch: noarch
|
|
|
|
%description
|
|
Command line client that provides a shell like command
|
|
line interface based on readline.
|
|
|
|
%prep
|
|
|
|
%setup -q -n orthos2-%{version}
|
|
|
|
%build
|
|
|
|
%install
|
|
mkdir -p %{buildroot}/%{_bindir}
|
|
mkdir -p %{buildroot}/%{_sysconfdir}
|
|
mkdir -p %{buildroot}/%{_mandir}/man1
|
|
|
|
install cli/orthos2 %{buildroot}/%{_bindir}/orthos2
|
|
install cli/orthosrc %{buildroot}/%{_sysconfdir}/orthosrc
|
|
rst2man docs/commandline.rst %{buildroot}/%{_mandir}/man1/orthos2.1
|
|
|
|
%files
|
|
%attr(755, root, root) %{_bindir}/orthos2
|
|
%config %attr(644, root, root) %{_sysconfdir}/orthosrc
|
|
%{_mandir}/man1/orthos2.1*
|
|
|
|
%changelog
|