[apache-commons-daemon/f17] add ppc64 as known arch
Karsten Hopp
karsten at fedoraproject.org
Fri Aug 17 14:45:22 UTC 2012
commit b19f05438fabfcca6435fec5509760ab34c8b285
Author: Karsten Hopp <karsten at redhat.com>
Date: Fri Aug 17 16:43:50 2012 +0200
add ppc64 as known arch
apache-commons-daemon-ppc64.patch | 24 ++++++++++++++++++++++++
apache-commons-daemon.spec | 7 ++++++-
2 files changed, 30 insertions(+), 1 deletions(-)
---
diff --git a/apache-commons-daemon-ppc64.patch b/apache-commons-daemon-ppc64.patch
new file mode 100644
index 0000000..6fdc19a
--- /dev/null
+++ b/apache-commons-daemon-ppc64.patch
@@ -0,0 +1,24 @@
+diff -up commons-daemon-1.0.10-src/src/native/unix/configure.ppc64 commons-daemon-1.0.10-src/src/native/unix/configure
+--- commons-daemon-1.0.10-src/src/native/unix/configure.ppc64 2012-08-17 15:50:17.060069518 +0200
++++ commons-daemon-1.0.10-src/src/native/unix/configure 2012-08-17 15:51:23.540069517 +0200
+@@ -2607,7 +2607,7 @@ echo "$as_me: error: Unsupported operati
+ ;;
+ esac
+ case $host_cpu in
+- powerpc)
++ powerpc*)
+ CFLAGS="$CFLAGS -DCPU=\\\"$host_cpu\\\""
+ HOST_CPU=$host_cpu;;
+ sparc*)
+diff -up commons-daemon-1.0.10-src/src/native/unix/support/apsupport.m4.ppc64 commons-daemon-1.0.10-src/src/native/unix/support/apsupport.m4
+--- commons-daemon-1.0.10-src/src/native/unix/support/apsupport.m4.ppc64 2012-08-17 15:50:30.330069517 +0200
++++ commons-daemon-1.0.10-src/src/native/unix/support/apsupport.m4 2012-08-17 15:51:33.280069517 +0200
+@@ -76,7 +76,7 @@ AC_DEFUN(AP_SUPPORTED_HOST,[
+ ;;
+ esac
+ case $host_cpu in
+- powerpc)
++ powerpc*)
+ CFLAGS="$CFLAGS -DCPU=\\\"$host_cpu\\\""
+ HOST_CPU=$host_cpu;;
+ sparc*)
diff --git a/apache-commons-daemon.spec b/apache-commons-daemon.spec
index 65ef8ee..4e5a7c7 100644
--- a/apache-commons-daemon.spec
+++ b/apache-commons-daemon.spec
@@ -4,7 +4,7 @@
Name: apache-%{short_name}
Version: 1.0.10
-Release: 3%{?dist}
+Release: 3%{?dist}.1
Summary: Defines API to support an alternative invocation mechanism
License: ASL 2.0
Group: Applications/System
@@ -13,6 +13,7 @@ Source0: http://archive.apache.org/dist/commons/%{base_name}/source/%{sho
Patch0: 0001-execve-path-warning.patch
Patch1: apache-commons-daemon-JAVA_OS.patch
Patch2: apache-commons-daemon-s390x.patch
+Patch3: apache-commons-daemon-ppc64.patch
BuildRequires: java-devel >= 1:1.6.0
BuildRequires: jpackage-utils
BuildRequires: maven
@@ -65,6 +66,7 @@ Obsoletes: jakarta-%{short_name}-javadoc <= 1:1.0.1
%patch0 -p1 -b .execve
%patch1 -p1 -b .java_os
%patch2 -p1 -b .s390x
+%patch3 -p1 -b .ppc64
# remove java binaries from sources
rm -rf src/samples/build/
@@ -136,6 +138,9 @@ rm -rf $(readlink -f %{_javadocdir}/%{name}) %{_javadocdir}/%{name} || :
%changelog
+* Fri Aug 17 2012 Karsten Hopp <karsten at redhat.com> 1.0.10-3.1
+- add ppc64 as known arch
+
* Mon Apr 23 2012 Dan HorĂ¡k <dan[at]danny.cz> - 1.0.10-3
- add s390x as known arch
More information about the scm-commits
mailing list