Skip to content

Commit

Permalink
Update surface-dtx-daemon.spec
Browse files Browse the repository at this point in the history
Signed-off-by: Owen Zimmerman <[email protected]>
  • Loading branch information
Owen-sz authored Oct 7, 2024
1 parent 6e09798 commit 9f8318b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions anda/system/surface-dtx-daemon/surface-dtx-daemon.spec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
%global ver 0.3.8-1

Name: surface-dtx-daemon
Version: $(echo %ver | sed 's/-/~/g')
Version: %(echo %ver | sed 's/-/~/g')
Release: 1%{?dist}
Summary: Surface Detachment System (DTX) Daemon
License: MIT
Expand All @@ -17,7 +17,7 @@ Linux User-Space Detachment System (DTX) Daemon for the Surface ACPI Driver
lack of driver-support on the Surface Book 1. This may change in the future.

%prep
%autosetup -n %name-%ver
%autosetup -n %{name}-%{ver}
%cargo_prep_online

%build
Expand All @@ -27,8 +27,8 @@ export CARGO_TARGET_DIR="$PWD/target"
%install

# binary files
install -D -m755 "target/rpm/surface-dtx-daemon" "%buildroot%_bindir/surface-dtx-daemon"
install -D -m755 "target/rpm/surface-dtx-userd" "%buildroot%_bindir/surface-dtx-userd"
install -D -m755 "target/rpm/surface-dtx-daemon" "%{buildroot}%{_bindir}/surface-dtx-daemon"
install -D -m755 "target/rpm/surface-dtx-userd" "%{buildroot}%{_bindir}/surface-dtx-userd"

# application files
install -D -m644 "target/etc/dtx/surface-dtx-daemon.conf" "%{buildroot}/etc/surface-dtx/surface-dtx-daemon.conf"
Expand Down

0 comments on commit 9f8318b

Please sign in to comment.