Hello community,
here is the log from the commit of package python-pymilter for
openSUSE:Leap:15.2 checked in at 2020-03-02 13:21:08
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/python-pymilter (Old)
and /work/SRC/openSUSE:Leap:15.2/.python-pymilter.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pymilter"
Mon Mar 2 13:21:08 2020 rev:3 rq:776990 version:1.0.4
Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/python-pymilter/python-pymilter.changes
2020-01-15 15:52:02.111549476 +0100
+++
/work/SRC/openSUSE:Leap:15.2/.python-pymilter.new.26092/python-pymilter.changes
2020-03-02 13:21:09.370135773 +0100
@@ -1,0 +2,16 @@
+Wed Dec 11 08:19:51 UTC 2019 - Tomáš Chvátal <[email protected]>
+
+- Require full python for sqlite module
+
+-------------------------------------------------------------------
+Thu Apr 25 08:37:53 UTC 2019 - [email protected]
+
+- version update to 1.0.4
+ - cleanup unused files, additional platform support
+ - Minor doc updates
+ - patch step for python3 no longer required in build
+- turn the test suite on
+- deleted patches
+ - pymilter-dns_dsn.patch (upstreamed)
+
+-------------------------------------------------------------------
Old:
----
pymilter-1.0.2.tar.gz
pymilter-dns_dsn.patch
New:
----
pymilter-1.0.4.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-pymilter.spec ++++++
--- /var/tmp/diff_new_pack.bKJyWb/_old 2020-03-02 13:21:09.786136597 +0100
+++ /var/tmp/diff_new_pack.bKJyWb/_new 2020-03-02 13:21:09.786136597 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-pymilter
#
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LLC
# Copyright (c) 2018 Neal Gompa <[email protected]>.
#
# All modifications and additions to the file contributed by third parties
@@ -13,41 +13,39 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
# we don't want to provide private python extension libs
%global __provides_exclude_from
^(%{python2_sitearch}/.*\\.so|%{python3_sitearch}/.*\\.so)$
-
# Python 2 module isn't building properly and we don't really need it right
now anyway...
%global skip_python2 1
-
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
-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
+Version: 1.0.4
Release: 0
+Summary: Python interface to the sendmail milter API
+License: GPL-2.0-or-later
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: %{python_module setuptools}
+BuildRequires: %{pythons}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRequires: sendmail-devel >= 8.13
BuildRequires: systemd-rpm-macros
-%if "%{python_flavor}" == "python2"
+# Common subpackage named as such to avoid creating flavor packages
+Requires: pymilter-common = %{version}-%{release}
+Requires: python
+%ifpython2
Requires: python2-pydns
%endif
-%if "%{python_flavor}" == "python3"
+%ifpython3
Requires: python3-py3dns
%endif
-# Common subpackage named as such to avoid creating flavor packages
-Requires: pymilter-common = %{version}-%{release}
%python_subpackages
%description
@@ -57,9 +55,8 @@
%package -n pymilter-common
Summary: Common files for pymilter
-Group: Development/Languages/Python
-BuildArch: noarch
Requires(post): systemd
+BuildArch: noarch
%description -n pymilter-common
This package contains the common files used for pymilter.
@@ -67,9 +64,6 @@
%prep
%autosetup -n pymilter-pymilter-%{version} -p1
-# Patch from within the source tree (*sigh*)...
-patch -p1 -b -z .py3 <milter.patch
-
%build
%python_build
@@ -83,6 +77,9 @@
%fdupes %{buildroot}%{python_sitearch}/*
+%check
+%python_expand PYTHONPATH=%{buildroot}%{$python_sitearch} $python -m unittest
discover -v
+
%files %{python_files}
%doc README ChangeLog NEWS TODO CREDITS sample.py milter-template.py
%license COPYING
++++++ pymilter-1.0.2.tar.gz -> pymilter-1.0.4.tar.gz ++++++
++++ 3217 lines of diff (skipped)