|
|
|
@@ -1,7 +1,7 @@
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# spec file for package python-VyattaConfParser
|
|
|
|
# spec file for package python-VyattaConfParser
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
|
|
|
# Copyright (c) 2025 SUSE LLC
|
|
|
|
# Copyright (c) 2017-2019, Martin Hauke <mardnh@gmx.de>
|
|
|
|
# Copyright (c) 2017-2019, Martin Hauke <mardnh@gmx.de>
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
@@ -17,8 +17,6 @@
|
|
|
|
#
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
|
|
|
|
|
|
|
%define skip_python2 1
|
|
|
|
|
|
|
|
Name: python-VyattaConfParser
|
|
|
|
Name: python-VyattaConfParser
|
|
|
|
Version: 0.5.5
|
|
|
|
Version: 0.5.5
|
|
|
|
Release: 0
|
|
|
|
Release: 0
|
|
|
|
@@ -27,7 +25,9 @@ License: MIT
|
|
|
|
URL: https://github.com/hedin/vyatta-conf-parser
|
|
|
|
URL: https://github.com/hedin/vyatta-conf-parser
|
|
|
|
#Source: https://files.pythonhosted.org/packages/source/V/VyattaConfParser/VyattaConfParser-%%{version}.tar.gz
|
|
|
|
#Source: https://files.pythonhosted.org/packages/source/V/VyattaConfParser/VyattaConfParser-%%{version}.tar.gz
|
|
|
|
Source: VyattaConfParser-%{version}.tar.xz
|
|
|
|
Source: VyattaConfParser-%{version}.tar.xz
|
|
|
|
|
|
|
|
BuildRequires: %{python_module pip}
|
|
|
|
BuildRequires: %{python_module setuptools}
|
|
|
|
BuildRequires: %{python_module setuptools}
|
|
|
|
|
|
|
|
BuildRequires: %{python_module wheel}
|
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: python-rpm-macros
|
|
|
|
BuildRequires: python-rpm-macros
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
|
@@ -44,10 +44,10 @@ Vyatta/VyOS config parser with unicode support and without dependencies.
|
|
|
|
%setup -q -n VyattaConfParser-%{version}
|
|
|
|
%setup -q -n VyattaConfParser-%{version}
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%python_build
|
|
|
|
%pyproject_wheel
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
%python_install
|
|
|
|
%pyproject_install
|
|
|
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
|
|
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
%check
|
|
|
|
@@ -56,6 +56,7 @@ Vyatta/VyOS config parser with unicode support and without dependencies.
|
|
|
|
%files %{python_files}
|
|
|
|
%files %{python_files}
|
|
|
|
%license LICENSE
|
|
|
|
%license LICENSE
|
|
|
|
%doc README.md
|
|
|
|
%doc README.md
|
|
|
|
%{python_sitelib}/*
|
|
|
|
%{python_sitelib}/[Vv]yatta[Cc]onf[Pp]arser
|
|
|
|
|
|
|
|
%{python_sitelib}/[Vv]yatta[Cc]onf[Pp]arser-%{version}*-info
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|