From 8677a3bcb9ef4465c00c5f8a3cbf20df6e1bf52f Mon Sep 17 00:00:00 2001
From: StevenK <>
Date: Jun 12 2025 14:32:48 +0000
Subject: Update python-user_agent to version 0.1.10 / rev 9 via SR 1284988


https://build.opensuse.org/request/show/1284988
by user StevenK + anag_factory
- Switch to pyproject macros.

---

diff --git a/.files b/.files
index 87cd1a6..51109df 100644
Binary files a/.files and b/.files differ
diff --git a/.rev b/.rev
index 287eb62..66bf5cc 100644
--- a/.rev
+++ b/.rev
@@ -63,4 +63,12 @@
     <comment></comment>
     <requestid>1091327</requestid>
   </revision>
+  <revision rev="9" vrev="3">
+    <srcmd5>0618ff077ed17a3e9a7ea54847f5e55f</srcmd5>
+    <version>0.1.10</version>
+    <time>1749736422</time>
+    <user>anag_factory</user>
+    <comment>- Switch to pyproject macros.</comment>
+    <requestid>1284988</requestid>
+  </revision>
 </revisionlist>
diff --git a/python-user_agent.changes b/python-user_agent.changes
index 9a95f77..641a50f 100644
--- a/python-user_agent.changes
+++ b/python-user_agent.changes
@@ -1,4 +1,9 @@
 -------------------------------------------------------------------
+Thu Jun 12 05:01:38 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
+
+- Switch to pyproject macros.
+
+-------------------------------------------------------------------
 Tue Jun  6 13:51:11 UTC 2023 - pgajdos@suse.com
 
 - do not require six
diff --git a/python-user_agent.spec b/python-user_agent.spec
index c6fbd96..6e63dd7 100644
--- a/python-user_agent.spec
+++ b/python-user_agent.spec
@@ -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 @@ Version:        0.1.10
 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 @@ This module generates random, valid web user agents.
 %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,6 +66,6 @@ This module generates random, valid web user agents.
 %license LICENSE
 %python_alternative %{_bindir}/ua
 %{python_sitelib}/user_agent
-%{python_sitelib}/user_agent-*.egg-info
+%{python_sitelib}/user_agent-%{version}.dist-info
 
 %changelog