Fix store/restore utils handling.
This commit is contained in:
parent
165cf9df38
commit
1c46c2cb27
@ -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 <vascom2@gmail.com> - 1.6.1-2
|
||||
- Fix store/restore utils handling #1753648
|
||||
|
||||
* Tue Aug 13 2019 Vasiliy N. Glazov <vascom2@gmail.com> - 1.6.1-1
|
||||
- Update to 1.6.1
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user