forked from pool/python-apacheconfig
Compare commits
2 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| d4abef0667 | |||
| 0e29c5636b |
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jun 16 12:21:33 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
- Convert to libalternatives
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Jul 2 13:11:20 UTC 2023 - ecsos <ecsos@opensuse.org>
|
Sun Jul 2 13:11:20 UTC 2023 - ecsos <ecsos@opensuse.org>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-apacheconfig
|
# spec file for package python-apacheconfig
|
||||||
#
|
#
|
||||||
# Copyright (c) 2023 SUSE LLC
|
# Copyright (c) 2025 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -16,6 +16,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%bcond_without libalternatives
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-apacheconfig
|
Name: python-apacheconfig
|
||||||
Version: 0.3.2
|
Version: 0.3.2
|
||||||
@@ -25,20 +26,20 @@ License: BSD-2-Clause
|
|||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
URL: https://github.com/etingof/apacheconfig
|
URL: https://github.com/etingof/apacheconfig
|
||||||
Source: https://files.pythonhosted.org/packages/source/a/apacheconfig/apacheconfig-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/a/apacheconfig/apacheconfig-%{version}.tar.gz
|
||||||
BuildRequires: python-rpm-macros
|
|
||||||
BuildRequires: %{python_module pip}
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: %{python_module wheel}
|
BuildRequires: %{python_module wheel}
|
||||||
|
BuildRequires: alts
|
||||||
|
BuildRequires: fdupes
|
||||||
|
BuildRequires: python-rpm-macros
|
||||||
|
Requires: alts
|
||||||
|
Requires: python-ply >= 3.4
|
||||||
|
Requires: python-six
|
||||||
|
BuildArch: noarch
|
||||||
# SECTION test requirements
|
# SECTION test requirements
|
||||||
BuildRequires: %{python_module ply >= 3.4}
|
BuildRequires: %{python_module ply >= 3.4}
|
||||||
BuildRequires: %{python_module six}
|
BuildRequires: %{python_module six}
|
||||||
# /SECTION
|
# /SECTION
|
||||||
BuildRequires: fdupes
|
|
||||||
Requires(post): update-alternatives
|
|
||||||
Requires(postun):update-alternatives
|
|
||||||
Requires: python-ply >= 3.4
|
|
||||||
Requires: python-six
|
|
||||||
BuildArch: noarch
|
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@@ -59,11 +60,8 @@ Apache / Config::General configuration file parser
|
|||||||
#CHOOSE: %%pytest OR %%pyunittest -v OR CUSTOM
|
#CHOOSE: %%pytest OR %%pyunittest -v OR CUSTOM
|
||||||
%pyunittest -v
|
%pyunittest -v
|
||||||
|
|
||||||
%post
|
%pre
|
||||||
%python_install_alternative apacheconfigtool
|
%python_libalternatives_reset_alternative apacheconfigtool
|
||||||
|
|
||||||
%postun
|
|
||||||
%python_uninstall_alternative apacheconfigtool
|
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc CHANGES.rst README.md
|
%doc CHANGES.rst README.md
|
||||||
|
|||||||
Reference in New Issue
Block a user