diff --git a/js-1.5-va_copy.patch b/js-1.5-va_copy.patch index 7845858..cf64d3a 100644 --- a/js-1.5-va_copy.patch +++ b/js-1.5-va_copy.patch @@ -15,8 +15,8 @@ +OS_CFLAGS += -DHAVE_VA_COPY -DVA_COPY=va_copy +endif + -+ifeq ($(CPU_ARCH),s390x) -+# Use va_copy() standard macro on s390x too ++ifeq (s390,$(findstring s390,$(CPU_ARCH))) ++# Use va_copy() standard macro on s390/s390x too OS_CFLAGS += -DHAVE_VA_COPY -DVA_COPY=va_copy endif diff --git a/js.spec b/js.spec index f1ad21d..e40d4ac 100644 --- a/js.spec +++ b/js.spec @@ -3,7 +3,7 @@ Summary: JavaScript interpreter and libraries Name: js Version: 1.70 -Release: 10%{?dist} +Release: 11%{?dist} # The sources are triple licensed, but when we link against readline which is # GPL, the result can only be GPL. %if 0%{?_without_readline:1} @@ -125,6 +125,9 @@ export BUILD_OPT=1 %{_includedir}/js.msg %changelog +* Mon Jun 14 2010 Dan HorĂ¡k - 1.70-11 +- updated the va_copy patch for s390 + * Mon Jan 25 2010 Pavel Alexeev - 1.70-10 - Remove static library from -devel - %%{_libdir}/*.a (bz#556057) to meet guidelines.