Blame SPECS/tpm2-tools.spec

14db38
#global candidate rc2
14db38
14db38
Name:    tpm2-tools
14db38
Version: 4.3.0
44dd2b
Release: 1%{?candidate:.%{candidate}}.1%{?dist}
14db38
Summary: A bunch of TPM testing toolS build upon tpm2-tss
14db38
14db38
License: BSD
14db38
URL:     https://github.com/tpm2-software/tpm2-tools
14db38
Source0: https://github.com/tpm2-software/tpm2-tools/releases/download/%{version}%{?candidate:-%{candidate}}/%{name}-%{version}%{?candidate:-%{candidate}}.tar.gz
14db38
44dd2b
# PR#2021: Parse EV_POST_CODE as strings
44dd2b
Patch0:  https://github.com/tpm2-software/tpm2-tools/pull/2021.patch
44dd2b
14db38
BuildRequires: gcc-c++
14db38
BuildRequires: libtool
14db38
BuildRequires: autoconf-archive
14db38
BuildRequires: pandoc
14db38
BuildRequires: pkgconfig(cmocka)
14db38
BuildRequires: pkgconfig(libcurl)
14db38
BuildRequires: pkgconfig(openssl)
14db38
# tpm2-tss-devel provides tss2-mu/sys/esys package config
14db38
BuildRequires: pkgconfig(tss2-mu)
14db38
BuildRequires: pkgconfig(tss2-sys)
14db38
BuildRequires: pkgconfig(tss2-esys)
14db38
BuildRequires: pkgconfig(uuid)
14db38
14db38
# tpm2-tools is heavily depending on TPM2.0-TSS project, matched tss is required
14db38
Requires: tpm2-tss%{?_isa} >= 2.3.1
14db38
14db38
%description
14db38
tpm2-tools is a batch of tools for tpm2.0. It is based on tpm2-tss.
14db38
14db38
%prep
14db38
%autosetup -p1 -n %{name}-%{version}%{?candidate:-%{candidate}}
14db38
14db38
%build
14db38
# LTO exposes a latent uninitialized variable "value" in the function # "nt".
14db38
# This has been reported to the maintainer (Yunying), but they have not
14db38
# responded and I am not comfortable enough with the code to know if a trivial
14db38
# initialization to zero is appropriate/safe.  So LTO is disabled for now.
14db38
%define _lto_cflags %{nil}
14db38
%configure --prefix=/usr --disable-static --disable-silent-rules
14db38
%make_build
14db38
14db38
%install
14db38
%make_install
14db38
14db38
%files
14db38
%license doc/LICENSE
14db38
%doc README.md doc/CHANGELOG.md
14db38
%{_bindir}/tpm2_*
14db38
%{_bindir}/tss2_*
14db38
%{_datadir}/bash-completion/completions/tpm2*
14db38
%{_datadir}/bash-completion/completions/tss2*
14db38
%{_mandir}/man1/tpm2_*.1.gz
14db38
%{_mandir}/man1/tss2_*.1.gz
14db38
14db38
%changelog
44dd2b
* Thu Apr 22 2021 Davide Cavalca <dcavalca@fb.com> - 4.3.0-1.1
44dd2b
- Backport TPM eventlog parsing fix (PR#2021)
44dd2b
14db38
* Sat Aug 29 2020 Peter Robinson <pbrobinson@fedoraproject.org> - 4.3.0-1
14db38
- Update to 4.3.0
14db38
14db38
* Mon Aug 10 2020 Peter Robinson <pbrobinson@fedoraproject.org> - 4.2.1-4
14db38
- Rebuild for tpm2-tss 3.0
14db38
14db38
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.2.1-3
14db38
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
14db38
14db38
* Tue Jun 30 2020 Jeff Law <law@redhat.com> - 4.2.1-2
14db38
- Disable LTO due to latent uninitialized variable exposed by LTO
14db38
14db38
* Wed May 27 2020 Peter Robinson <pbrobinson@fedoraproject.org> - 4.2.1-1
14db38
- Update to 4.2.1
14db38
14db38
* Tue Apr 14 2020 Peter Robinson <pbrobinson@fedoraproject.org> - 4.2-1
14db38
- Update to 4.2
14db38
14db38
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.1-2
14db38
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
14db38
14db38
* Thu Nov 28 2019 Yunying Sun <yunying.sun@intel.com> - 4.1-1
14db38
- Update to 4.1 release
14db38
14db38
* Tue Oct 29 2019 Yunying Sun <yunying.sun@intel.com> - 4.0.1-1
14db38
- Update to 4.0.1 release
14db38
14db38
* Tue Sep 10 2019 Peter Robinson <pbrobinson@fedoraproject.org> 4.0-1
14db38
- Update to 4.0
14db38
14db38
* Fri Sep  6 2019 Javier Martinez Canillas <javierm@redhat.com> 4.0-0.4-rc2
14db38
- Use a release tarball instead of a source code tarball
14db38
14db38
* Fri Sep  6 2019 Peter Robinson <pbrobinson@fedoraproject.org> 4.0-0.3-rc2
14db38
- Update to 4.0 RC2
14db38
14db38
* Tue Aug 27 2019 Peter Robinson <pbrobinson@fedoraproject.org> 4.0-0.2-rc1
14db38
- Update to 4.0 RC1
14db38
14db38
* Tue Aug 20 2019 Peter Robinson <pbrobinson@fedoraproject.org> 4.0-0.1-rc0
14db38
- Update to 4.0 RC0
14db38
14db38
* Thu Aug  1 2019 Peter Robinson <pbrobinson@fedoraproject.org> 3.2.0-3
14db38
- Fix for crash for max PCRs available
14db38
14db38
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.0-2
14db38
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
14db38
14db38
* Fri Jun 21 2019 Yunying Sun <yunying.sun@intel.com> - 3.2.0-1
14db38
- Update to 3.2.0 release
14db38
- Removed patches since all have been included in 3.2.0 release
14db38
14db38
* Fri May 10 2019 Javier Martinez Canillas <javierm@redhat.com> - 3.1.4-2
14db38
- Allow tpm2_makecredential to run without a TPM (jetwhiz)
14db38
- Add tpm2_pcrreset and tpm2_checkquote tools (jetwhiz)
14db38
14db38
* Fri Mar 15 2019 Yunying Sun <yunying.sun@intel.com> - 3.1.4-1
14db38
- Update to 3.1.4 release
14db38
- Removed the 4 patches since all have been included in 3.1.4 release
14db38
14db38
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.3-4
14db38
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
14db38
14db38
* Mon Jan 7 2019 Javier Martinez Canillas <javierm@redhat.com> - 3.1.3-3
14db38
- Fix broken -T option when passing additional arguments
14db38
14db38
* Mon Jan 7 2019 Javier Martinez Canillas <javierm@redhat.com> - 3.1.3-2
14db38
- Fix broken -T option and a couple of minor fixes
14db38
- Add pandoc BuildRequires
14db38
14db38
* Wed Nov 7 2018 Yunying Sun <yunying.sun@intel.com> - 3.1.3-1
14db38
- Update to 3.1.3 release
14db38
14db38
* Wed Sep 12 2018 Javier Martinez Canillas <javierm@redhat.com> - 3.1.2-1
14db38
- Update to 3.1.2 release
14db38
- Restore TCTI configuration environment for tools
14db38
- Restore tpm2_getcap tool properties output
14db38
  Resolves: rhbz#1625647
14db38
14db38
* Sat Jul 14 2018 Javier Martinez Canillas <javierm@redhat.com> - 3.1.1-3
14db38
- Revert backward incompatible change that removes default object attributes
14db38
14db38
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.1-2
14db38
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
14db38
14db38
* Thu Jul 12 2018 Yunying Sun <yunying.sun@intel.com> - 3.1.1-1
14db38
- Update to 3.1.1 release
14db38
14db38
* Thu Jul 5 2018 Yunying Sun <yunying.sun@intel.com> - 3.1.0-1
14db38
- Update Requires version of tpm2-tss to 2.0.0
14db38
- Remove BuildRequires for tcti-abrmd since it is optional
14db38
- Remove BuildRequires for tcti-{device,mssim} as it is now dynamically loaded
14db38
- Update to 3.1.0 release
14db38
14db38
* Mon Apr 30 2018 Javier Martinez Canillas <javierm@redhat.com> - 3.0.4-1
14db38
- Update URLs to point to the new project location
14db38
- Update to 3.0.4 release
14db38
14db38
* Wed Feb 21 2018 Javier Martinez Canillas <javierm@redhat.com> - 3.0.3-3
14db38
- Remove ExclusiveArch: x86_64 directive
14db38
14db38
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.3-2
14db38
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
14db38
14db38
* Tue Jan 16 2018 Javier Martinez Canillas <javierm@redhat.com> - 3.0.3-1
14db38
- Update to 3.0.3 release
14db38
14db38
* Mon Dec 18 2017 Javier Martinez Canillas <javierm@redhat.com> - 3.0.2-1
14db38
- Update to 3.0.2 release
14db38
14db38
* Tue Dec 12 2017 Javier Martinez Canillas <javierm@redhat.com> - 3.0.1-1
14db38
- Update to 3.0.1 release (RHBZ#1512743)
14db38
- Download the generated tarball provided instead of the source code tarball
14db38
14db38
* Fri Dec 08 2017 Javier Martinez Canillas <javierm@redhat.com> - 3.0-1
14db38
- Update to 3.0 release
14db38
14db38
* Wed Nov 29 2017 Javier Martinez Canillas <javierm@redhat.com> - 3.0-0.1.rc1
14db38
- Update to 3.0 release candidate 1
14db38
- Update URLs to point to the new project location
14db38
- Make the package to obsolete version 2.1.1
14db38
14db38
* Wed Nov 01 2017 Javier Martinez Canillas <javierm@redhat.com> - 2.1.1-1
14db38
- Rename remaining tpm2.0-tools prefixes to tpm2-tools
14db38
- Remove global pkg_prefix since now the upstream repo and package names match
14db38
- Remove downstream patches since now these are in the latest upstream release
14db38
- Update to 2.1.1 release (RHBZ#1504438)
14db38
14db38
* Thu Oct 19 2017 Jerry Snitselaar <jsnitsel@redhat.com> - 2.1.0-7
14db38
- Clean up potential memleak (RHBZ#1503959)
14db38
14db38
* Thu Oct 05 2017 Javier Martinez Canillas <javierm@redhat.com> - 2.1.0-6
14db38
- Add tpm2-abrmd-devel BuildRequires so tools have abrmd support (RHBZ#1498909)
14db38
14db38
* Fri Aug 18 2017 Javier Martinez Canillas <javierm@redhat.com> - 2.1.0-5
14db38
- Remove unneeded source tarballs (RHBZ#1482830)
14db38
14db38
* Tue Aug 15 2017 Sun Yunying <yunying.sun@intel.com> - 2.1.0-4
14db38
- Add patch to fix build error when openssl-devel is installed(RHBZ#1481236)
14db38
14db38
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-3
14db38
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
14db38
14db38
* Mon Jul 31 2017 Sun Yunying <yunying.sun@intel.com> - 2.1.0-2
14db38
- Add patch to fix gcc7 complaining about implicit-fallthrough cases
14db38
14db38
* Fri Jul 28 2017 Sun Yunying <yunying.sun@intel.com> - 2.1.0-1
14db38
- Update to latest upstream release 2.1.0
14db38
14db38
* Fri Jul 28 2017 Sun Yunying <yunying.sun@intel.com> - 1.1.0-9
14db38
- Update Requires dependency so that tpm2-tss update won't break tpm2-tools
14db38
14db38
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-8
14db38
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
14db38
14db38
* Wed May 10 2017 Sun Yunying <yunying.sun@intel.com> - 1.1.0-7
14db38
- Only update release version to make fedpkg build works for f26
14db38
14db38
* Wed Mar 1 2017 Sun Yunying <yunying.sun@intel.com> - 1.1.0-6
14db38
- Update tpm2-tss version to 1.0-3 to fix broken dependency on f26
14db38
14db38
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-5
14db38
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
14db38
14db38
* Fri Jan 20 2017 Sun Yunying <yunying.sun@intel.com> - 1.1.0-4
14db38
- Dependency check failed for Requires again, here to fix this
14db38
- Update release version and changelog
14db38
14db38
* Thu Jan 19 2017 Sun Yunying <yunying.sun@intel.com> - 1.1.0-3
14db38
- Change spec file permission to 644 to avoid rpmlint complain
14db38
- Update Requires to fix dependency check error reported in Bodhi
14db38
- Remove tpm2-tss-devel version in BuildRequires comment
14db38
- Update release version and changelog
14db38
14db38
* Wed Dec 21 2016 Sun Yunying <yunying.sun@intel.com> - 1.1.0-2
14db38
- Remove pkg_version to avoid dupliate use of version
14db38
- Remove redundant BuildRequires for autoconf/automake/pkgconfig
14db38
- Add comments for BuildRequires of sapi/tcti-device/tcti-socket
14db38
- Use ExclusiveArch instead of ExcludeArch
14db38
- Requires tpm2-tss version updated to 1.0-2
14db38
- Updated release version and changelog
14db38
14db38
* Fri Dec 2 2016 Sun Yunying <yunying.sun@intel.com> - 1.1.0-1
14db38
- Initial version of the package