SHA256
1
0
forked from pool/python-munch

2 Commits

2 changed files with 11 additions and 5 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Jun 5 04:38:04 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Switch to pyproject macros.
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Jul 30 11:14:38 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com> Tue Jul 30 11:14:38 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-munch # spec file for package python-munch
# #
# Copyright (c) 2024 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,13 +22,14 @@ Version: 4.0.0
Release: 0 Release: 0
Summary: A dot-accessible dictionary Summary: A dot-accessible dictionary
License: MIT License: MIT
Group: Development/Languages/Python
URL: https://github.com/Infinidat/munch URL: https://github.com/Infinidat/munch
Source: https://files.pythonhosted.org/packages/source/m/munch/munch-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/m/munch/munch-%{version}.tar.gz
# PATCH-FIX-UPSTREAM - gh/Infinidat/munch#104 - Adjust tests for Python 3.13 # PATCH-FIX-UPSTREAM - gh/Infinidat/munch#104 - Adjust tests for Python 3.13
Patch: https://patch-diff.githubusercontent.com/raw/Infinidat/munch/pull/104.patch#/adjust-tests-for-python3.13.patch Patch: https://patch-diff.githubusercontent.com/raw/Infinidat/munch/pull/104.patch#/adjust-tests-for-python3.13.patch
BuildRequires: %{python_module pbr} BuildRequires: %{python_module pbr}
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
@@ -44,10 +45,10 @@ A dot-accessible dictionary (a la JavaScript objects).
%autosetup -p1 -n munch-%{version} %autosetup -p1 -n munch-%{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
@@ -57,6 +58,6 @@ A dot-accessible dictionary (a la JavaScript objects).
%license LICENSE.txt %license LICENSE.txt
%doc README.md %doc README.md
%{python_sitelib}/munch %{python_sitelib}/munch
%{python_sitelib}/munch-*.egg-info %{python_sitelib}/munch-%{version}.dist-info
%changelog %changelog