public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/spacenavd] f44: Install /etc/spnavrc example as it is required for the service, fixes
@ 2026-11-06 16:58 Richard Shaw
  0 siblings, 0 replies; only message in thread
From: Richard Shaw @ 2026-11-06 16:58 UTC (permalink / raw)
  To: git-commits

          A new commit has been pushed.

          Repo   : rpms/spacenavd
          Branch : f44
          Commit : f197dfba87b2d19882d8e487abf200e23324c7a8
          Author : Richard Shaw <hobbes1069@gmail.com>
          Date   : 2026-11-06T10:58:30-06:00
          Stats  : +10/-1 in 1 file(s)
          URL    : https://src.fedoraproject.org/rpms/spacenavd/c/f197dfba87b2d19882d8e487abf200e23324c7a8?branch=f44

          Log:
          Install /etc/spnavrc example as it is required for the service, fixes

BZ#2567303.

---
diff --git a/spacenavd.spec b/spacenavd.spec
index 120f513..01d6099 100644
--- a/spacenavd.spec
+++ b/spacenavd.spec
@@ -1,6 +1,6 @@
 Name:           spacenavd
 Version:        1.4
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        A free, compatible alternative for 3Dconnexion's input drivers
 
 License:        GPL-3.0-or-later
@@ -45,6 +45,10 @@ sed -i "s/CFLAGS =/CFLAGS +=/g" Makefile
 mkdir -p %{buildroot}%{_unitdir}
 install -p -m 0644 contrib/systemd/spacenavd.service %{buildroot}%{_unitdir}
 
+# Install example config file
+mkdir -p %{buildroot}%{_sysconfdir}
+install -p -m 0644 doc/example-spnavrc %{buildroot}%{_sysconfdir}/spnavrc
+
 
 %post
 %systemd_post spacenavd.service
@@ -60,10 +64,15 @@ install -p -m 0644 contrib/systemd/spacenavd.service %{buildroot}%{_unitdir}
 %doc AUTHORS doc/* README.md
 %license COPYING
 %{_bindir}/*
+%config(noreplace) %{_sysconfdir}/spnavrc
 %{_unitdir}/%{name}.service
 
 
 %changelog
+* Fri Nov 06 2026 Richard Shaw <hobbes1069@gmail.com> - 1.4-2
+- Install /etc/spnavrc example as it is required for the service, fixes
+  BZ#2567303.
+
 * Sun Oct 25 2026 Richard Shaw <hobbes1069@gmail.com> - 1.4-1
 - Update to 1.4.
 

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

only message in thread, other threads:[~2026-11-06 16:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-06 16:58 [rpms/spacenavd] f44: Install /etc/spnavrc example as it is required for the service, fixes Richard Shaw

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