Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-pymacaroons-pynacl for
openSUSE:Factory checked in at 2024-03-04 21:25:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pymacaroons-pynacl (Old)
and /work/SRC/openSUSE:Factory/.python-pymacaroons-pynacl.new.1770 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pymacaroons-pynacl"
Mon Mar 4 21:25:00 2024 rev:6 rq:1154463 version:0.9.3
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-pymacaroons-pynacl/python-pymacaroons-pynacl.changes
2022-04-08 22:45:47.859086599 +0200
+++
/work/SRC/openSUSE:Factory/.python-pymacaroons-pynacl.new.1770/python-pymacaroons-pynacl.changes
2024-03-04 21:25:05.734307493 +0100
@@ -1,0 +2,6 @@
+Mon Mar 4 00:29:28 UTC 2024 - Steve Kowalik <[email protected]>
+
+- Switch to pyproject and autosetup macros.
+- No more greedy globs in %files.
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-pymacaroons-pynacl.spec ++++++
--- /var/tmp/diff_new_pack.vZr0iw/_old 2024-03-04 21:25:06.290327669 +0100
+++ /var/tmp/diff_new_pack.vZr0iw/_new 2024-03-04 21:25:06.290327669 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-pymacaroons-pynacl
#
-# Copyright (c) 2022 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
@@ -16,15 +16,12 @@
#
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
-%define skip_python2 1
%define github_name pymacaroons
Name: python-pymacaroons-pynacl
Version: 0.9.3
Release: 0
Summary: Macaroon library for Python
License: MIT
-Group: Development/Languages/Python
URL: https://github.com/matrix-org/pymacaroons
Source:
https://github.com/matrix-org/%{github_name}/archive/v%{version}/pymacaroons-%{version}.tar.gz
# https://github.com/ecordell/pymacaroons/pull/54/
@@ -32,9 +29,11 @@
BuildRequires: %{python_module PyNaCl}
BuildRequires: %{python_module cffi}
BuildRequires: %{python_module libnacl}
+BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module six}
+BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-PyNaCl
@@ -58,16 +57,15 @@
This is a Python implementation of Macaroons.
%prep
-%setup -q -n %{github_name}-%{version}
-%patch0 -p1
+%autosetup -p1 -n %{github_name}-%{version}
# requires too old hypothesis
rm -f tests/property_tests/macaroon_property_tests.py
%build
-%python_build
+%pyproject_wheel
%install
-%python_install
+%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@@ -76,5 +74,6 @@
%files %{python_files}
%license LICENSE
%doc README.md
-%{python_sitelib}/*
+%{python_sitelib}/pymacaroons
+%{python_sitelib}/pymacaroons_pynacl-%{version}.dist-info