diff --git a/picfix.patch b/picfix.patch new file mode 100644 index 0000000..82f13be --- /dev/null +++ b/picfix.patch @@ -0,0 +1,12 @@ +diff -Nrup a/utils/makefile.fedora b/utils/makefile.fedora +--- a/utils/makefile.fedora 2019-12-19 16:26:06.695476012 -0700 ++++ b/utils/makefile.fedora 2019-12-19 16:25:58.153501665 -0700 +@@ -181,6 +181,8 @@ tsscryptoh.o: $(TSS_HEADERS) tsscryptoh + $(CC) $(CCFLAGS) $(CCLFLAGS) tsscryptoh.c + tsscrypto.o: $(TSS_HEADERS) tsscrypto.c + $(CC) $(CCFLAGS) $(CCLFLAGS) tsscrypto.c ++tssprintcmd.o: $(TSS_HEADERS) tssprintcmd.c ++ $(CC) $(CCFLAGS) $(CCLFLAGS) tssprintcmd.c + tssutils.o: $(TSS_HEADERS) tssutils.c + $(CC) $(CCFLAGS) $(CCLFLAGS) tssutils.c + tssfile.o: $(TSS_HEADERS) tssfile.c diff --git a/tss2.spec b/tss2.spec index 6bf492a..7aee2ae 100644 --- a/tss2.spec +++ b/tss2.spec @@ -7,7 +7,7 @@ Name: tss2 Version: 1331 -Release: 2%{?dist} +Release: 3%{?dist} Summary: IBM's TCG Software Stack (TSS) for TPM 2.0 and related utilities License: BSD @@ -15,6 +15,7 @@ URL: http://sourceforge.net/projects/ibmtpm20tss/ Source0: https://sourceforge.net/projects/ibmtpm20tss/files/ibmtss%{version}.tar.gz Patch1: flags-fixup.patch Patch2: hash_generate.patch +Patch3: picfix.patch BuildRequires: gcc BuildRequires: help2man @@ -92,6 +93,10 @@ popd %doc ibmtss.doc %changelog +* Fri Jan 17 2020 Jeff Law - 1331-3 +- Ensure tssprintcmd has the compilation compilation flags, + PIC in particular + * Sat Jul 27 2019 Fedora Release Engineering - 1331-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild