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 5db2ab8..a5abafb 100644 --- a/apache-commons-daemon.spec +++ b/apache-commons-daemon.spec @@ -4,7 +4,7 @@ Name: apache-%{short_name} Version: 1.0.10 -Release: 4%{?dist} +Release: 5%{?dist} 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 1.0.10-5 +- add ppc64 as known arch + * Wed Jul 18 2012 Fedora Release Engineering - 1.0.10-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild