diff --git a/isc_dhcp_leases-0.10.0.tar.gz b/isc_dhcp_leases-0.10.0.tar.gz new file mode 100644 index 0000000..cce1326 --- /dev/null +++ b/isc_dhcp_leases-0.10.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e42fddc305b530493b56354588cdd5764930c4b645cf107407820a13524d34e3 +size 12276 diff --git a/isc_dhcp_leases-0.9.1.tar.gz b/isc_dhcp_leases-0.9.1.tar.gz deleted file mode 100644 index 5da0c5b..0000000 --- a/isc_dhcp_leases-0.9.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:392843bea965fc4cec15846973c80fe54e657d18321525a4d2daee2347b1a6bc -size 11736 diff --git a/python-isc_dhcp_leases-remove-unused-code.patch b/python-isc_dhcp_leases-remove-unused-code.patch index 6a2b078..467c3a1 100644 --- a/python-isc_dhcp_leases-remove-unused-code.patch +++ b/python-isc_dhcp_leases-remove-unused-code.patch @@ -1,7 +1,7 @@ -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 +diff --git a/isc_dhcp_leases/iscdhcpleases.py b/isc_dhcp_leases/iscdhcpleases.py +index e16677e..8578060 100644 +--- a/isc_dhcp_leases/iscdhcpleases.py ++++ b/isc_dhcp_leases/iscdhcpleases.py @@ -5,8 +5,6 @@ import re import struct import gzip @@ -9,5 +9,5 @@ Index: python-isc-dhcp-leases-0.9.1/isc_dhcp_leases/iscdhcpleases.py -from six import iteritems - - def parse_time(s): - """ + try: + utc = datetime.timezone.utc diff --git a/python-isc_dhcp_leases.changes b/python-isc_dhcp_leases.changes index 51fe2e0..5705300 100644 --- a/python-isc_dhcp_leases.changes +++ b/python-isc_dhcp_leases.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Thu Aug 31 15:41:47 UTC 2023 - Martin Hauke + +- Update to version 0.10.0 + * Fix timezone awareness for Python 2.7.x + * Support working with historical dhcpd.leases files + * Use timezone-aware datetime objects + * Refactor keyword argument passing to BaseLease + ------------------------------------------------------------------- Mon Nov 7 14:14:13 UTC 2022 - pgajdos@suse.com diff --git a/python-isc_dhcp_leases.spec b/python-isc_dhcp_leases.spec index 472a997..ec57d4a 100644 --- a/python-isc_dhcp_leases.spec +++ b/python-isc_dhcp_leases.spec @@ -1,7 +1,7 @@ # # spec file for package python-isc_dhcp_leases # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: python-isc_dhcp_leases -Version: 0.9.1 +Version: 0.10.0 Release: 0 Summary: Python module for reading dhcpd.leases from ISC DHCP server License: MIT