forked from pool/tpm-fido
Accepting request 1183441 from devel:languages:go
- Require system-user-tss for tss group - Ensure uhid module is loaded on boot so udev will set permissions (forwarded request 1183436 from dheidler) OBS-URL: https://build.opensuse.org/request/show/1183441 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tpm-fido?expand=0&rev=2
This commit is contained in:
commit
d6f18451b0
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:01de4118a66dda203218aa910037911fa1b48dc163026f936b479ad523bb5937
|
||||
size 73227
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 26 12:12:52 UTC 2024 - Dominik Heidler <dheidler@suse.de>
|
||||
|
||||
- Require system-user-tss for tss group
|
||||
- Ensure uhid module is loaded on boot so udev will set permissions
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 23 14:15:56 UTC 2023 - dheidler@suse.de
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package tpm-fido
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -15,7 +15,6 @@
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
# Prepare sources and vendor bundle with: osc service mr
|
||||
|
||||
Name: tpm-fido
|
||||
Version: 20230621.5f8828b
|
||||
@ -27,9 +26,12 @@ Source: %{name}-%{version}.tar.gz
|
||||
Source1: vendor.tar.zstd
|
||||
Source2: tpm-fido.rules
|
||||
Source3: tpm-fido.service
|
||||
BuildRequires: golang(API) >= 1.16
|
||||
Source4: uhid.conf
|
||||
BuildRequires: udev
|
||||
BuildRequires: zstd
|
||||
BuildRequires: golang(API) >= 1.16
|
||||
Requires: pinentry-gui
|
||||
Requires: system-user-tss
|
||||
Provides: tpm2-fido
|
||||
|
||||
%description
|
||||
@ -47,6 +49,7 @@ go build \
|
||||
install -D -m0755 %{name} %{buildroot}%{_bindir}/%{name}
|
||||
install -D -m0644 $RPM_SOURCE_DIR/tpm-fido.rules %{buildroot}%{_prefix}/lib/udev/rules.d/91-tpm-fido.rules
|
||||
install -D -m0644 $RPM_SOURCE_DIR/tpm-fido.service %{buildroot}%{_prefix}/lib/systemd/user/tpm-fido.service
|
||||
install -D -m0644 $RPM_SOURCE_DIR/uhid.conf %{buildroot}/%{_prefix}/lib/modules-load.d/uhid.conf
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
@ -54,6 +57,7 @@ install -D -m0644 $RPM_SOURCE_DIR/tpm-fido.service %{buildroot}%{_prefix}/lib/sy
|
||||
%{_bindir}/%{name}
|
||||
%{_prefix}/lib/udev/rules.d/91-tpm-fido.rules
|
||||
%{_prefix}/lib/systemd/user/tpm-fido.service
|
||||
%{_prefix}/lib/modules-load.d/uhid.conf
|
||||
|
||||
%post
|
||||
printf "To use tpm-fido, add your user to the tss group and run:\n"
|
||||
|
Loading…
Reference in New Issue
Block a user