Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-user_agent for openSUSE:Factory checked in at 2025-06-12 15:53:42 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-user_agent (Old) and /work/SRC/openSUSE:Factory/.python-user_agent.new.19631 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-user_agent" Thu Jun 12 15:53:42 2025 rev:9 rq:1284988 version:0.1.10 Changes: -------- --- /work/SRC/openSUSE:Factory/python-user_agent/python-user_agent.changes 2023-06-07 23:08:47.303819410 +0200 +++ /work/SRC/openSUSE:Factory/.python-user_agent.new.19631/python-user_agent.changes 2025-06-12 15:55:31.034798475 +0200 @@ -1,0 +2,5 @@ +Thu Jun 12 05:01:38 UTC 2025 - Steve Kowalik <steven.kowa...@suse.com> + +- Switch to pyproject macros. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-user_agent.spec ++++++ --- /var/tmp/diff_new_pack.1d89mD/_old 2025-06-12 15:55:31.658824299 +0200 +++ /var/tmp/diff_new_pack.1d89mD/_new 2025-06-12 15:55:31.662824465 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-user_agent # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -21,16 +21,17 @@ Release: 0 Summary: User-Agent generator for Python License: MIT -Group: Development/Languages/Python URL: https://github.com/lorien/user_agent Source: https://files.pythonhosted.org/packages/source/u/user_agent/user_agent-%{version}.tar.gz # https://github.com/lorien/user_agent/commit/7a664a50cb1633a355a56594e255583a821176ba Patch0: python-user_agent-no-six.patch +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires(post): update-alternatives -Requires(postun):update-alternatives +Requires(postun): update-alternatives BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module pytest} @@ -44,10 +45,10 @@ %autosetup -p1 -n user_agent-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_clone -a %{buildroot}%{_bindir}/ua %python_expand %fdupes %{buildroot}%{$python_sitelib} @@ -65,5 +66,5 @@ %license LICENSE %python_alternative %{_bindir}/ua %{python_sitelib}/user_agent -%{python_sitelib}/user_agent-*.egg-info +%{python_sitelib}/user_agent-%{version}.dist-info