Skip to content

Commit

Permalink
Avoid _libdir as it points to /usr/lib64
Browse files Browse the repository at this point in the history
  • Loading branch information
moubctez committed Nov 28, 2024
1 parent 7bb7e29 commit 8593960
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions resources-linux/defguard-client.spec
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ Requires: libappindicator-gtk3 webkit2gtk4.0
Desktop client for managing WireGuard VPN connections

%install
%{__mkdir} -p %{buildroot}/%{_bindir} %{buildroot}/%{_libdir} %{buildroot}/%{_sbindir}
%{__mkdir} -p %{buildroot}/%{_bindir} %{buildroot}/%{_sbindir} %{buildroot}/%{_prefix}/lib/systemd/system
%{__install} -m 755 src-tauri/target/release/defguard-client %{buildroot}/%{_bindir}/
%{__install} -m 755 src-tauri/target/release/defguard-service %{buildroot}/%{_sbindir}/
%{__install} -m 644 resources-linux/defguard-service.service %{buildroot}/%{_libdir}/systemd/system/
%{__install} -m 644 resources-linux/defguard-service.service %{buildroot}/%{_prefix}/lib/systemd/system/

%post
# %{systemd_post} defguard-service.service
Expand All @@ -38,4 +38,4 @@ systemctl daemon-reload
%files
%{_bindir}/defguard-client
%{_sbindir}/defguard-service
%{_libdir}/systemd/system/defguard-service.service
%{_prefix}/lib/systemd/system/defguard-service.service
2 changes: 1 addition & 1 deletion src-tauri/tauri.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
},
"resources": ["resources/*"],
"shortDescription": "",
"targets": ["deb", "app", "appimage"],
"targets": ["deb", "app"],
"windows": {
"certificateThumbprint": null,
"digestAlgorithm": "sha256",
Expand Down

0 comments on commit 8593960

Please sign in to comment.