public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Richard Shaw <hobbes1069@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/spacenavd] rawhide: Install /etc/spnavrc example as it is required for the service, fixes
Date: Fri, 06 Nov 2026 17:09:44 GMT	[thread overview]
Message-ID: <179398498456.1.9254232878047470314.rpms-spacenavd-f197dfba87b2@fedoraproject.org> (raw)

          A new commit has been pushed.

          Repo   : rpms/spacenavd
          Branch : rawhide
          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=rawhide

          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.
 

                 reply	other threads:[~2026-11-06 17: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=179398498456.1.9254232878047470314.rpms-spacenavd-f197dfba87b2@fedoraproject.org \
    --to=hobbes1069@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