14
0

Accepting request 1041230 from home:yarunachalam:branches:devel:languages:python

- Update to version 3.34 
  * Remove the auth and authconfig commands (pbrezina)
  The parse method is expected to return a value (vponcova)
  tests: unittest isn't used in handle_unicode anymore (bcl)
  Add RHEL 9 handler (mkolman)
  Resolves: rhbz#1966730
  Add RHEL 9 version for commands that had a RHEL version in the past (mkolman)
  Add RHEL 9 version for BTRFS related commands (mkolman)

OBS-URL: https://build.opensuse.org/request/show/1041230
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pykickstart?expand=0&rev=7
This commit is contained in:
2022-12-09 00:21:35 +00:00
committed by Git OBS Bridge
parent bf90049292
commit e37c92236e
4 changed files with 22 additions and 16 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:45b4961f9abbf4f5265737ab45fb8410a333ce60891557438f183b7d7081037d
size 752421

3
pykickstart-3.43.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e40236a8ec58c914d31e3f47a89e9a8af1dd29501fd93606f28cb86c96521def
size 813379

View File

@@ -1,3 +1,15 @@
-------------------------------------------------------------------
Wed Dec 7 20:54:04 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
- Update to version 3.34
* Remove the auth and authconfig commands (pbrezina)
The parse method is expected to return a value (vponcova)
tests: unittest isn't used in handle_unicode anymore (bcl)
Add RHEL 9 handler (mkolman)
Resolves: rhbz#1966730
Add RHEL 9 version for commands that had a RHEL version in the past (mkolman)
Add RHEL 9 version for BTRFS related commands (mkolman)
-------------------------------------------------------------------
Sun Jan 31 00:07:23 UTC 2021 - Neal Gompa <ngompa13@gmail.com>

View File

@@ -1,6 +1,7 @@
#
# spec file for package python-pykickstart
# spec file
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2020 Neal Gompa <ngompa13@gmail.com>.
#
# All modifications and additions to the file contributed by third parties
@@ -21,24 +22,23 @@
# Python 2 isn't supported...
%global skip_python2 1
Name: python-%{mod_name}
Version: 3.30
Version: 3.43
Release: 0
Summary: Python module for parsing and writing kickstart files
Group: Development/Libraries/Python
License: GPL-2.0 AND MIT
License: GPL-2.0-only AND MIT
URL: http://fedoraproject.org/wiki/pykickstart
Source0: https://github.com/pykickstart/pykickstart/releases/download/r%{version}/%{mod_name}-%{version}.tar.gz
BuildArch: noarch
BuildRequires: fdupes
BuildRequires: gettext
BuildRequires: python-rpm-macros
BuildRequires: %{python_module requests}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module six}
BuildRequires: fdupes
BuildRequires: gettext
BuildRequires: python-rpm-macros
Requires: python-requests
Requires: python-six
@@ -53,14 +53,12 @@ and a writer to generate kickstart files.
%prep
%autosetup -n %{mod_name}-%{version} -p1
%build
# Build all the translations and such
%make_build PYTHON=%{__python3}
%python_build
%install
%python_install
@@ -78,21 +76,18 @@ and a writer to generate kickstart files.
%check
%python_expand PYTHONPATH=.. $python -m unittest discover -v
%post
%python_install_alternative ksflatten ksflatten.1%{?ext_man}
%python_install_alternative ksshell ksshell.1%{?ext_man}
%python_install_alternative ksvalidator ksvalidator.1%{?ext_man}
%python_install_alternative ksverdiff ksverdiff.1%{?ext_man}
%postun
%python_uninstall_alternative ksflatten ksflatten.1%{?ext_man}
%python_uninstall_alternative ksshell ksshell.1%{?ext_man}
%python_uninstall_alternative ksvalidator ksvalidator.1%{?ext_man}
%python_uninstall_alternative ksverdiff ksverdiff.1%{?ext_man}
%files %{python_files}
%license COPYING
%doc README.rst
@@ -111,5 +106,4 @@ and a writer to generate kickstart files.
%python_alternative %{_bindir}/ksverdiff
%python_alternative %{_mandir}/man1/ksverdiff.1%{?ext_man}
%changelog