forked from pool/python-pymilter
Accepting request 633738 from home:jengelh:branches:devel:languages:python
- Fix grammar issues in description (I hope). Fix RPM group. OBS-URL: https://build.opensuse.org/request/show/633738 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pymilter?expand=0&rev=2
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
#
|
||||
# spec file for package python-pymilter
|
||||
#
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2018 Neal Gompa <ngompa13@gmail.com>.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
@@ -23,22 +24,22 @@
|
||||
%global skip_python2 1
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Summary: Python interface to sendmail milter API
|
||||
Summary: Python interface to the sendmail milter API
|
||||
License: GPL-2.0-or-later
|
||||
Group: Development/Languages/Python
|
||||
Name: python-pymilter
|
||||
Version: 1.0.2
|
||||
Release: 0
|
||||
License: GPL-2.0-or-later
|
||||
Group: Development/Libraries/Python
|
||||
URL: http://www.bmsi.com/python/milter.html
|
||||
Source0: https://github.com/sdgathman/pymilter/archive/pymilter-%{version}.tar.gz
|
||||
Source1: tmpfiles-python-pymilter.conf
|
||||
# Backported patch for Python 3
|
||||
Patch0: pymilter-dns_dsn.patch
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRequires: sendmail-devel >= 8.13
|
||||
BuildRequires: systemd-rpm-macros
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRequires: %{python_module devel}
|
||||
%if "%{python_flavor}" == "python2"
|
||||
Requires: python2-pydns
|
||||
%endif
|
||||
@@ -50,13 +51,13 @@ Requires: pymilter-common = %{version}-%{release}
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
This is a python extension module to enable python scripts to
|
||||
attach to sendmail's libmilter functionality. Additional python
|
||||
modules provide for navigating and modifying MIME parts, sending
|
||||
DSNs, and doing CBV.
|
||||
This is a Python extension module to enable python scripts to attach to
|
||||
sendmail's libmilter functionality. Additional Python modules provide for
|
||||
navigation and modification of MIME parts, sending DSNs, and doing CBV.
|
||||
|
||||
%package -n pymilter-common
|
||||
Summary: Common files for pymilter
|
||||
Group: Development/Languages/Python
|
||||
BuildArch: noarch
|
||||
Requires(post): systemd
|
||||
|
||||
@@ -96,5 +97,4 @@ install -m 0644 %{SOURCE1} %{buildroot}%{_tmpfilesdir}/%{name}.conf
|
||||
%post -n pymilter-common
|
||||
%tmpfiles_create %{_tmpfilesdir}/%{name}.conf
|
||||
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user