public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Nicolas Chauvet <kwizart@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/gns3-gui] rawhide: Convert to pyproject
Date: Fri, 31 Jul 2026 09:09:25 GMT	[thread overview]
Message-ID: <178548896538.1.15148248292061574761.rpms-gns3-gui-74fd6ca61027@fedoraproject.org> (raw)

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
 

                 reply	other threads:[~2026-07-31  9:09 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178548896538.1.15148248292061574761.rpms-gns3-gui-74fd6ca61027@fedoraproject.org \
    --to=kwizart@gmail.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox