public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/gns3-gui] rawhide: Convert to pyproject
@ 2026-07-31 9:09 Nicolas Chauvet
0 siblings, 0 replies; only message in thread
From: Nicolas Chauvet @ 2026-07-31 9:09 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/gns3-gui
Branch : rawhide
Commit : 74fd6ca61027cf8fa9eb5818c8c834237e010b55
Author : Nicolas Chauvet <kwizart@gmail.com>
Date : 2026-07-31T11:09:04+02:00
Stats : +14/-8 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/gns3-gui/c/74fd6ca61027cf8fa9eb5818c8c834237e010b55?branch=rawhide
Log:
Convert to pyproject
---
diff --git a/gns3-gui.spec b/gns3-gui.spec
index 6ad14e3..eb5d078 100644
--- a/gns3-gui.spec
+++ b/gns3-gui.spec
@@ -5,7 +5,7 @@
Name: gns3-gui
Version: 2.2.60
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: GNS3 graphical user interface
# Automatically converted from old format: GPLv3+ - review is highly recommended.
@@ -17,7 +17,6 @@ Source3: %{name}.appdata.xml
BuildArch: noarch
BuildRequires: python3-devel
-BuildRequires: python3-setuptools
BuildRequires: desktop-file-utils
BuildRequires: libappstream-glib
@@ -51,11 +50,16 @@ sed -i -r '/jsonschema>=4.25.1/d' requirements.txt
sed -i 's/"check_for_update": True,/"check_for_update": False,/' gns3/settings.py
+%generate_buildrequires
+%pyproject_buildrequires
+
+
%build
-%py3_build
+%pyproject_wheel
%install
-%py3_install
+%pyproject_install
+%pyproject_save_files -l gns3
# Remove shebang
for lib in `find %{buildroot}/%{python3_sitelib}/ -name '*.py'`; do
@@ -75,15 +79,14 @@ install -m 644 %{SOURCE3} %{buildroot}/%{_datadir}/appdata/
%check
+%pyproject_check_import
+
appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/appdata/%{name}.appdata.xml
desktop-file-validate %{buildroot}%{_datadir}/applications/gns3*.desktop
-%files
-%license LICENSE
+%files -f %{pyproject_files}
%doc README.md AUTHORS CHANGELOG
-%{python3_sitelib}/gns3/
-%{python3_sitelib}/gns3_gui*.egg-info/
%{_bindir}/gns3
%{_datadir}/applications/gns3*.desktop
%{_datadir}/icons/hicolor/*/apps/*gns3*
@@ -92,6 +95,9 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/gns3*.desktop
%{_datadir}/appdata/%{name}.appdata.xml
%changelog
+* Fri Jul 31 2026 Nicolas Chauvet <kwizart@gmail.com> - 2.2.60-2
+- Convert to pyproject
+
* Wed Jul 15 2026 Alexey Kurov <nucleo@fedoraproject.org> - 2.2.60-1
- Update to 2.2.60
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-07-31 9:09 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-31 9:09 [rpms/gns3-gui] rawhide: Convert to pyproject Nicolas Chauvet
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox