Hello community,
here is the log from the commit of package kafka for openSUSE:Factory checked
in at 2020-01-17 16:08:09
Comparing /work/SRC/openSUSE:Factory/kafka (Old)
and /work/SRC/openSUSE:Factory/.kafka.new.26092 (New)
Package is "kafka"
Fri Jan 17 16:08:09 2020 rev:3 rq:765269 version:2.1.0
Changes:
--- /work/SRC/openSUSE:Factory/kafka/kafka.changes 2019-12-11
12:24:41.384100033 +0100
+++ /work/SRC/openSUSE:Factory/.kafka.new.26092/kafka.changes 2020-01-17
16:08:20.712524007 +0100
@@ -1,0 +2,16 @@
+Tue Jan 14 17:27:13 UTC 2020 - Michał Rostecki
+
+- Remove binary packages, leave only the source package. The only
+ purpose of this package is to provide Kafka protobuf definitions
+ for envoy-proxy. The binary had no real users in openSUSE and
+ was blocking aarch64 builds of envoy-proxy.
+- Remove patches which are not needed anymore:
+ * rotate-gc-log.patch
+ * lock-down-jmxremote.patch
+
+---
+Tue Jan 14 17:09:13 UTC 2020 - Michał Rostecki
+
+- Do not exlude to x86_64.
+
+---
Old:
README.SUSE
build.sh
kafka-wrapper
kafka-zookeeper.service
kafka.conf
kafka.service
lock-down-jmxremote.patch
rotate-gc-log.patch
Other differences:
--
++ kafka.spec ++
--- /var/tmp/diff_new_pack.s2YVXY/_old 2020-01-17 16:08:22.556524879 +0100
+++ /var/tmp/diff_new_pack.s2YVXY/_new 2020-01-17 16:08:22.556524879 +0100
@@ -1,7 +1,7 @@
#
# spec file for package kafka
#
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,14 +12,10 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
-# The scala version this package gets compiled for.
-%define scala_version 2.11
-%define username kafka
-%define groupname kafka
%define src_install_dir /usr/src/%{name}
Name: kafka
@@ -30,237 +26,35 @@
Group: Productivity/Networking/Other
Url:http://kafka.apache.org
Source0:%{name}-%{version}.tar.xz
-Source1:build.sh
-Source2:kafka-wrapper
-Source3:%{name}.conf
-Source4:%{name}.service
-Source5:%{name}-zookeeper.service
-Source6:README.SUSE
-Source7:BUILD
-Source8:WORKSPACE
-# PATCH-FIX-OPENSUSE rotate-gc-log.patch
-Patch0: rotate-gc-log.patch
-# PATCH-FIX-OPENSUSE lock-down-jmxremote.patch
-Patch1: lock-down-jmxremote.patch
-ExclusiveArch: x86_64
-BuildRequires: java-1_8_0-openjdk
-# Only required for Gradle build
-BuildRequires: java-1_8_0-openjdk-devel
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
-# If you update Kafka, you will probably need to regenerate kafka-kit. At the
-# very least you will need to bump its version. Refer to to the README.updating
-# file in the kafka-kit package for instructions on rebuilding it.
-BuildRequires: kafka-kit == %{version}
-BuildRequires: openstack-suse-macros
-BuildRequires: tar
-BuildRequires: xz
-BuildRequires: systemd-rpm-macros
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
-%{?systemd_requires}
-Requires(pre): pwdutils
+Source1:BUILD
+Source2:WORKSPACE
+BuildRequires: fdupes
-%package doc
-Summary:Apache Kafka Documentation
-Group: Productivity/Networking/Other
-Requires: %{name} = %{version}
-
-%description doc
-Documentation for the Kafka distributed streaming platform.
-
-%package zookeeper
-Summary:Zookeeper server for testing Kafka
-Group: Productivity/Networking/Other
-Requires: %{name} = %{version}
-
-%description zookeeper
-This package contains a single node Zookeeper cluster for testing Kafka. This
-is not meant for production use, only for testing.
+%description
+The %{name} package contains the Kafka distributed streaming platform.
%package source
Summary:Source code of Apache Kafka
+Group: Productivity/Networking/Other
%description source
Source code of the Kafka distributed streaming platform.
-%description
-The %{name} package contains the Kafka distributed streaming platform.
-
%prep
%setup -q
-pushd bin
-for f in {connect,zookeeper}-*
- do
- mv $f "kafka-${f}"
- done
-popd
-%patch0
-%patch1
+cp %{SOURCE1} .
+cp %{SOURCE2} .
%build
-export KIT=%{_datadir}/tetra
-sh %{SOURCE1}
-pushd