11
0

2 Commits

2 changed files with 14 additions and 5 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Jun 4 06:15:26 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Switch to pyproject macros.
- No more greedy globs in %files.
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Aug 13 21:39:11 UTC 2023 - Dirk Müller <dmueller@suse.com> Sun Aug 13 21:39:11 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-typing-inspect # spec file for package python-typing-inspect
# #
# Copyright (c) 2023 SUSE LLC # Copyright (c) 2025 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -22,10 +22,11 @@ Version: 0.9.0
Release: 0 Release: 0
Summary: Python runtime inspection utilities for typing Summary: Python runtime inspection utilities for typing
License: MIT License: MIT
Group: Development/Languages/Python
URL: https://github.com/ilevkivskyi/typing_inspect URL: https://github.com/ilevkivskyi/typing_inspect
Source: https://files.pythonhosted.org/packages/source/t/typing_inspect/typing_inspect-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/t/typing_inspect/typing_inspect-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires: python-mypy_extensions >= 0.3.0 Requires: python-mypy_extensions >= 0.3.0
@@ -46,10 +47,10 @@ Python runtime inspection utilities for typing module.
%autosetup -p1 -n typing_inspect-%{version} %autosetup -p1 -n typing_inspect-%{version}
%build %build
%python_build %pyproject_wheel
%install %install
%python_install %pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%check %check
@@ -58,6 +59,8 @@ Python runtime inspection utilities for typing module.
%files %{python_files} %files %{python_files}
%doc README.md %doc README.md
%license LICENSE %license LICENSE
%{python_sitelib}/* %{python_sitelib}/typing_inspect.py
%pycache_only %{python_sitelib}/__pycache__/typing_inspect.*.pyc
%{python_sitelib}/typing_inspect-%{version}.dist-info
%changelog %changelog