11
0

2 Commits

2 changed files with 11 additions and 4 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Jun 12 05:01:35 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Switch to pyproject macros.
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Dec 27 16:26:23 UTC 2023 - Dirk Müller <dmueller@suse.com> Wed Dec 27 16:26:23 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-u-msgpack-python # spec file for package python-u-msgpack-python
# #
# 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
@@ -24,7 +24,9 @@ Summary: A MessagePack serializer and deserializer
License: MIT License: MIT
URL: https://github.com/vsergeev/u-msgpack-python URL: https://github.com/vsergeev/u-msgpack-python
Source: https://files.pythonhosted.org/packages/source/u/u-msgpack-python/u-msgpack-python-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/u/u-msgpack-python/u-msgpack-python-%{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
BuildArch: noarch BuildArch: noarch
@@ -42,10 +44,10 @@ UTF-8 string, and application-defined extended types.
%setup -q -n u-msgpack-python-%{version} %setup -q -n u-msgpack-python-%{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
@@ -55,6 +57,6 @@ export LANG=en_US.UTF-8
%files %{python_files} %files %{python_files}
%license LICENSE %license LICENSE
%{python_sitelib}/umsgpack %{python_sitelib}/umsgpack
%{python_sitelib}/u_msgpack_python-%{version}-py%{python_version}.egg-info %{python_sitelib}/u_msgpack_python-%{version}.dist-info
%changelog %changelog