Update to 3.0 release candidate 1

This commit updates tpm2-tools to version 3.0-rc1. It also does some
cleanups to the package such as using the latest URL for the project
repository.

Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
This commit is contained in:
Javier Martinez Canillas 2017-11-12 02:35:42 +01:00
parent 565cd7e724
commit b3574b6515
No known key found for this signature in database
GPG Key ID: C751E590D63F3D69
3 changed files with 20 additions and 13 deletions

4
.gitignore vendored
View File

@ -1,3 +1 @@
/tpm2.0-tools-2.1.0.tar.gz /tpm2-tools-3.0-rc1.tar.gz
/gcc7-implict-fallthrough-fix.patch
/allow-to-build-with-openssl-1.1.x.patch

View File

@ -1 +1 @@
SHA512 (tpm2-tools-2.1.1.tar.gz) = f376b6e77d5683746fcee622f603e396193718a3b0c4b57efc4969e489e8d221aba9dba4878d72f20d966434a9c20097bac33f42b9650e95bb7f03fe13dc2cda SHA512 (tpm2-tools-3.0-rc1.tar.gz) = d0cdf24f59ad0a9bcccae1a6d9fe41b4756b9c8affd5c8e817dc01ea8890ac67ace7f43f2d571221de7a6a5d3da204d779889b870823c2944e8d42d2d26d86ce

View File

@ -1,14 +1,15 @@
Name: tpm2-tools Name: tpm2-tools
Version: 2.1.1 Version: 3.0
Release: 1%{?dist} Release: 0.1.rc1%{?dist}
Summary: A TPM2.0 testing tool build upon TPM2.0-TSS Summary: A TPM2.0 testing tool build upon TPM2.0-TSS
License: BSD License: BSD
URL: https://github.com/01org/tpm2-tools URL: https://github.com/intel/tpm2-tools
Source0: https://github.com/01org/tpm2-tools/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz Source0: https://github.com/intel/tpm2-tools/archive/%{version}-rc1/%{name}-%{version}-rc1.tar.gz
BuildRequires: gcc-c++ BuildRequires: gcc-c++
BuildRequires: libtool BuildRequires: libtool
BuildRequires: pandoc
BuildRequires: autoconf-archive BuildRequires: autoconf-archive
BuildRequires: pkgconfig(cmocka) BuildRequires: pkgconfig(cmocka)
BuildRequires: pkgconfig(libcurl) BuildRequires: pkgconfig(libcurl)
@ -24,13 +25,16 @@ BuildRequires: pkgconfig(tcti-tabrmd)
ExclusiveArch: %{ix86} x86_64 ExclusiveArch: %{ix86} x86_64
# tpm2-tools is heavily depending on TPM2.0-TSS project, matched tss is required # tpm2-tools is heavily depending on TPM2.0-TSS project, matched tss is required
Requires: tpm2-tss%{?_isa} >= 1.1.0-1%{?dist} Requires: tpm2-tss%{?_isa} >= 1.3.0-0.1.rc2%{?dist}
# tpm2-tools project changed the install path for binaries and man page section
Obsoletes: tpm2-tools <= 2.1.1-2
%description %description
tpm2-tools is a batch of testing tools for tpm2.0. It is based on tpm2-tss. tpm2-tools is a batch of testing tools for tpm2.0. It is based on tpm2-tss.
%prep %prep
%autosetup -p1 -n %{name}-%{version} %autosetup -p1 -n %{name}-%{version}-rc1
./bootstrap ./bootstrap
%build %build
@ -41,12 +45,17 @@ tpm2-tools is a batch of testing tools for tpm2.0. It is based on tpm2-tss.
%make_install %make_install
%files %files
%doc README.md CHANGELOG %doc README.md CHANGELOG.md
%license LICENSE %license LICENSE
%{_sbindir}/tpm2_* %{_bindir}/tpm2_*
%{_mandir}/man8/tpm2_*.8.gz %{_mandir}/man1/tpm2_*.1.gz
%changelog %changelog
* Wed Nov 29 2017 Javier Martinez Canillas <javierm@redhat.com> - 3.0-0.1.rc1
- Update to 3.0 release candidate 1
- Update URLs to point to the new project location
- Make the package to obsolete version 2.1.1
* Wed Nov 01 2017 Javier Martinez Canillas <javierm@redhat.com> - 2.1.1-1 * Wed Nov 01 2017 Javier Martinez Canillas <javierm@redhat.com> - 2.1.1-1
- Rename remaining tpm2.0-tools prefixes to tpm2-tools - Rename remaining tpm2.0-tools prefixes to tpm2-tools
- Remove global pkg_prefix since now the upstream repo and package names match - Remove global pkg_prefix since now the upstream repo and package names match