diff --git a/jakarta-commons-daemon-s390x-configure.patch b/jakarta-commons-daemon-s390x-configure.patch new file mode 100644 index 0000000..e32642f --- /dev/null +++ b/jakarta-commons-daemon-s390x-configure.patch @@ -0,0 +1,12 @@ +diff -up src/native/unix/configure.s390x src/native/unix/configure +--- src/native/unix/configure.s390x 2009-03-03 12:36:47.000000000 +0100 ++++ src/native/unix/configure 2009-03-03 12:37:04.000000000 +0100 +@@ -2432,6 +2432,8 @@ echo "$as_me: error: Unsupported operati + CFLAGS="$CFLAGS -DCPU=\\\"amd64\\\"" ;; + ia64) + CFLAGS="$CFLAGS -DCPU=\\\"ia64\\\"" ;; ++ s390*) ++ CFLAGS="$CFLAGS -DCPU=\\\"$host_cpu\\\"" ;; + bs2000) + CFLAGS="$CFLAGS -DCPU=\\\"osd\\\" -DCHARSET_EBCDIC -DOSD_POSIX" + supported_os="osd" diff --git a/jakarta-commons-daemon.spec b/jakarta-commons-daemon.spec index 1683374..e83f0ca 100644 --- a/jakarta-commons-daemon.spec +++ b/jakarta-commons-daemon.spec @@ -39,7 +39,7 @@ Name: jakarta-%{short_name} Version: 1.0.1 -Release: 7.6%{?dist} +Release: 7.7%{?dist} Epoch: 1 Summary: Defines API to support an alternative invocation mechanism License: ASL 2.0 @@ -49,6 +49,7 @@ Source0: http://www.apache.org/dist/jakarta/commons/daemon/source/daemon- Patch0: %{name}-crosslink.patch Patch1: %{name}-execve-path-warning.patch Patch2: %{name}-ia64-configure.patch +Patch3: %{name}-s390x-configure.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) %if %{native} @@ -106,6 +107,7 @@ Javadoc for %{name}. %patch0 -p0 %patch1 -p0 %patch2 -p0 +%patch3 -p0 chmod 644 src/samples/* %if %{native} pushd src/native/unix @@ -189,6 +191,9 @@ fi %endif %changelog +* Tue Mar 03 2009 Karsten Hopp 1.0.1-7.7 +- add configure patch for s390x + * Wed Feb 25 2009 Fedora Release Engineering - 1:1.0.1-7.6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild