Notification time stamped 2021-11-29 04:38:54 UTC
From 607110cf1d03ebcf43a18edb0e0254a7344d8bba Mon Sep 17 00:00:00 2001
From: Elliott Sales de Andrade <quantum.analyst(a)gmail.com>
Date: Nov 29 2021 04:35:25 +0000
Subject: Switch to latest Python macros
---
diff --git a/python-gpxpy.spec b/python-gpxpy.spec
index 6a28a99..13c9f87 100644
--- a/python-gpxpy.spec
+++ b/python-gpxpy.spec
@@ -12,43 +12,36 @@ Source0: %pypi_source
BuildArch: noarch
BuildRequires: python3-devel
-BuildRequires: python3dist(setuptools)
%description
%{summary}
-
%package -n python3-%{srcname}
Summary: %{summary}
-%{?python_provide:%python_provide python3-%{srcname}}
%description -n python3-%{srcname}
%{summary}
-
%prep
%autosetup -n %{srcname}-%{version}
+%generate_buildrequires
+%pyproject_buildrequires
%build
-%py3_build
-
+%pyproject_wheel
%install
-%py3_install
-
+%pyproject_install
+%pyproject_save_files %{srcname}
%check
-%{__python3} test.py
-
+%{python3} test.py
-%files -n python3-%{srcname}
+%files -n python3-%{srcname} -f %{pyproject_files}
%doc README.md
%license LICENSE.txt
%{_bindir}/gpxinfo
-%{python3_sitelib}/%{srcname}
-%{python3_sitelib}/%{srcname}-%{version}-py*.egg-info
-
%changelog
%autochangelog
https://src.fedoraproject.org/rpms/python-gpxpy/c/607110cf1d03ebcf43a18ed...