Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-locket for openSUSE:Factory 
checked in at 2022-07-05 12:08:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-locket (Old)
 and      /work/SRC/openSUSE:Factory/.python-locket.new.1548 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-locket"

Tue Jul  5 12:08:49 2022 rev:3 rq:985683 version:1.0.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-locket/python-locket.changes      
2018-12-07 14:38:08.118867803 +0100
+++ /work/SRC/openSUSE:Factory/.python-locket.new.1548/python-locket.changes    
2022-07-05 12:08:51.384502972 +0200
@@ -1,0 +2,12 @@
+Fri Jun 24 21:37:54 UTC 2022 - Ben Greiner <[email protected]>
+
+- Update to 1.0.0
+  * No release notes. From git log:
+  * Fix #5: make sure it is sane to use different timeouts on the
+    same file
+  * Close file when acquire() fails
+  * Raise LockError when calling release on an unlocked lock
+  * Use time.monotonic() when available
+- Enable test suite -- by requiring untested spur.py :(
+
+-------------------------------------------------------------------

Old:
----
  locket-0.2.0.tar.gz

New:
----
  locket-1.0.0-gh.tar.gz

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

Other differences:
------------------
++++++ python-locket.spec ++++++
--- /var/tmp/diff_new_pack.i9GHLF/_old  2022-07-05 12:08:52.096503995 +0200
+++ /var/tmp/diff_new_pack.i9GHLF/_new  2022-07-05 12:08:52.104504007 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-locket
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# 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
@@ -18,14 +18,16 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-locket
-Version:        0.2.0
+Version:        1.0.0
 Release:        0
 Summary:        File-based locks for Python
 License:        BSD-2-Clause
 Group:          Development/Languages/Python
-Url:            http://github.com/mwilliamson/locket.py
-Source:         
https://files.pythonhosted.org/packages/source/l/locket/locket-%{version}.tar.gz
+URL:            https://github.com/mwilliamson/locket.py
+Source:         
https://github.com/mwilliamson/locket.py/archive/refs/tags/%{version}.tar.gz#/locket-%{version}-gh.tar.gz
+BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module spur}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 BuildArch:      noarch
@@ -50,7 +52,7 @@
 * Behaviour of locks after `fork` is undefined.
 
 %prep
-%setup -q -n locket-%{version}
+%setup -q -n locket.py-%{version}
 
 %build
 %python_build
@@ -59,9 +61,13 @@
 %python_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
+%check
+%pytest
+
 %files %{python_files}
 %doc README.rst
 %license LICENSE
-%{python_sitelib}/*
+%{python_sitelib}/locket
+%{python_sitelib}/locket-%{version}*-info
 
 %changelog

Reply via email to