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-server] rawhide: Assume sysusers
Date: Fri, 31 Jul 2026 08:58:07 GMT [thread overview]
Message-ID: <178548828764.1.12191287144538883930.rpms-gns3-server-763f1e3ceb39@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/gns3-server
Branch : rawhide
Commit : 763f1e3ceb39e26ed664fab49051cd04b7fe0985
Author : Nicolas Chauvet <kwizart@gmail.com>
Date : 2026-07-31T10:49:54+02:00
Stats : +0/-13 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/gns3-server/c/763f1e3ceb39e26ed664fab49051cd04b7fe0985?branch=rawhide
Log:
Assume sysusers
---
diff --git a/gns3-server.spec b/gns3-server.spec
index 03da366..497dc9d 100644
--- a/gns3-server.spec
+++ b/gns3-server.spec
@@ -100,9 +100,7 @@ mkdir -p %{buildroot}%{_sharedstatedir}/gns3
rm -fv %{buildroot}/%{python3_sitelib}/gns3server/disks/OVMF_CODE.fd
rm -fv %{buildroot}/%{python3_sitelib}/gns3server/disks/OVMF_VARS.fd
-%if 0%{?fedora} >= 42
install -m0644 -D gns3-server.sysusers.conf %{buildroot}%{_sysusersdir}/gns3-server.conf
-%endif
%check
# Missing prompt_toolkit.key_binding.input_processor and tests works on MSW
@@ -119,23 +117,12 @@ install -m0644 -D gns3-server.sysusers.conf %{buildroot}%{_sysusersdir}/gns3-ser
%{_bindir}/gns3loopback
%{_unitdir}/gns3.service
%dir %attr(0755,gns3,gns3) %{_sharedstatedir}/gns3
-%if 0%{?fedora} >= 42
%{_sysusersdir}/gns3-server.conf
-%endif
%files doc
%license LICENSE
%doc docs/_build/html
-%if 0%{?fedora} < 42
-%pre
-getent group gns3 >/dev/null || groupadd -r gns3
-getent passwd gns3 >/dev/null || \
- useradd -r -g gns3 -d /var/lib/gns3 -s /sbin/nologin \
- -c "gns3 server" gns3
-exit 0
-%endif
-
%post
[ -d "/var/lib/gns3" ] && chown -R gns3:gns3 %{_sharedstatedir}/gns3
%systemd_post gns3.service
reply other threads:[~2026-07-31 8:58 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=178548828764.1.12191287144538883930.rpms-gns3-server-763f1e3ceb39@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