From 8f596bd500b0d4b59330dc6aa68ede1a7afbfc11 Mon Sep 17 00:00:00 2001 From: Than Ngo Date: Sep 15 2020 18:39:49 +0000 Subject: Fix doxygen crash --- diff --git a/tpm2-tss-3.0.0-doxygen.patch b/tpm2-tss-3.0.0-doxygen.patch new file mode 100644 index 0000000..2f82472 --- /dev/null +++ b/tpm2-tss-3.0.0-doxygen.patch @@ -0,0 +1,15 @@ +diff -up tpm2-tss-3.0.0/Doxyfile.in.me tpm2-tss-3.0.0/Doxyfile.in +--- tpm2-tss-3.0.0/Doxyfile.in.me 2020-09-15 20:24:26.463314644 +0200 ++++ tpm2-tss-3.0.0/Doxyfile.in 2020-09-15 20:26:29.010866650 +0200 +@@ -947,7 +947,10 @@ EXCLUDE_PATTERNS = + # Note that the wildcards are matched against the file with absolute path, so to + # exclude all test directories use the pattern */test/* + +-EXCLUDE_SYMBOLS = *_IN IESYS_CMD_IN_PARAM ++EXCLUDE_SYMBOLS = StartAuthSession_IN CreatePrimary_IN ContextSave_IN ContextLoad_IN \ ++ Load_IN LoadExternal_IN CreateLoaded_IN EvictControl_IN HMAC_Start_IN \ ++ HierarchyChangeAuth_IN SequenceComplete_IN Policy_IN NV_IN FlushContext_IN \ ++ IESYS_CMD_IN_PARAM + + # The EXAMPLE_PATH tag can be used to specify one or more files or directories + # that contain example code fragments that are included (see the \include diff --git a/tpm2-tss.spec b/tpm2-tss.spec index 95eb713..8935b67 100644 --- a/tpm2-tss.spec +++ b/tpm2-tss.spec @@ -8,6 +8,8 @@ Summary: TPM2.0 Software Stack License: BSD and TCGL URL: https://github.com/tpm2-software/tpm2-tss Source0: https://github.com/tpm2-software/tpm2-tss/releases/download/%{version}/%{name}-%{version}.tar.gz +# doxygen crash +Patch0: tpm2-tss-3.0.0-doxygen.patch %global udevrules_prefix 60- @@ -115,6 +117,9 @@ use tpm2-tss. %changelog +* Tue Sep 15 2020 Than Ngo - 3.0.0-4 +- Fix doxygen crash + * Tue Sep 15 2020 Peter Robinson - 3.0.0-3 - Create tss user, if it doesn't exist, for userspace TPM access