From b89963930ee004d061736acb5c7830618520c2e6 Mon Sep 17 00:00:00 2001 From: StevenK <> Date: Jun 03 2025 16:25:56 +0000 Subject: Update python-dogslow to version 1.2 / rev 2 via SR 1282147 https://build.opensuse.org/request/show/1282147 by user StevenK + anag_factory - Switch to pyproject macros. - No more greedy globs in %files. --- diff --git a/.files b/.files index dd7cbcd..9dac6ee 100644 Binary files a/.files and b/.files differ diff --git a/.rev b/.rev index 2975f94..a76bfd8 100644 --- a/.rev +++ b/.rev @@ -7,4 +7,13 @@ 752566 + + cd1f0dc8aab7bf95fd97e6a189949d40 + 1.2 + + anag_factory + - Switch to pyproject macros. +- No more greedy globs in %files. + 1282147 + diff --git a/python-dogslow.changes b/python-dogslow.changes index 2ed9377..8821d8c 100644 --- a/python-dogslow.changes +++ b/python-dogslow.changes @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Tue Jun 3 07:03:54 UTC 2025 - Steve Kowalik + +- Switch to pyproject macros. +- No more greedy globs in %files. + +------------------------------------------------------------------- Sat Nov 30 10:07:54 UTC 2019 - Tomáš Chvátal - Initial commit, needed by weblate diff --git a/python-dogslow.spec b/python-dogslow.spec index 5e2a868..34e877e 100644 --- a/python-dogslow.spec +++ b/python-dogslow.spec @@ -1,7 +1,7 @@ # # spec file for package python-dogslow # -# Copyright (c) 2019 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 @@ -16,7 +16,6 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-dogslow Version: 1.2 Release: 0 @@ -26,7 +25,9 @@ Group: Development/Languages/Python URL: https://bitbucket.org/evzijst/dogslow Source: https://files.pythonhosted.org/packages/source/d/dogslow/dogslow-%{version}.tar.gz BuildRequires: %{python_module devel} +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch @@ -39,15 +40,16 @@ A Django middleware that logs tracebacks of slow requests and allows further ins %setup -q -n dogslow-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %files %{python_files} %doc README.rst %license COPYING.txt -%{python_sitelib}/* +%{python_sitelib}/dogslow +%{python_sitelib}/dogslow-%{version}.dist-info %changelog