Hello community, here is the log from the commit of package syslog-ng for openSUSE:Factory checked in at 2017-10-11 23:03:52 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/syslog-ng (Old) and /work/SRC/openSUSE:Factory/.syslog-ng.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "syslog-ng" Wed Oct 11 23:03:52 2017 rev:90 rq:533344 version:3.10.1 Changes: -------- --- /work/SRC/openSUSE:Factory/syslog-ng/syslog-ng.changes 2017-07-21 22:44:27.994477347 +0200 +++ /work/SRC/openSUSE:Factory/.syslog-ng.new/syslog-ng.changes 2017-10-11 23:03:57.670047056 +0200 @@ -1,0 +2,10 @@ +Tue Oct 10 11:57:10 UTC 2017 - [email protected] + +- Do not hardcode dependency on java-1_7_0-openjdk, depend on + java-devel >= 1.7 instead +- Added patch: + * syslog-ng-3.10.1-sourcetarget.patch + + Build Java classes with the lowest required source and target + levels. + +------------------------------------------------------------------- New: ---- syslog-ng-3.10.1-sourcetarget.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ syslog-ng.spec ++++++ --- /var/tmp/diff_new_pack.RQVjFd/_old 2017-10-11 23:03:58.522009729 +0200 +++ /var/tmp/diff_new_pack.RQVjFd/_new 2017-10-11 23:03:58.526009554 +0200 @@ -35,6 +35,7 @@ Source2: syslog-ng.conf.default Source3: syslog-ng.service Source4: syslog-ng-service-prepare +Patch0: syslog-ng-3.10.1-sourcetarget.patch %if 0%{?suse_version} >= 1210 %bcond_without systemd @@ -98,9 +99,12 @@ %endif %endif +BuildRequires: autoconf +BuildRequires: automake BuildRequires: libevtlog-devel BuildRequires: libjson-devel BuildRequires: libopenssl-devel +BuildRequires: libtool BuildRequires: pcre-devel BuildRequires: pkgconfig BuildRequires: python @@ -110,7 +114,7 @@ BuildRequires: libdbi-devel %endif %if %{with java} -BuildRequires: java-1_7_0-openjdk-devel +BuildRequires: java-devel >= 1.7 %endif %if %{with python} @@ -283,6 +287,7 @@ %prep %setup -q -n syslog-ng-%{version} +%patch0 -p1 # fill out placeholders in the config, # systemd service and prepare script. for file in \ @@ -304,6 +309,8 @@ ## ## build #################################################### ## +libtoolize --force --copy --install +autoreconf -fi export CFLAGS="$RPM_OPT_FLAGS" %if 0%{?with_geoip} export GEOIP_LIBS="-lGeoIP" ++++++ syslog-ng-3.10.1-sourcetarget.patch ++++++ --- syslog-ng-3.10.1/m4/check_java_support.m4 2017-06-19 14:30:54.000000000 +0200 +++ syslog-ng-3.10.1/m4/check_java_support.m4 2017-10-10 14:06:03.344387234 +0200 @@ -99,7 +99,7 @@ JNI_CFLAGS="$JNI_CFLAGS -I$JNI_MD_INCLUDE_DIR" AC_SUBST(JNI_CFLAGS, "$JNI_CFLAGS") AC_SUBST(JNI_LIBS, "$JNI_LIBS") - AC_SUBST(JAVAC, "$JAVAC_BIN") + AC_SUBST(JAVAC, "$JAVAC_BIN -source $EXPECTED_MAJOR_VERSION.$EXPECTED_MINOR_VERSION -target $EXPECTED_MAJOR_VERSION.$EXPECTED_MINOR_VERSION") AC_SUBST(JAVAH, "$JAVAH_BIN") AC_SUBST(JAR, "$JAR_BIN") $2
