add ppc64 as known arch
This commit is contained in:
parent
38c161e224
commit
b19f05438f
|
@ -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*)
|
|
@ -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@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
|
||||
|
||||
|
|
Loading…
Reference in New Issue