17
0

Compare commits

3 Commits

2 changed files with 15 additions and 7 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Feb 29 20:24:52 UTC 2024 - Ben Greiner <code@bnavigator.de>
- Update to SLE15 python module
- Build PEP517 wheel
-------------------------------------------------------------------
Mon Dec 2 10:47:14 UTC 2019 - pgajdos@suse.com

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-mailman3-fedmsg-plugin
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# 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
@@ -16,8 +16,7 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
%{?sle15_python_module_pythons}
Name: python-mailman3-fedmsg-plugin
Version: 0.5
Release: 0
@@ -25,8 +24,9 @@ Summary: Emit fedmsg messages from mailman3
License: LGPL-2.0-only
URL: https://github.com/fedora-infra/mailman3-fedmsg-plugin
Source: https://files.pythonhosted.org/packages/source/m/mailman3-fedmsg-plugin/mailman3-fedmsg-plugin-%{version}.tar.gz
BuildRequires: %{python_module devel}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
@@ -39,10 +39,10 @@ Emit fedmsg messages from mailman3.
%setup -q -n mailman3-fedmsg-plugin-%{version}
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@@ -51,6 +51,8 @@ Emit fedmsg messages from mailman3.
%files %{python_files}
%doc README.rst
%license LICENSE
%{python_sitelib}/*
%{python_sitelib}/mailman3_fedmsg_plugin.py
%pycache_only %{python_sitelib}/__pycache__/mailman3_fedmsg_plugin*.pyc
%{python_sitelib}/mailman3_fedmsg_plugin-%{version}.dist-info
%changelog