First build based on py2pack
This commit is contained in:
4
python-saltext-apache.changes
Normal file
4
python-saltext-apache.changes
Normal file
@@ -0,0 +1,4 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 29 09:16:15 UTC 2025 - Alexander Graul <alexander.graul@suse.com>
|
||||
|
||||
- Initial package
|
||||
63
python-saltext-apache.spec
Normal file
63
python-saltext-apache.spec
Normal file
@@ -0,0 +1,63 @@
|
||||
#
|
||||
# spec file for package python-saltext.apache
|
||||
#
|
||||
# Copyright (c) 2025 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: python-saltext-apache
|
||||
Version: 1.0.0
|
||||
Release: 0
|
||||
Summary: Salt Extension for interacting with Apache
|
||||
License: Apache-2.0
|
||||
URL: https://github.com/salt-extensions/saltext-apache
|
||||
Source: https://files.pythonhosted.org/packages/source/s/saltext.apache/saltext_apache-%{version}.tar.gz
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module setuptools >= 50.3.2}
|
||||
BuildRequires: %{python_module setuptools_scm >= 3.4}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
# SECTION test requirements
|
||||
BuildRequires: %{python_module salt >= 3006}
|
||||
BuildRequires: %{python_module pytest >= 7.0.0}
|
||||
BuildRequires: %{python_module pytest-salt-factories >= 1.0.0~rc21}
|
||||
# /SECTION
|
||||
Requires: python-salt >= 3006
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
Salt Extension for interacting with Apache
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n saltext_apache-%{version}
|
||||
|
||||
%build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%pytest
|
||||
|
||||
%files %{python_files}
|
||||
%doc CHANGELOG.md README.md NOTICE
|
||||
%license LICENSE
|
||||
%dir %{python_sitelib}/saltext
|
||||
%{python_sitelib}/saltext/apache
|
||||
%{python_sitelib}/saltext_apache-%{version}.dist-info
|
||||
|
||||
%changelog
|
||||
BIN
saltext_apache-1.0.0.tar.gz
LFS
Normal file
BIN
saltext_apache-1.0.0.tar.gz
LFS
Normal file
Binary file not shown.
Reference in New Issue
Block a user