Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-requests-hawk for
openSUSE:Factory checked in at 2024-03-13 22:18:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-requests-hawk (Old)
and /work/SRC/openSUSE:Factory/.python-requests-hawk.new.1770 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-requests-hawk"
Wed Mar 13 22:18:03 2024 rev:8 rq:1157072 version:1.2.1
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-requests-hawk/python-requests-hawk.changes
2023-05-08 17:25:17.161050674 +0200
+++
/work/SRC/openSUSE:Factory/.python-requests-hawk.new.1770/python-requests-hawk.changes
2024-03-13 22:18:58.553149991 +0100
@@ -1,0 +2,6 @@
+Tue Mar 12 01:32:27 UTC 2024 - Steve Kowalik <[email protected]>
+
+- Switch to pyproject macros.
+- Correct one test unit assertion method.
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-requests-hawk.spec ++++++
--- /var/tmp/diff_new_pack.M2pvUx/_old 2024-03-13 22:18:58.989166065 +0100
+++ /var/tmp/diff_new_pack.M2pvUx/_new 2024-03-13 22:18:58.989166065 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-requests-hawk
#
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -24,8 +24,10 @@
URL: https://github.com/mozilla-services/requests-hawk
Source:
https://files.pythonhosted.org/packages/source/r/requests-hawk/requests-hawk-%{version}.tar.gz
BuildRequires: %{python_module mohawk}
+BuildRequires: %{python_module pip}
BuildRequires: %{python_module requests}
BuildRequires: %{python_module setuptools}
+BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-mohawk
@@ -43,12 +45,13 @@
%prep
%setup -q -n requests-hawk-%{version}
+sed -ie 's/\(assertEqual\)s/\1/' requests_hawk/tests/test_hawkauth.py
%build
-%python_build
+%pyproject_wheel
%install
-%python_install
+%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@@ -58,5 +61,5 @@
%license LICENSE.txt
%doc CHANGES.txt README.rst
%{python_sitelib}/requests_hawk
-%{python_sitelib}/requests_hawk-%{version}*-info
+%{python_sitelib}/requests_hawk-%{version}.dist-info