- Ensure tssprintcmd has the compilation compilation flags,
PIC in particular
This commit is contained in:
parent
d1a9ada4b3
commit
0d4b2a71f0
12
picfix.patch
Normal file
12
picfix.patch
Normal file
@ -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
|
@ -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 <law@redhat.com> - 1331-3
|
||||
- Ensure tssprintcmd has the compilation compilation flags,
|
||||
PIC in particular
|
||||
|
||||
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1331-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user