[openpts] Fixed explicit linking of zlib
avesh
avesh at fedoraproject.org
Mon Jan 9 19:29:39 UTC 2012
commit 9789006aa6fd3815181518edd17f27bb2394062c
Author: Avesh Agarwal <avagarwa at redhat.com>
Date: Mon Jan 9 14:29:37 2012 -0500
Fixed explicit linking of zlib
openpts-zlib.patch | 12 ++++++++++++
openpts.spec | 7 ++++++-
2 files changed, 18 insertions(+), 1 deletions(-)
---
diff --git a/openpts-zlib.patch b/openpts-zlib.patch
new file mode 100644
index 0000000..7fa3fce
--- /dev/null
+++ b/openpts-zlib.patch
@@ -0,0 +1,12 @@
+diff -urNp openpts-0.2.6-cvs-patched/src/Makefile.am openpts-0.2.6-current/src/Makefile.am
+--- openpts-0.2.6-cvs-patched/src/Makefile.am 2012-01-05 03:49:15.000000000 -0500
++++ openpts-0.2.6-current/src/Makefile.am 2012-01-09 14:12:02.507361732 -0500
+@@ -30,7 +30,7 @@ localedir = $(datadir)/locale
+
+
+ AM_CPPFLAGS = -I$(top_srcdir)/include $(LIBXML2_CFLAGS) $(TSS_CFLAGS) -I../include -DLOCALEDIR=\"$(localedir)\"
+-AM_LDFLAGS = $(LIBXML2_LIBS) $(LIBCRYPTO_LIBS) $(TSS_LIBS) -lopenpts
++AM_LDFLAGS = $(LIBXML2_LIBS) $(LIBCRYPTO_LIBS) $(TSS_LIBS) -lz -lopenpts
+ # $(LIBINTL) -lopenpts
+
+ if HAVE_LIBUUID
diff --git a/openpts.spec b/openpts.spec
index 0b32aff..ec2eae2 100644
--- a/openpts.spec
+++ b/openpts.spec
@@ -5,7 +5,7 @@ Summary: TCG Platform Trust Service (PTS)
Name: openpts
Version: 0.2.6
-Release: 1%{?dist}
+Release: 2%{?dist}
License: CPL
Url: http://sourceforge.jp/projects/openpts/
Source0: http://sourceforge.jp/projects/openpts/downloads/54410/openpts-%{version}.tar.gz
@@ -33,6 +33,7 @@ Requires: tboot
Patch1: bugs.patch
# To resolve inconsistency in its file name in /var/lock/subsys/
Patch2: init-script.patch
+Patch3: openpts-zlib.patch
%description
OpenPTS is an open-source package of Platform Trust Service (PTS)
@@ -44,6 +45,7 @@ specifications set forth by the Trusted Computing Group (TCG).
%patch1 -p1
%patch2 -p1
+%patch3 -p1
%build
sh bootstrap.sh
@@ -152,6 +154,9 @@ getent group ptsc >/dev/null || groupadd -r ptsc
#fi
%changelog
+* Mon Jan 9 2012 Avesh Agarwal <avagarwa at redhat.com> - 0.2.6-2
+- Fixed explicit linking of zlib
+
* Mon Jan 9 2012 Avesh Agarwal <avagarwa at redhat.com> - 0.2.6-1
- New upstream release 0.2.6
- Removed aide support
More information about the scm-commits
mailing list