14
0

- 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
This commit is contained in:
2024-01-09 21:54:45 +00:00
committed by Git OBS Bridge
parent ced87f5c10
commit e554e93022
4 changed files with 17 additions and 9 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f871e29d2bb4bb192e9d9a1f205278f55cb0092a6c8c84ab698171924e4d2a2c
size 1023222

3
pymilter-1.0.5.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8093032829ddd53261dbe2991959514156767f3785dfb095ed9b17f3fba965e1
size 1030610

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sat Jan 7 23:24:10 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 1.0.5:
* fix deprecation warnings
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Feb 13 00:04:30 UTC 2021 - Neal Gompa <ngompa13@gmail.com> Sat Feb 13 00:04:30 UTC 2021 - Neal Gompa <ngompa13@gmail.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-pymilter # spec file for package python-pymilter
# #
# Copyright (c) 2021 SUSE LLC # Copyright (c) 2024 SUSE LLC
# Copyright (c) 2018 Neal Gompa <ngompa13@gmail.com>. # Copyright (c) 2018 Neal Gompa <ngompa13@gmail.com>.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
@@ -23,13 +23,14 @@
%global skip_python2 1 %global skip_python2 1
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-pymilter Name: python-pymilter
Version: 1.0.4 Version: 1.0.5
Release: 0 Release: 0
Summary: Python interface to the sendmail milter API Summary: Python interface to the sendmail milter API
License: GPL-2.0-or-later 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 Source0: https://github.com/sdgathman/pymilter/archive/pymilter-%{version}.tar.gz
Source1: tmpfiles-python-pymilter.conf Source1: tmpfiles-python-pymilter.conf
BuildRequires: %{python_module bsddb3}
BuildRequires: %{python_module devel} BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: %{pythons} BuildRequires: %{pythons}
@@ -40,6 +41,7 @@ BuildRequires: systemd-rpm-macros
# Common subpackage named as such to avoid creating flavor packages # Common subpackage named as such to avoid creating flavor packages
Requires: pymilter-common = %{version}-%{release} Requires: pymilter-common = %{version}-%{release}
Requires: python Requires: python
Requires: python-bsddb3
Requires: python-py3dns Requires: python-py3dns
%python_subpackages %python_subpackages
@@ -70,13 +72,13 @@ mkdir -p %{buildroot}%{_libexecdir}/milter
mkdir -p %{buildroot}%{_tmpfilesdir} mkdir -p %{buildroot}%{_tmpfilesdir}
install -m 0644 %{SOURCE1} %{buildroot}%{_tmpfilesdir}/%{name}.conf install -m 0644 %{SOURCE1} %{buildroot}%{_tmpfilesdir}/%{name}.conf
%fdupes %{buildroot}%{python_sitearch}/* %fdupes %{buildroot}%{python_sitearch}
%check %check
%python_expand PYTHONPATH=%{buildroot}%{$python_sitearch} $python -m unittest discover -v %pyunittest_arch -v -k "not testPolicy"
%files %{python_files} %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 %license COPYING
%{python_sitearch}/* %{python_sitearch}/*