-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update package release version in xremap.spec
- Loading branch information
1 parent
069b24a
commit f3d7ba6
Showing
1 changed file
with
10 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
Name: xremap | ||
Version: 0.10.1 | ||
Release: 4%{?dist} | ||
Release: 5%{?dist} | ||
%define _debugsource_template %{nil} | ||
Summary: A key remapper for Linux supporting app-specific remapping and Wayland. | ||
|
||
|
@@ -99,39 +99,39 @@ getent group input >/dev/null || groupadd -r input | |
|
||
%post | ||
# Vanilla variant | ||
alternatives --install /usr/bin/xremap xremap %{_bindir}/xremap-vanilla 10 | ||
alternatives --install %{_bindir}/xremap xremap %{_bindir}/xremap-vanilla 10 | ||
|
||
%preun | ||
if [ $1 -eq 0 ]; then | ||
alternatives --remove xremap %{_bindir}/xremap-vanilla | ||
fi | ||
|
||
%post gnome | ||
alternatives --install /usr/bin/xremap xremap %{_bindir}/xremap-gnome 20 | ||
alternatives --install %{_bindir}/xremap xremap %{_bindir}/xremap-gnome 20 | ||
|
||
%preun gnome | ||
if [ $1 -eq 0 ]; then | ||
alternatives --remove xremap %{_bindir}/xremap-gnome | ||
fi | ||
|
||
%post x11 | ||
alternatives --install /usr/bin/xremap xremap %{_bindir}/xremap-x11 20 | ||
alternatives --install %{_bindir}/xremap xremap %{_bindir}/xremap-x11 20 | ||
|
||
%preun x11 | ||
if [ $1 -eq 0 ]; then | ||
alternatives --remove xremap %{_bindir}/xremap-x11 | ||
fi | ||
|
||
%post kde | ||
alternatives --install /usr/bin/xremap xremap %{_bindir}/xremap-kde 20 | ||
alternatives --install %{_bindir}/xremap xremap %{_bindir}/xremap-kde 20 | ||
|
||
%preun kde | ||
if [ $1 -eq 0 ]; then | ||
alternatives --remove xremap %{_bindir}/xremap-kde | ||
fi | ||
|
||
%post wlroots | ||
alternatives --install /usr/bin/xremap xremap %{_bindir}/xremap-wlroots 20 | ||
alternatives --install %{_bindir}/xremap xremap %{_bindir}/xremap-wlroots 20 | ||
|
||
%preun wlroots | ||
if [ $1 -eq 0 ]; then | ||
|
@@ -169,7 +169,10 @@ fi | |
/usr/lib/udev/rules.d/00-xremap-input.rules | ||
|
||
%changelog | ||
* Tue Sep 27 2024 Blake Gardner <[email protected]> - 0.10.1-3 | ||
* Tue Sep 27 2024 Blake Gardner <[email protected]> - 0.10.1-5 | ||
- Fix RPM macros | ||
|
||
* Tue Sep 27 2024 Blake Gardner <[email protected]> - 0.10.1-4 | ||
- Use alternatives system to manage multiple xremap binaries | ||
|
||
* Tue Sep 27 2024 Blake Gardner <[email protected]> - 0.10.1-3 | ||
|