From 829ae79f3da77b4197b20c27f5b4030299682db4 Mon Sep 17 00:00:00 2001 From: Kedar Sovani Date: Fri, 30 Oct 2009 18:36:56 +0100 Subject: [PATCH] Fix build on linux-gnueabi.patch Signed-off-by: Kedar Sovani --- pam_ccreds-7-gnueabi-fix.patch | 12 ++++++++++++ pam_ccreds.spec | 7 ++++++- 2 files changed, 18 insertions(+), 1 deletions(-) create mode 100644 pam_ccreds-7-gnueabi-fix.patch diff --git a/pam_ccreds-7-gnueabi-fix.patch b/pam_ccreds-7-gnueabi-fix.patch new file mode 100644 index 0000000..7a6af83 --- /dev/null +++ b/pam_ccreds-7-gnueabi-fix.patch @@ -0,0 +1,12 @@ +diff -urp pam_ccreds-7.orig/configure.in pam_ccreds-7/configure.in +--- pam_ccreds-7.orig/configure.in 2007-11-05 08:24:51.000000000 -0500 ++++ pam_ccreds-7/configure.in 2009-06-14 08:56:25.000000000 -0400 +@@ -43,7 +43,7 @@ AC_SUBST(pam_ccreds_so_LD) + AC_SUBST(pam_ccreds_so_LDFLAGS) + + AM_CONDITIONAL(USE_NATIVE_LINKER, test -n "$pam_ccreds_so_LD") +-AM_CONDITIONAL(EXTENSION_SO, test "$target_os" = "linux" -o "$target_os" = "linux-gnu") ++AM_CONDITIONAL(EXTENSION_SO, test "$target_os" = "linux" -o "$target_os" = "linux-gnu" -o "$target_os" = "linux-gnueabi") + AM_CONDITIONAL(EXTENSION_1, test "$TARGET_OS" = "HPUX") + + if test -z "$use_gcrypt"; then diff --git a/pam_ccreds.spec b/pam_ccreds.spec index dd785fb..f0181ff 100644 --- a/pam_ccreds.spec +++ b/pam_ccreds.spec @@ -1,7 +1,7 @@ Summary: Pam module to cache login credentials Name: pam_ccreds Version: 10 -Release: 1%{?dist} +Release: 1%{?dist}.fa1 License: GPL+ Group: System Environment/Base URL: http://www.padl.com/OSS/pam_ccreds.html @@ -9,6 +9,7 @@ Source0: http://www.padl.com/download/%{name}-%{version}.tar.gz Patch1: pam_ccreds-3-inst-no-root.patch Patch2: pam_ccreds-7-no-filename.patch Patch3: pam_ccreds-7-open.patch +Patch4: pam_ccreds-7-gnueabi-fix.patch BuildRequires: automake db4-devel libgcrypt-devel pam-devel Requires: db4 pam @@ -28,6 +29,7 @@ authenticated. %patch1 -p1 -b .inst-no-root %patch2 -p1 -b .no-filename %patch3 -p1 -b .open +%patch4 -p1 -b .gnueabifix touch compile autoreconf @@ -54,6 +56,9 @@ rm -rf $RPM_BUILD_ROOT %{_sbindir}/cc_dump %changelog +* Fri Oct 30 2009 Kedar Sovani +- Fix package build on linux-gnueabi + * Mon Sep 28 2009 Avesh Agarwal - 10-1 - Upgrade to latest upstream - Updated patches -- 1.5.5.6