Install sysusers config in sysusersdir (rhbz #1834519)
This commit is contained in:
parent
6a3b315d69
commit
44bdbce275
@ -1,6 +1,6 @@
|
|||||||
Name: tpm2-tss
|
Name: tpm2-tss
|
||||||
Version: 3.0.0
|
Version: 3.0.0
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: TPM2.0 Software Stack
|
Summary: TPM2.0 Software Stack
|
||||||
|
|
||||||
# The entire source code is under BSD except implementation.h and tpmb.h which
|
# The entire source code is under BSD except implementation.h and tpmb.h which
|
||||||
@ -35,7 +35,7 @@ APIs for applications to access TPM module through kernel TPM drivers.
|
|||||||
# Use built-in tpm-udev.rules, with specified installation path and prefix.
|
# Use built-in tpm-udev.rules, with specified installation path and prefix.
|
||||||
%configure --disable-static --disable-silent-rules \
|
%configure --disable-static --disable-silent-rules \
|
||||||
--with-udevrulesdir=%{_udevrulesdir} --with-udevrulesprefix=%{udevrules_prefix} \
|
--with-udevrulesdir=%{_udevrulesdir} --with-udevrulesprefix=%{udevrules_prefix} \
|
||||||
--with-runstatedir=%{_rundir} --with-tmpfilesdir=%{_tmpfilesdir}
|
--with-runstatedir=%{_rundir} --with-tmpfilesdir=%{_tmpfilesdir} --with-sysusersdir=%{_sysusersdir}
|
||||||
|
|
||||||
# This is to fix Rpath errors. Taken from https://fedoraproject.org/wiki/Packaging:Guidelines#Removing_Rpath
|
# This is to fix Rpath errors. Taken from https://fedoraproject.org/wiki/Packaging:Guidelines#Removing_Rpath
|
||||||
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
|
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
|
||||||
@ -52,8 +52,6 @@ find %{buildroot}%{_libdir} -type f -name \*.la -delete
|
|||||||
%files
|
%files
|
||||||
%doc README.md CHANGELOG.md
|
%doc README.md CHANGELOG.md
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{_sysconfdir}/sysusers.d/tpm2-tss.conf
|
|
||||||
%{_tmpfilesdir}/tpm2-tss-fapi.conf
|
|
||||||
%{_sysconfdir}/tpm2-tss/
|
%{_sysconfdir}/tpm2-tss/
|
||||||
%{_libdir}/libtss2-mu.so.0*
|
%{_libdir}/libtss2-mu.so.0*
|
||||||
%{_libdir}/libtss2-sys.so.1*
|
%{_libdir}/libtss2-sys.so.1*
|
||||||
@ -65,6 +63,8 @@ find %{buildroot}%{_libdir} -type f -name \*.la -delete
|
|||||||
%{_libdir}/libtss2-tcti-device.so.0*
|
%{_libdir}/libtss2-tcti-device.so.0*
|
||||||
%{_libdir}/libtss2-tcti-mssim.so.0*
|
%{_libdir}/libtss2-tcti-mssim.so.0*
|
||||||
%{_libdir}/libtss2-tcti-swtpm.so.0*
|
%{_libdir}/libtss2-tcti-swtpm.so.0*
|
||||||
|
%{_sysusersdir}/tpm2-tss.conf
|
||||||
|
%{_tmpfilesdir}/tpm2-tss-fapi.conf
|
||||||
%{_udevrulesdir}/%{udevrules_prefix}tpm-udev.rules
|
%{_udevrulesdir}/%{udevrules_prefix}tpm-udev.rules
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
@ -103,6 +103,9 @@ use tpm2-tss.
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Aug 07 2020 Peter Robinson <pbrobinson@fedoraproject.org> - 3.0.0-2
|
||||||
|
- Install sysusers config in sysusersdir (rhbz #1834519)
|
||||||
|
|
||||||
* Wed Aug 05 2020 Peter Robinson <pbrobinson@fedoraproject.org> - 3.0.0-1
|
* Wed Aug 05 2020 Peter Robinson <pbrobinson@fedoraproject.org> - 3.0.0-1
|
||||||
- Update to 3.0.0
|
- Update to 3.0.0
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user