[tog-pegasus/f15/master] add patch to install sparc header files
Dennis Gilmore
ausil at fedoraproject.org
Tue Apr 12 00:40:51 UTC 2011
commit 06b6b0d79be007be9e38aaed36e07fe1ecc89309
Author: Dennis Gilmore <dennis at ausil.us>
Date: Mon Apr 11 19:39:07 2011 -0500
add patch to install sparc header files
pegasus-2.10.0-sparc-install-headers.patch | 11 +++++++++++
pegasus-2.9.0-sparc.patch | 12 ++++++------
tog-pegasus.spec | 8 +++++++-
3 files changed, 24 insertions(+), 7 deletions(-)
---
diff --git a/pegasus-2.10.0-sparc-install-headers.patch b/pegasus-2.10.0-sparc-install-headers.patch
new file mode 100644
index 0000000..e15b420
--- /dev/null
+++ b/pegasus-2.10.0-sparc-install-headers.patch
@@ -0,0 +1,11 @@
+--- pegasus/mak/SDKMakefile.orig 2011-04-04 12:14:11.000000000 -0500
++++ pegasus/mak/SDKMakefile 2011-04-04 12:15:32.000000000 -0500
+@@ -71,6 +71,8 @@
+ LINUX_IX86_GNU \
+ LINUX_PPC64_GNU \
+ LINUX_PPC_GNU \
++ LINUX_SPARCV9_GNU \
++ LINUX_SPARC64_GNU \
+ LINUX_X86_64_GNU \
+ LINUX_ZSERIES64_GNU \
+ LINUX_ZSERIES_GNU
diff --git a/pegasus-2.9.0-sparc.patch b/pegasus-2.9.0-sparc.patch
index 9c9f9b0..a217169 100644
--- a/pegasus-2.9.0-sparc.patch
+++ b/pegasus-2.9.0-sparc.patch
@@ -343,9 +343,9 @@ diff -up pegasus/src/Pegasus/Common/Platform_LINUX_SPARCV9_GNU.h.sparc pegasus/s
+#endif
+
+#endif /* Pegasus_Platform_LINUX_SPARCV9_GNU_h */
-diff -up pegasus/src/SDK/samples/mak/LINUX_SPARC64_GNU.mak.sparc pegasus/src/SDK/samples/mak/LINUX_SPARC64_GNU.mak
---- pegasus/src/SDK/samples/mak/LINUX_SPARC64_GNU.mak.sparc 2009-06-09 16:11:24.000000000 +0200
-+++ pegasus/src/SDK/samples/mak/LINUX_SPARC64_GNU.mak 2009-06-09 16:04:48.000000000 +0200
+diff -up pegasus/src/SDK/samples/mak/platform_LINUX_SPARC64_GNU.mak.sparc pegasus/src/SDK/samples/mak/platform_LINUX_SPARC64_GNU.mak
+--- pegasus/src/SDK/samples/mak/platform_LINUX_SPARC64_GNU.mak.sparc 2009-06-09 16:11:24.000000000 +0200
++++ pegasus/src/SDK/samples/mak/platform_LINUX_SPARC64_GNU.mak 2009-06-09 16:04:48.000000000 +0200
@@ -0,0 +1,55 @@
+#//%2006////////////////////////////////////////////////////////////////////////
+#//
@@ -402,9 +402,9 @@ diff -up pegasus/src/SDK/samples/mak/LINUX_SPARC64_GNU.mak.sparc pegasus/src/SDK
+LINK_OUT = -o
+SYM_LINK_LIB = $(PEGASUS_PROVIDER_LIB_DIR)/lib$(LIBRARY)
+PLATFORM_LIB_SUFFIX = so
-diff -up pegasus/src/SDK/samples/mak/LINUX_SPARCV9_GNU.mak.sparc pegasus/src/SDK/samples/mak/LINUX_SPARCV9_GNU.mak
---- pegasus/src/SDK/samples/mak/LINUX_SPARCV9_GNU.mak.sparc 2009-06-09 16:11:37.000000000 +0200
-+++ pegasus/src/SDK/samples/mak/LINUX_SPARCV9_GNU.mak 2009-06-09 16:05:28.000000000 +0200
+diff -up pegasus/src/SDK/samples/mak/platform_LINUX_SPARCV9_GNU.mak.sparc pegasus/src/SDK/samples/mak/platform_LINUX_SPARCV9_GNU.mak
+--- pegasus/src/SDK/samples/mak/platform_LINUX_SPARCV9_GNU.mak.sparc 2009-06-09 16:11:37.000000000 +0200
++++ pegasus/src/SDK/samples/mak/platform_LINUX_SPARCV9_GNU.mak 2009-06-09 16:05:28.000000000 +0200
@@ -0,0 +1,55 @@
+#//%2006////////////////////////////////////////////////////////////////////////
+#//
diff --git a/tog-pegasus.spec b/tog-pegasus.spec
index b4b1648..9953d04 100644
--- a/tog-pegasus.spec
+++ b/tog-pegasus.spec
@@ -8,7 +8,7 @@
Name: tog-pegasus
Version: %{major_ver}.0
-Release: 4%{?dist}
+Release: 5%{?dist}
Epoch: 2
Summary: OpenPegasus WBEM Services for Linux
@@ -62,6 +62,8 @@ Patch16: pegasus-2.9.1-getpagesize.patch
Patch18: pegasus-2.9.1-makefile-initscript.patch
# 19: use posix locks on sparc arches
Patch19: pegasus-2.10.0-sparc-posix-lock.patch
+# 20: install sparc headers
+Patch20: pegasus-2.10.0-sparc-install-headers.patch
BuildRequires: bash, sed, grep, coreutils, procps, gcc, gcc-c++
BuildRequires: libstdc++, make, pam-devel
@@ -187,6 +189,7 @@ The OpenPegasus WBEM tests for the OpenPegasus %{version} Linux rpm.
%patch16 -p1 -b .getpagesize
%patch18 -p1 -b .makefile-initscript
%patch19 -p1 -b .sparc-locks
+%patch20 -p1 -b .sparc-headers
%build
@@ -414,6 +417,9 @@ fi
%changelog
+* Mon Apr 04 2011 Dennis Gilmore <dennis at ausil.us> - 2:2.10.1-5
+- install sparc headers
+
* Wed Mar 30 2011 Dennis Gilmore <dennis at ausil.us> - 2:2.10.1-4
- use posix locks on sparc linux arches
More information about the scm-commits
mailing list