forked from pool/tpm2-0-tss
renamed the udev rule file to have a priority prefix like all other rule files
OBS-URL: https://build.opensuse.org/package/show/security/tpm2-0-tss?expand=0&rev=42
This commit is contained in:
parent
9661aea8f5
commit
05ea297074
@ -95,7 +95,8 @@ find %{buildroot} -type f -name "*.la" -delete -print
|
||||
install -D -m 0644 contrib/resourcemgr.service %{buildroot}/%{_unitdir}/resourcemgr.service
|
||||
sed -e 's#usr/local/sbin/#usr/sbin/#;' -i %{buildroot}/%{_unitdir}/resourcemgr.service
|
||||
ln -sv %{_sbindir}/service %{buildroot}%{_sbindir}/rcresourcemgr
|
||||
install -D -m 0644 contrib/tpm-udev.rules %{buildroot}%{_udevrulesdir}/tpm-udev.rules
|
||||
%define udev_rule_file 90-tpm.rules
|
||||
install -D -m 0644 contrib/tpm-udev.rules %{buildroot}%{_udevrulesdir}/%{udev_rule_file}
|
||||
|
||||
%post -n libsapi0 -p /sbin/ldconfig
|
||||
%postun -n libsapi0 -p /sbin/ldconfig
|
||||
@ -142,7 +143,7 @@ install -D -m 0644 contrib/tpm-udev.rules %{buildroot}%{_udevrulesdir}/tpm-udev.
|
||||
%{_sbindir}/resourcemgr
|
||||
/%{_unitdir}/resourcemgr.service
|
||||
%{_sbindir}/rcresourcemgr
|
||||
%{_udevrulesdir}/tpm-udev.rules
|
||||
%{_udevrulesdir}/%{udev_rule_file}
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
|
Loading…
Reference in New Issue
Block a user