14
0
2025-06-13 12:46:45 +00:00
committed by Git OBS Bridge
parent 982dcc797f
commit 0d94e4aa4f
2 changed files with 12 additions and 6 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Jun 13 12:46:19 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to pip-based build
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Dec 8 16:16:00 UTC 2023 - Dirk Müller <dmueller@suse.com> Fri Dec 8 16:16:00 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-voluptuous-serialize # spec file for package python-voluptuous-serialize
# #
# 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
@@ -16,8 +16,6 @@
# #
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-voluptuous-serialize Name: python-voluptuous-serialize
Version: 2.6.0 Version: 2.6.0
Release: 0 Release: 0
@@ -26,7 +24,9 @@ License: Apache-2.0
Group: Development/Languages/Python Group: Development/Languages/Python
URL: https://github.com/balloob/voluptuous-serialize URL: https://github.com/balloob/voluptuous-serialize
Source: https://files.pythonhosted.org/packages/source/v/voluptuous-serialize/voluptuous-serialize-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/v/voluptuous-serialize/voluptuous-serialize-%{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-voluptuous Requires: python-voluptuous
@@ -44,10 +44,10 @@ A Python module to convert voluptuous schemas to dictionaries.
%setup -q -n voluptuous-serialize-%{version} %setup -q -n voluptuous-serialize-%{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
@@ -56,6 +56,7 @@ A Python module to convert voluptuous schemas to dictionaries.
%files %{python_files} %files %{python_files}
%doc README.md %doc README.md
%license LICENSE %license LICENSE
%{python_sitelib}/* %{python_sitelib}/voluptuous[-_]serialize
%{python_sitelib}/voluptuous[-_]serialize-%{version}*-info
%changelog %changelog