From f4ecf0305618072d2c74403cb637d5f0a0901ac47f254172c31dc572bb8fbbc5 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Tue, 24 Oct 2023 12:13:20 +0000 Subject: [PATCH] - use the versioned metadata (requires setuptools_scm) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pproxy?expand=0&rev=8 --- python-pproxy.changes | 5 +++++ python-pproxy.spec | 6 ++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/python-pproxy.changes b/python-pproxy.changes index 2524458..ee62d17 100644 --- a/python-pproxy.changes +++ b/python-pproxy.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Oct 24 12:13:06 UTC 2023 - Dirk Müller + +- use the versioned metadata (requires setuptools_scm) + ------------------------------------------------------------------- Tue Jul 4 13:08:24 UTC 2023 - ecsos diff --git a/python-pproxy.spec b/python-pproxy.spec index 327a937..fff51a5 100644 --- a/python-pproxy.spec +++ b/python-pproxy.spec @@ -1,7 +1,7 @@ # # spec file for package python-pproxy # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -24,6 +24,7 @@ Summary: Proxy server that can tunnel among remote servers by regex rules License: MIT URL: https://github.com/qwj/python-proxy Source: https://files.pythonhosted.org/packages/source/p/pproxy/pproxy-%{version}.tar.gz +BuildRequires: %{python_module setuptools_scm} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -77,6 +78,7 @@ done %doc README.rst %license LICENSE %python_alternative %{_bindir}/pproxy -%{python_sitelib}/* +%{python_sitelib}/pproxy-%{version}*-info +%{python_sitelib}/pproxy %changelog