Hello community, here is the log from the commit of package python-pymilter for openSUSE:Factory checked in at 2019-12-11 12:14:28 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pymilter (Old) and /work/SRC/openSUSE:Factory/.python-pymilter.new.4691 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pymilter" Wed Dec 11 12:14:28 2019 rev:3 rq:755744 version:1.0.4 Changes: -------- --- /work/SRC/openSUSE:Factory/python-pymilter/python-pymilter.changes 2019-05-12 11:34:01.649980365 +0200 +++ /work/SRC/openSUSE:Factory/.python-pymilter.new.4691/python-pymilter.changes 2019-12-11 12:14:58.476514070 +0100 @@ -1,0 +2,5 @@ +Wed Dec 11 08:19:51 UTC 2019 - Tomáš Chvátal <tchva...@suse.com> + +- Require full python for sqlite module + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pymilter.spec ++++++ --- /var/tmp/diff_new_pack.MP9Scr/_old 2019-12-11 12:15:00.072513621 +0100 +++ /var/tmp/diff_new_pack.MP9Scr/_new 2019-12-11 12:15:00.072513621 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-pymilter # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LLC # Copyright (c) 2018 Neal Gompa <ngomp...@gmail.com>. # # All modifications and additions to the file contributed by third parties @@ -19,34 +19,33 @@ # 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.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 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 @@ -56,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. @@ -80,9 +78,7 @@ %fdupes %{buildroot}%{python_sitearch}/* %check -%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitearch} -$python -m unittest discover -} +%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