|
|
|
@@ -1,7 +1,7 @@
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# spec file for package python-mailman3-fedmsg-plugin
|
|
|
|
# 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
|
|
|
|
# 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,8 +16,7 @@
|
|
|
|
#
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
|
|
|
%{?sle15_python_module_pythons}
|
|
|
|
%define skip_python2 1
|
|
|
|
|
|
|
|
Name: python-mailman3-fedmsg-plugin
|
|
|
|
Name: python-mailman3-fedmsg-plugin
|
|
|
|
Version: 0.5
|
|
|
|
Version: 0.5
|
|
|
|
Release: 0
|
|
|
|
Release: 0
|
|
|
|
@@ -25,8 +24,9 @@ Summary: Emit fedmsg messages from mailman3
|
|
|
|
License: LGPL-2.0-only
|
|
|
|
License: LGPL-2.0-only
|
|
|
|
URL: https://github.com/fedora-infra/mailman3-fedmsg-plugin
|
|
|
|
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
|
|
|
|
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 setuptools}
|
|
|
|
|
|
|
|
BuildRequires: %{python_module wheel}
|
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: python-rpm-macros
|
|
|
|
BuildRequires: python-rpm-macros
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
|
@@ -39,10 +39,10 @@ Emit fedmsg messages from mailman3.
|
|
|
|
%setup -q -n mailman3-fedmsg-plugin-%{version}
|
|
|
|
%setup -q -n mailman3-fedmsg-plugin-%{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
|
|
|
|
@@ -51,6 +51,8 @@ Emit fedmsg messages from mailman3.
|
|
|
|
%files %{python_files}
|
|
|
|
%files %{python_files}
|
|
|
|
%doc README.rst
|
|
|
|
%doc README.rst
|
|
|
|
%license LICENSE
|
|
|
|
%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
|
|
|
|
%changelog
|
|
|
|
|