Skip to content

Commit

Permalink
Update release version and disable debug info RPM builds
Browse files Browse the repository at this point in the history
  • Loading branch information
BlakeGardner committed Sep 25, 2024
1 parent 3c48cf5 commit f2abeb0
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions xremap.spec
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
Name: xremap
Version: 0.10.1
Release: 1%{?dist}
Release: 2%{?dist}
%define _debugsource_template %{nil}
%global debug_package %{nil}
Summary: A key remapper for Linux supporting app-specific remapping and Wayland.

License: MIT
Expand Down Expand Up @@ -54,23 +55,23 @@ This variant of xremap is built with wlroots support for compositors like Sway a

%build
# Build vanilla variant
export RUSTFLAGS="-C debuginfo=2 -C metadata=vanilla"
export RUSTFLAGS="-C metadata=vanilla"
cargo build --release --target-dir target-vanilla

# Build GNOME variant
export RUSTFLAGS="-C debuginfo=2 -C metadata=gnome"
export RUSTFLAGS="-C metadata=gnome"
cargo build --release --features gnome --target-dir target-gnome

# Build X11 variant
export RUSTFLAGS="-C debuginfo=2 -C metadata=x11"
export RUSTFLAGS="-C metadata=x11"
cargo build --release --features x11 --target-dir target-x11

# Build KDE variant
export RUSTFLAGS="-C debuginfo=2 -C metadata=kde"
export RUSTFLAGS="-C metadata=kde"
cargo build --release --features kde --target-dir target-kde

# Build wlroots variant
export RUSTFLAGS="-C debuginfo=2 -C metadata=wlroots"
export RUSTFLAGS="-C metadata=wlroots"
cargo build --release --features wlroots --target-dir target-wlroots

%install
Expand Down Expand Up @@ -134,5 +135,8 @@ udevadm trigger
/usr/lib/udev/rules.d/00-xremap-input.rules

%changelog
* Tue Sep 25 2024 Blake Gardner <[email protected]> - 0.10.1-2
- Disabled debug info RPM builds and removed debug symbols from Rust binaries

* Tue Sep 24 2024 Blake Gardner <[email protected]> - 0.10.1-1
- Initial package release

0 comments on commit f2abeb0

Please sign in to comment.