public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/gns3-server] f44: Assume sysusers
@ 2026-07-31 17:59 Nicolas Chauvet
  0 siblings, 0 replies; only message in thread
From: Nicolas Chauvet @ 2026-07-31 17:59 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/gns3-server
Branch : f44
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=f44

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

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-07-31 17:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-31 17:59 [rpms/gns3-server] f44: Assume sysusers Nicolas Chauvet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox