Accepting request 669009 from home:gary_lin:branches:security

Update to version 0.6.0 and enable TPM2 support

OBS-URL: https://build.opensuse.org/request/show/669009
OBS-URL: https://build.opensuse.org/package/show/security/libtpms?expand=0&rev=15
This commit is contained in:
Marcus Meissner 2019-02-13 17:01:49 +00:00 committed by Git OBS Bridge
parent cf3e340b01
commit fed6c438fc
4 changed files with 17 additions and 8 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Mon Jan 28 09:25:27 UTC 2019 - Gary Ching-Pang Lin <glin@suse.com>
- Update to version 0.6.0
* Introduce TPM2 support
- Use %license tag for LICENSE
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Jan 17 12:05:51 UTC 2018 - vcizek@suse.com Wed Jan 17 12:05:51 UTC 2018 - vcizek@suse.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package libtpms # spec file for package libtpms
# #
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via https://bugs.opensuse.org/
# #
@ -24,7 +24,7 @@ Summary: Library providing Trusted Platform Module (TPM) functionality
License: BSD-3-Clause License: BSD-3-Clause
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Url: https://github.com/stefanberger/libtpms Url: https://github.com/stefanberger/libtpms
Source0: https://github.com/stefanberger/libtpms/archive/v%{version}-dev1.tar.gz Source0: https://github.com/stefanberger/libtpms/archive/v%{version}.tar.gz
BuildRequires: autoconf BuildRequires: autoconf
BuildRequires: automake BuildRequires: automake
BuildRequires: libtool BuildRequires: libtool
@ -55,11 +55,12 @@ Requires: mozilla-nspr-devel
Libtpms header files and documentation. Libtpms header files and documentation.
%prep %prep
%setup -q -n libtpms-%{version}-dev1 %setup -q -n libtpms-%{version}
%build %build
./bootstrap.sh ./bootstrap.sh
%configure \ %configure \
--with-tpm2 \
--with-openssl \ --with-openssl \
--disable-static --disable-static
@ -79,7 +80,8 @@ install -d -m 0755 %{buildroot}%{_mandir}/man3
%postun -n %{lname} -p /sbin/ldconfig %postun -n %{lname} -p /sbin/ldconfig
%files -n %{lname} %files -n %{lname}
%doc LICENSE README CHANGES %doc README CHANGES
%license LICENSE
%{_libdir}/%{name}.so.%{version} %{_libdir}/%{name}.so.%{version}
%{_libdir}/%{name}.so.0 %{_libdir}/%{name}.so.0

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:63dd8f6721e19afc9dc4984e3794674d0761eb2053f496128ddf7ad4341153a4
size 1118827

3
v0.6.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b370351dd1cc82aae5e4ca8d4a5c58d4f4c7e757457c551a9e3ad3791a88360c
size 1190696