forked from pool/tpm2.0-tools
Accepting request 936758 from security
OBS-URL: https://build.opensuse.org/request/show/936758 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tpm2.0-tools?expand=0&rev=33
This commit is contained in:
commit
d005922503
@ -1,3 +1,14 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Dec 8 16:37:28 UTC 2021 - Alberto Planas Dominguez <aplanas@suse.com>
|
||||||
|
|
||||||
|
- The update to 5.2 fill also jsc#SLE-9515 (4.1) and jsc#SLE-17366 (4.3.0)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Nov 29 10:27:08 UTC 2021 - Alberto Planas Dominguez <aplanas@suse.com>
|
||||||
|
|
||||||
|
- Fix python3-PyYAML requirement
|
||||||
|
- Move the tests inside a bcond. Disabled by default.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Oct 20 08:53:37 UTC 2021 - Alberto Planas Dominguez <aplanas@suse.com>
|
Wed Oct 20 08:53:37 UTC 2021 - Alberto Planas Dominguez <aplanas@suse.com>
|
||||||
|
|
||||||
|
@ -16,6 +16,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%bcond_with test
|
||||||
Name: tpm2.0-tools
|
Name: tpm2.0-tools
|
||||||
Version: 5.2
|
Version: 5.2
|
||||||
Release: 0
|
Release: 0
|
||||||
@ -33,7 +34,11 @@ BuildRequires: libcurl-devel
|
|||||||
BuildRequires: libopenssl-devel
|
BuildRequires: libopenssl-devel
|
||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
BuildRequires: libuuid-devel
|
BuildRequires: libuuid-devel
|
||||||
|
BuildRequires: pkgconfig
|
||||||
|
BuildRequires: tpm2-0-tss-devel
|
||||||
|
BuildRequires: tpm2.0-abrmd-devel
|
||||||
BuildRequires: pkgconfig(efivar)
|
BuildRequires: pkgconfig(efivar)
|
||||||
|
Recommends: tpm2.0-abrmd
|
||||||
# Pandoc is used for generating the man pages, but since 3.0.4 prebuilt man
|
# Pandoc is used for generating the man pages, but since 3.0.4 prebuilt man
|
||||||
# pages are shipped with the distribution tarball and we don't need to generate
|
# pages are shipped with the distribution tarball and we don't need to generate
|
||||||
# them any more. Pandoc is only available on openSUSE (not 32-bit x86) and not
|
# them any more. Pandoc is only available on openSUSE (not 32-bit x86) and not
|
||||||
@ -45,18 +50,16 @@ BuildRequires: pandoc
|
|||||||
%endif
|
%endif
|
||||||
%endif
|
%endif
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: pkgconfig
|
%if %{with test}
|
||||||
BuildRequires: tpm2-0-tss-devel
|
|
||||||
BuildRequires: tpm2.0-abrmd-devel
|
|
||||||
# requirements for unit test suite (configure --enable-unit)
|
# requirements for unit test suite (configure --enable-unit)
|
||||||
BuildRequires: expect
|
BuildRequires: expect
|
||||||
BuildRequires: ibmswtpm2
|
BuildRequires: ibmswtpm2
|
||||||
BuildRequires: libcmocka-devel
|
BuildRequires: libcmocka-devel
|
||||||
BuildRequires: python38-pyaml
|
BuildRequires: python3-PyYAML
|
||||||
BuildRequires: tpm2.0-abrmd
|
BuildRequires: tpm2.0-abrmd
|
||||||
# for xxd, which is also required by the tests
|
# for xxd, which is also required by the tests
|
||||||
BuildRequires: vim
|
BuildRequires: vim
|
||||||
Recommends: tpm2.0-abrmd
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Trusted Computing is a set of specifications published by the Trusted
|
Trusted Computing is a set of specifications published by the Trusted
|
||||||
@ -71,28 +74,30 @@ associated interfaces.
|
|||||||
%build
|
%build
|
||||||
# help configure find required executables for testing
|
# help configure find required executables for testing
|
||||||
export PATH=$PATH:/usr/sbin:/usr/libexec/ibmtss
|
export PATH=$PATH:/usr/sbin:/usr/libexec/ibmtss
|
||||||
%configure --disable-static --enable-unit
|
%configure --disable-static \
|
||||||
make %{?_smp_mflags}
|
%{?with_test: --enable-unit}
|
||||||
|
%make_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make DESTDIR=%{buildroot} install %{?_smp_mflags}
|
%make_install
|
||||||
find %{buildroot} -type f -name "*.la" -delete -print
|
find %{buildroot} -type f -name "*.la" -delete -print
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
|
||||||
%doc doc/README.md doc/CHANGELOG.md
|
%doc doc/README.md doc/CHANGELOG.md
|
||||||
%license doc/LICENSE
|
%license doc/LICENSE
|
||||||
/usr/bin/tpm2*
|
%{_bindir}/tpm2*
|
||||||
/usr/bin/tss2*
|
%{_bindir}/tss2*
|
||||||
%{_mandir}/man1/tpm2*
|
%{_mandir}/man1/tpm2*
|
||||||
%{_mandir}/man1/tss2*
|
%{_mandir}/man1/tss2*
|
||||||
%dir %{_datadir}/bash-completion
|
%dir %{_datadir}/bash-completion
|
||||||
%dir %{_datadir}/bash-completion/completions
|
%dir %{_datadir}/bash-completion/completions
|
||||||
%{_datadir}/bash-completion/completions/*
|
%{_datadir}/bash-completion/completions/*
|
||||||
|
|
||||||
|
%if %{with test}
|
||||||
# the test suite does not currently work, because it conflicts with our LTO
|
# the test suite does not currently work, because it conflicts with our LTO
|
||||||
# linking (see bsc#1188085).
|
# linking (see bsc#1188085).
|
||||||
#%%check
|
%check
|
||||||
#make check
|
%make_build check
|
||||||
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user