Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-isc_dhcp_leases for 
openSUSE:Factory checked in at 2022-11-07 15:55:55
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-isc_dhcp_leases (Old)
 and      /work/SRC/openSUSE:Factory/.python-isc_dhcp_leases.new.1597 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-isc_dhcp_leases"

Mon Nov  7 15:55:55 2022 rev:3 rq:1034220 version:0.9.1

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-isc_dhcp_leases/python-isc_dhcp_leases.changes
    2021-09-02 23:20:19.900554744 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-isc_dhcp_leases.new.1597/python-isc_dhcp_leases.changes
  2022-11-07 15:55:58.126154349 +0100
@@ -1,0 +2,8 @@
+Mon Nov  7 14:14:13 UTC 2022 - [email protected]
+
+- do not require python-six
+- added patches
+  fix https://github.com/MartijnBraam/python-isc-dhcp-leases/issues/38
+  + python-isc_dhcp_leases-remove-unused-code.patch
+
+-------------------------------------------------------------------

New:
----
  python-isc_dhcp_leases-remove-unused-code.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-isc_dhcp_leases.spec ++++++
--- /var/tmp/diff_new_pack.Mpat14/_old  2022-11-07 15:55:58.530156335 +0100
+++ /var/tmp/diff_new_pack.Mpat14/_new  2022-11-07 15:55:58.538156373 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-isc_dhcp_leases
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,7 +16,6 @@
 #
 
 
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-isc_dhcp_leases
 Version:        0.9.1
 Release:        0
@@ -25,14 +24,14 @@
 Group:          Development/Languages/Python
 URL:            https://github.com/MartijnBraam/python-isc-dhcp-leases
 Source:         
https://github.com/MartijnBraam/python-isc-dhcp-leases/archive/%{version}.tar.gz#/isc_dhcp_leases-%{version}.tar.gz
+# https://github.com/MartijnBraam/python-isc-dhcp-leases/issues/38
+Patch0:         python-isc_dhcp_leases-remove-unused-code.patch
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 # SECTION test requirements
 BuildRequires:  %{python_module freezegun}
-BuildRequires:  %{python_module six}
 # /SECTION
-Requires:       python-six
 BuildArch:      noarch
 %python_subpackages
 
@@ -43,6 +42,7 @@
 
 %prep
 %setup -q -n python-isc-dhcp-leases-%{version}
+%patch0 -p1
 
 %build
 %python_build

++++++ python-isc_dhcp_leases-remove-unused-code.patch ++++++
Index: python-isc-dhcp-leases-0.9.1/isc_dhcp_leases/iscdhcpleases.py
===================================================================
--- python-isc-dhcp-leases-0.9.1.orig/isc_dhcp_leases/iscdhcpleases.py
+++ python-isc-dhcp-leases-0.9.1/isc_dhcp_leases/iscdhcpleases.py
@@ -5,8 +5,6 @@ import re
 import struct
 import gzip
 
-from six import iteritems
-
 
 def parse_time(s):
     """

Reply via email to