From 7a05b67bff9a93279114acced0591ad133a528cb Mon Sep 17 00:00:00 2001
From: Jacco Ligthart <jacco@redsleeve.org>
Date: Sat, 28 Nov 2015 21:55:38 +0100
Subject: [PATCH] redsleeve

---
 SOURCES/nfs4acl-0.3.3-libtool.patch | 12 ++++++++++++
 SPECS/nfs4-acl-tools.spec           |  9 ++++++++-
 2 files changed, 20 insertions(+), 1 deletion(-)
 create mode 100644 SOURCES/nfs4acl-0.3.3-libtool.patch

diff --git a/SOURCES/nfs4acl-0.3.3-libtool.patch b/SOURCES/nfs4acl-0.3.3-libtool.patch
new file mode 100644
index 0000000..ecb6e1b
--- /dev/null
+++ b/SOURCES/nfs4acl-0.3.3-libtool.patch
@@ -0,0 +1,12 @@
+diff -ruN nfs4-acl-tools-0.3.3-orig/include/builddefs.in nfs4-acl-tools-0.3.3/include/builddefs.in
+--- nfs4-acl-tools-0.3.3-orig/include/builddefs.in	2008-12-03 23:18:24.000000000 +0100
++++ nfs4-acl-tools-0.3.3/include/builddefs.in	2015-01-25 09:33:08.402197396 +0100
+@@ -72,7 +72,7 @@
+ ECHO		= @echo@
+ SORT		= @sort@
+ LN_S		= @LN_S@
+-LIBTOOL		= @LIBTOOL@
++LIBTOOL		= @LIBTOOL@ --tag=CC
+ MAKEDEPEND	= @makedepend@
+ 
+ ENABLE_SHARED = @enable_shared@
diff --git a/SPECS/nfs4-acl-tools.spec b/SPECS/nfs4-acl-tools.spec
index 03f3756..ffd1699 100644
--- a/SPECS/nfs4-acl-tools.spec
+++ b/SPECS/nfs4-acl-tools.spec
@@ -1,6 +1,6 @@
 Name:           nfs4-acl-tools
 Version:        0.3.3
-Release:        14%{?dist}
+Release:        14%{?dist}.redsleeve
 Summary:        The nfs4 ACL tools
 Group:          Applications/System
 License:        BSD
@@ -19,6 +19,8 @@ Patch004: nfs4-acl-tools-0.3.3-DENY-ace-for-DELETE-WRITE_OWNE.patch
 
 Patch100: nfs4acl-0.2.0-compile.patch
 
+Patch10001: ../SOURCES/nfs4acl-0.3.3-libtool.patch
+
 %description
 This package contains commandline and GUI ACL utilities for the Linux
 NFSv4 client.
@@ -34,6 +36,8 @@ NFSv4 client.
 
 %patch100 -p1
 
+%patch10001 -p1
+
 %build
 %ifarch s390 s390x sparc
 PIE="-fPIE"
@@ -63,6 +67,9 @@ rm -rf %{buildroot}
 %{_mandir}/man5/*
 
 %changelog
+* Sat Nov 28 2015 Jacco Ligthart <jacco@redsleeve.org> - 0.3.3-14.redsleeve
+- added "--tag=CC" to the make command due to libtool errors
+
 * Thu Jul 30 2015 Steve Dickson <steved@redhat.com> 0.3.3-14
 - Handle the setting of DENY ace for DELETE, WRITE_OWNER (bz 1160463)
 
-- 
1.8.3.1

