From e554e930228682cab1f6b0747a45081e65f84e38eeb40d6b9a6636b574dc7659 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Tue, 9 Jan 2024 21:54:45 +0000 Subject: [PATCH] - update to 1.0.5: * fix deprecation warnings OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pymilter?expand=0&rev=13 --- pymilter-1.0.4.tar.gz | 3 --- pymilter-1.0.5.tar.gz | 3 +++ python-pymilter.changes | 6 ++++++ python-pymilter.spec | 14 ++++++++------ 4 files changed, 17 insertions(+), 9 deletions(-) delete mode 100644 pymilter-1.0.4.tar.gz create mode 100644 pymilter-1.0.5.tar.gz diff --git a/pymilter-1.0.4.tar.gz b/pymilter-1.0.4.tar.gz deleted file mode 100644 index 66ec737..0000000 --- a/pymilter-1.0.4.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f871e29d2bb4bb192e9d9a1f205278f55cb0092a6c8c84ab698171924e4d2a2c -size 1023222 diff --git a/pymilter-1.0.5.tar.gz b/pymilter-1.0.5.tar.gz new file mode 100644 index 0000000..7067551 --- /dev/null +++ b/pymilter-1.0.5.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8093032829ddd53261dbe2991959514156767f3785dfb095ed9b17f3fba965e1 +size 1030610 diff --git a/python-pymilter.changes b/python-pymilter.changes index 35e5174..c82d6e9 100644 --- a/python-pymilter.changes +++ b/python-pymilter.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sat Jan 7 23:24:10 UTC 2023 - Dirk Müller + +- update to 1.0.5: + * fix deprecation warnings + ------------------------------------------------------------------- Sat Feb 13 00:04:30 UTC 2021 - Neal Gompa diff --git a/python-pymilter.spec b/python-pymilter.spec index 2f16511..c349f20 100644 --- a/python-pymilter.spec +++ b/python-pymilter.spec @@ -1,7 +1,7 @@ # # spec file for package python-pymilter # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2024 SUSE LLC # Copyright (c) 2018 Neal Gompa . # # All modifications and additions to the file contributed by third parties @@ -23,13 +23,14 @@ %global skip_python2 1 %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-pymilter -Version: 1.0.4 +Version: 1.0.5 Release: 0 Summary: Python interface to the sendmail milter API License: GPL-2.0-or-later -URL: http://www.bmsi.com/python/milter.html +URL: https://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 bsddb3} BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: %{pythons} @@ -40,6 +41,7 @@ BuildRequires: systemd-rpm-macros # Common subpackage named as such to avoid creating flavor packages Requires: pymilter-common = %{version}-%{release} Requires: python +Requires: python-bsddb3 Requires: python-py3dns %python_subpackages @@ -70,13 +72,13 @@ mkdir -p %{buildroot}%{_libexecdir}/milter mkdir -p %{buildroot}%{_tmpfilesdir} install -m 0644 %{SOURCE1} %{buildroot}%{_tmpfilesdir}/%{name}.conf -%fdupes %{buildroot}%{python_sitearch}/* +%fdupes %{buildroot}%{python_sitearch} %check -%python_expand PYTHONPATH=%{buildroot}%{$python_sitearch} $python -m unittest discover -v +%pyunittest_arch -v -k "not testPolicy" %files %{python_files} -%doc README ChangeLog NEWS TODO CREDITS sample.py milter-template.py +%doc README.md ChangeLog NEWS TODO CREDITS sample.py template.py %license COPYING %{python_sitearch}/*