reconfigure with correct system paths [release 3.0.3-2mamba;Wed Apr 21 2021]

This commit is contained in:
Silvan Calarco 2024-01-05 18:36:07 +01:00
parent 88c210699c
commit 79802e2c50

View File

@ -1,6 +1,6 @@
Name: tpm2-tss Name: tpm2-tss
Version: 3.0.3 Version: 3.0.3
Release: 1mamba Release: 2mamba
Summary: OSS implementation of the TCG TPM2 Software Stack (TSS2) Summary: OSS implementation of the TCG TPM2 Software Stack (TSS2)
Group: System/Libraries Group: System/Libraries
Vendor: openmamba Vendor: openmamba
@ -12,25 +12,30 @@ Patch0: tpm2-tss-3.0.3-autoconf-2.70.patch
License: BSD License: BSD
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
BuildRequires: ldconfig
BuildRequires: libbrotli-devel BuildRequires: libbrotli-devel
BuildRequires: libcares-devel BuildRequires: libcares-devel
BuildRequires: libcurl-devel BuildRequires: libcurl-devel
BuildRequires: libe2fs-devel BuildRequires: libe2fs-devel
BuildRequires: libgsasl-devel
BuildRequires: libgss-devel BuildRequires: libgss-devel
BuildRequires: libicu-devel BuildRequires: libicu-devel
BuildRequires: libidn-devel
BuildRequires: libidn2-devel
BuildRequires: libjson-c-devel BuildRequires: libjson-c-devel
BuildRequires: libkrb5-devel BuildRequires: libkrb5-devel
BuildRequires: libnghttp2-devel
BuildRequires: libntlm-devel
BuildRequires: libopenldap-devel BuildRequires: libopenldap-devel
BuildRequires: libopenssl-devel BuildRequires: libopenssl-devel
BuildRequires: libpsl-devel BuildRequires: libpsl-devel
BuildRequires: librtmp-devel BuildRequires: librtmp-devel
BuildRequires: libsasl2-devel BuildRequires: libsasl2-devel
BuildRequires: libssh2-devel BuildRequires: libssh2-devel
BuildRequires: libunistring-devel
BuildRequires: libz-devel BuildRequires: libz-devel
BuildRequires: libzstd-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
Requires: libtss2 = %{?epoch:%epoch:}%{version}-%{release} Requires: libtss2 = %{?epoch:%epoch:}%{version}-%{release}
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description %description
OSS implementation of the TCG TPM2 Software Stack (TSS2). OSS implementation of the TCG TPM2 Software Stack (TSS2).
@ -61,7 +66,10 @@ This package contains libraries and header files for developing applications tha
%build %build
%configure \ %configure \
--with-udevrulesdir=%{_udevrulesdir} --with-udevrulesdir=%{_udevrulesdir} \
--with-runstatedir=/run \
--with-tmpfilesdir=%{_tmpfilesdir} \
--with-sysusersdir=%{_sysusersdir}
%make %make
@ -72,16 +80,22 @@ This package contains libraries and header files for developing applications tha
%clean %clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post
%sysusers_create tpm2-tss
%tmpfiles_create tpm2-tss-fapi
:
%post -n libtss2 -p /sbin/ldconfig %post -n libtss2 -p /sbin/ldconfig
%postun -n libtss2 -p /sbin/ldconfig %postun -n libtss2 -p /sbin/ldconfig
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%{_sysconfdir}/sysusers.d/tpm2-tss.conf %dir %{_sysconfdir}/tpm2-tss
%{_sysconfdir}/tmpfiles.d/tpm2-tss-fapi.conf
%{_sysconfdir}/tpm2-tss/fapi-config.json %{_sysconfdir}/tpm2-tss/fapi-config.json
%{_sysconfdir}/tpm2-tss/fapi-profiles/P_ECCP256SHA256.json %{_sysconfdir}/tpm2-tss/fapi-profiles/P_ECCP256SHA256.json
%{_sysconfdir}/tpm2-tss/fapi-profiles/P_RSA2048SHA256.json %{_sysconfdir}/tpm2-tss/fapi-profiles/P_RSA2048SHA256.json
%{_tmpfilesdir}/tpm2-tss-fapi.conf
%{_sysusersdir}/tpm2-tss.conf
%{_udevrulesdir}/tpm-udev.rules %{_udevrulesdir}/tpm-udev.rules
%{_mandir}/man5/fapi-config.5* %{_mandir}/man5/fapi-config.5*
%{_mandir}/man5/fapi-profile.5* %{_mandir}/man5/fapi-profile.5*
@ -108,6 +122,9 @@ This package contains libraries and header files for developing applications tha
%doc README.md %doc README.md
%changelog %changelog
* Wed Apr 21 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0.3-2mamba
- reconfigure with correct system paths
* Wed Nov 25 2020 Automatic Build System <autodist@mambasoft.it> 3.0.3-1mamba * Wed Nov 25 2020 Automatic Build System <autodist@mambasoft.it> 3.0.3-1mamba
- automatic version update by autodist - automatic version update by autodist