From 1c46c2cb27ec77922f697eb3b1cfe000954687fa Mon Sep 17 00:00:00 2001 From: Vasiliy Glazov Date: Fri, 20 Sep 2019 09:04:15 +0300 Subject: [PATCH] Fix store/restore utils handling. --- linuxconsoletools.spec | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/linuxconsoletools.spec b/linuxconsoletools.spec index 22bf5c2..2009c24 100644 --- a/linuxconsoletools.spec +++ b/linuxconsoletools.spec @@ -2,7 +2,7 @@ Name: linuxconsoletools Version: 1.6.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Tools for connecting joysticks & legacy devices to the kernel's input subsystem License: GPLv2+ URL: http://sourceforge.net/projects/linuxconsole/ @@ -31,10 +31,10 @@ for serial mice, touchscreens etc.), and test the input event layer. %build %{set_build_flags} -%{make_build} +%{make_build} PREFIX=%{_prefix} # moving helper scripts from /usr/share/joystick to /usr/libexec/joystick -sed -i "s|%{_prefix}/share/joystick|%{_libexecdir}/joystick|g" utils/jscal-restore utils/jscal-store +sed -i "s|%{_datadir}/joystick|%{_libexecdir}/joystick|g" utils/jscal-restore utils/jscal-store %install @@ -42,7 +42,7 @@ sed -i "s|%{_prefix}/share/joystick|%{_libexecdir}/joystick|g" utils/jscal-resto # moving helper scripts from /usr/share/joystick to /usr/libexec/joystick install -d -m 0755 %{buildroot}%{_libexecdir}/joystick -mv -f %{buildroot}%{_prefix}/share/joystick/* %{buildroot}%{_libexecdir}/joystick/ +mv -f %{buildroot}%{_datadir}/joystick/* %{buildroot}%{_libexecdir}/joystick/ # fixing udev dir mv -f %{buildroot}/lib %{buildroot}/usr/ @@ -74,6 +74,9 @@ chmod -x %{buildroot}%{_mandir}/man1/* %changelog +* Fri Sep 20 2019 Vasiliy N. Glazov - 1.6.1-2 +- Fix store/restore utils handling #1753648 + * Tue Aug 13 2019 Vasiliy N. Glazov - 1.6.1-1 - Update to 1.6.1