14
0
2025-06-04 06:18:44 +00:00
committed by Git OBS Bridge
parent 3f950c473e
commit 3d12dd7819
2 changed files with 11 additions and 5 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Jun 4 06:07:59 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Switch to pyproject macros.
-------------------------------------------------------------------
Tue Oct 24 14:01:36 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-titlecase
#
# 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
@@ -16,7 +16,6 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-titlecase
Version: 2.4.1
Release: 0
@@ -25,9 +24,11 @@ License: MIT
Group: Development/Languages/Python
URL: https://github.com/ppannuto/python-titlecase
Source: https://files.pythonhosted.org/packages/source/t/titlecase/titlecase-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module regex >= 2020.4.4}
BuildRequires: %{python_module setuptools_scm}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-regex >= 2020.4.4
@@ -50,10 +51,10 @@ York Times Manual of Style, plus some others like 'vs' and 'v'.
%setup -q -n titlecase-%{version}
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_clone -a %{buildroot}%{_bindir}/titlecase
%python_expand %fdupes %{buildroot}%{$python_sitelib}