forked from pool/tpm2-0-tss
- added version_fix.patch to fix package config version numbers.
OBS-URL: https://build.opensuse.org/package/show/security/tpm2-0-tss?expand=0&rev=55
This commit is contained in:
parent
97d9bd7034
commit
a097eb82c2
@ -7,6 +7,7 @@ Thu Feb 22 09:41:46 UTC 2018 - matthias.gerstner@suse.com
|
||||
- various stability bugfixes
|
||||
- EncryptDecrypt2 command is now implemented
|
||||
- removed reproducable.patch. This is now included upstream.
|
||||
- added version_fix.patch to fix package config version numbers.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 1 14:27:33 UTC 2017 - matthias.gerstner@suse.com
|
||||
|
@ -25,6 +25,7 @@ Group: Productivity/Security
|
||||
Url: https://github.com/tpm2-software/tpm2-tss
|
||||
Source0: https://github.com/tpm2-software/tpm2-tss/archive/%{version}.tar.gz
|
||||
Source2: baselibs.conf
|
||||
Patch0: version_fix.patch
|
||||
# PATCH-FIX-UPSTREAM bmwiedemann https://github.com/01org/TPM2.0-TSS/pull/419
|
||||
BuildRequires: autoconf-archive
|
||||
BuildRequires: automake
|
||||
@ -82,6 +83,14 @@ TPM over a socket.
|
||||
|
||||
%prep
|
||||
%setup -q -n tpm2-tss-%{version}
|
||||
# TODO: XX:
|
||||
# this fixes the autoconf version number which is determined via git and
|
||||
# doesn't work in OBS. The distribution tarball may fix this in the future for
|
||||
# us. If we don'T do this then the pkg-config *.pc files don't contain a
|
||||
# version number and dependent packages like tpm2.0-tools fail to build.
|
||||
#
|
||||
# the version number needs to be fixed with each version change!
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
# we are still using the source tarball here. there is a release tarball for
|
||||
|
11
version_fix.patch
Normal file
11
version_fix.patch
Normal file
@ -0,0 +1,11 @@
|
||||
Index: tpm2-tss-1.3.0/configure.ac
|
||||
===================================================================
|
||||
--- tpm2-tss-1.3.0.orig/configure.ac
|
||||
+++ tpm2-tss-1.3.0/configure.ac
|
||||
@@ -1,5 +1,5 @@
|
||||
AC_INIT([tpm2-tss],
|
||||
- [m4_esyscmd_s([git describe --tags --always --dirty])])
|
||||
+ [1.3.0])
|
||||
AC_CONFIG_MACRO_DIR([m4])
|
||||
AC_PROG_CC
|
||||
AC_PROG_CXX
|
Loading…
Reference in New Issue
Block a user