[tpm-tools] Remove -Werror from compile flags (#716046)
Steve Grubb
sgrubb at fedoraproject.org
Fri Jun 24 18:34:09 UTC 2011
commit c9f03094e916e18d946844f6b3a4c0b316b7d6b0
Author: Steve <sgrubb at redhat.com>
Date: Fri Jun 24 14:33:50 2011 -0400
Remove -Werror from compile flags (#716046)
tpm-tools-1.3.5-no-werror.patch | 12 ++++++++++++
tpm-tools.spec | 8 +++++++-
2 files changed, 19 insertions(+), 1 deletions(-)
---
diff --git a/tpm-tools-1.3.5-no-werror.patch b/tpm-tools-1.3.5-no-werror.patch
new file mode 100644
index 0000000..850a935
--- /dev/null
+++ b/tpm-tools-1.3.5-no-werror.patch
@@ -0,0 +1,12 @@
+diff -u tpm-tools-1.3.5.orig/configure tpm-tools-1.3.5/configure
+--- tpm-tools-1.3.5.orig/configure 2011-06-24 14:26:09.000000000 -0400
++++ tpm-tools-1.3.5/configure 2011-06-24 14:26:39.000000000 -0400
+@@ -14963,7 +14963,7 @@
+ fi
+
+
+-CFLAGS="$CFLAGS -Wall -Werror -Wreturn-type -Wsign-compare"
++CFLAGS="$CFLAGS -Wall -Wreturn-type -Wsign-compare"
+
+ ac_config_files="$ac_config_files ./Makefile po/Makefile.in m4/Makefile include/Makefile lib/Makefile src/Makefile src/tpm_mgmt/Makefile src/cmds/Makefile src/data_mgmt/Makefile dist/tpm-tools.spec man/Makefile man/man1/Makefile man/man3/Makefile man/man8/Makefile"
+
diff --git a/tpm-tools.spec b/tpm-tools.spec
index 9664853..996b246 100644
--- a/tpm-tools.spec
+++ b/tpm-tools.spec
@@ -1,11 +1,13 @@
Name: tpm-tools
Summary: Management tools for the TPM hardware
Version: 1.3.5
-Release: 4%{?dist}
+Release: 5%{?dist}
License: CPL
Group: Applications/System
Source0: http://downloads.sourceforge.net/trousers/%{name}-%{version}.tar.gz
Patch0: tpm-tools-1.3.5-fix-for-new-DSO-linking.patch
+# Package unnecessarily has -Werror and any problem kills the build
+Patch1: tpm-tools-1.3.5-no-werror.patch
URL: http://trousers.sourceforge.net
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: trousers-devel openssl-devel opencryptoki-devel
@@ -42,6 +44,7 @@ for developing tpm-tools applications.
%prep
%setup -q
%patch0 -p1
+%patch1 -p1
%build
%configure
@@ -83,6 +86,9 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/man3/tpmUnseal*
%changelog
+* Fri Jun 24 2011 Steve Grubb <sgrubb at redhat.com> 1.3.5-5
+- Remove -Werror from compile flags (#716046)
+
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.3.5-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
More information about the scm-commits
mailing list