forked from pool/python-inflection
Accepting request 1290929 from devel:languages:python
- Switch to pyproject macros. - No more greedy globs in %files. OBS-URL: https://build.opensuse.org/request/show/1290929 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-inflection?expand=0&rev=8
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 7 02:37:27 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- Switch to pyproject macros.
|
||||
- No more greedy globs in %files.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jan 18 15:21:57 UTC 2025 - ecsos <ecsos@opensuse.org>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-inflection
|
||||
#
|
||||
# Copyright (c) 2021 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
|
||||
@@ -26,8 +26,10 @@ License: MIT
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/jpvanhal/inflection
|
||||
Source: https://files.pythonhosted.org/packages/source/i/inflection/inflection-%{version}.tar.gz
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildArch: noarch
|
||||
@@ -45,10 +47,10 @@ Inflection is a port of `Ruby on Rails`_' `inflector`_ to Python.
|
||||
%setup -q -n inflection-%{version}
|
||||
|
||||
%build
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
@@ -57,6 +59,7 @@ Inflection is a port of `Ruby on Rails`_' `inflector`_ to Python.
|
||||
%files %{python_files}
|
||||
%doc README.rst
|
||||
%%license LICENSE
|
||||
%{python_sitelib}/*
|
||||
%{python_sitelib}/inflection
|
||||
%{python_sitelib}/inflection-%{version}.dist-info
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user