#106 Use latest cmake in build
Closed: Fixed Opened by vakwetu.

No Description Provided


If a valid replacement for "pki/cmake/Modules/FindJNI.cmake" is NOT included in this revised version of "cmake", consider adding the following updates (that were previously applied to the "osutil" component by Dennis Gilmore):

commit 52f8cc5d182157a947c20cb990d898f95bd2c510
Author: Dennis Gilmore <dennis@ausil.us>
Date:   Thu Mar 29 21:29:39 2012 -0500
    add patch to support arm
 clog             |    3 ++-
 osutil-arm.patch |   12 ++++++++++++
 osutil.spec      |   10 ++++++----
 3 files changed, 20 insertions(+), 5 deletions(-)
---
diff --git a/clog b/clog
index 39ce8b2..d90fb38 100644
--- a/clog
+++ b/clog
@@ -1 +1,2 @@
-Bugzilla Bug #734590 - Refactor JNI libraries for Fedora 16+ . . .
+add patch to support arm
+
diff --git a/osutil-arm.patch b/osutil-arm.patch
new file mode 100644
index 0000000..bc09220
--- /dev/null
+++ b/osutil-arm.patch
@@ -0,0 +1,12 @@
+diff -uNr osutil-2.0.2-orig/cmake/Modules/FindJNI.cmake osutil-2.0.2/cmake/Modules/FindJNI.cmake
+--- osutil-2.0.2-orig/cmake/Modules/FindJNI.cmake  2011-10-05 19:23:46.000000000 -0500
++++ osutil-2.0.2/cmake/Modules/FindJNI.cmake   2012-03-29 21:13:02.573062845 -0500
+@@ -40,6 +40,8 @@
+             set(_java_libarch "ppc" "powerpc" "ppc64")
+         elseif (CMAKE_SYSTEM_PROCESSOR MATCHES "^sparc")
+             set(_java_libarch "sparc" "sparcv9")
++        elseif (CMAKE_SYSTEM_PROCESSOR MATCHES "^arm")
++            set(_java_libarch "arm")
+         else (CMAKE_SYSTEM_PROCESSOR MATCHES "^i[3-9]86$")
+             set(_java_libarch "${CMAKE_SYSTEM_PROCESSOR}")
+         endif(CMAKE_SYSTEM_PROCESSOR MATCHES "^i[3-9]86$")
diff --git a/osutil.spec b/osutil.spec
index 467c85d..a1cbfdd 100644
--- a/osutil.spec
+++ b/osutil.spec
@@ -1,6 +1,6 @@
 Name:             osutil
 Version:          2.0.2
-Release:          2%{?dist}
+Release:          3%{?dist}
 Summary:          Operating System Utilities JNI Package
 URL:              http://pki.fedoraproject.org/
 License:          GPLv2
@@ -29,6 +29,7 @@ Requires:         jpackage-utils
 Requires:         nss
 Source0:          http://pki.fedoraproject.org/pki/sources/%{name}/%{name}-%{version}.tar.gz
+Patch0:           osutil-arm.patch
 %if 0%{?rhel}
 #rhel has no java on ppc
@@ -42,10 +43,8 @@ supplies various native operating system operations to Java programs.
 %prep
-
-
 %setup -q
-
+%patch0 -p1
 %clean
 %{__rm} -rf %{buildroot}
@@ -87,6 +86,9 @@ cd %{buildroot}%{_jnidir}
 %changelog
+* Thu Mar 29 2012 Dennis Gilmore <dennis@ausil.us> - 2.0.2-3
+- add patch to support arm
+
 * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.2-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
Summary of "osutil" changes:
  52f8cc5... add patch to support arm (*)
(*) This commit already existed in another branch; no separate mail sent

Metadata Update from @vakwetu:
- Issue assigned to mharmsen
- Issue set to the milestone: UNTRIAGED

Dogtag PKI is moving from Pagure issues to GitHub issues. This means that existing or new
issues will be reported and tracked through Dogtag PKI's GitHub Issue tracker.

This issue has been cloned to GitHub and is available here:
https://github.com/dogtagpki/pki/issues/678

If you want to receive further updates on the issue, please navigate to the
GitHub issue and click on Subscribe button.

Thank you for understanding, and we apologize for any inconvenience.

Metadata