commit kafka for openSUSE:Factory

2020-01-17 Thread root
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 

commit kafka for openSUSE:Factory

2019-12-11 Thread root
Hello community,

here is the log from the commit of package kafka for openSUSE:Factory checked 
in at 2019-12-11 12:24:38

Comparing /work/SRC/openSUSE:Factory/kafka (Old)
 and  /work/SRC/openSUSE:Factory/.kafka.new.4691 (New)


Package is "kafka"

Wed Dec 11 12:24:38 2019 rev:2 rq:755689 version:2.1.0

Changes:

--- /work/SRC/openSUSE:Factory/kafka/kafka.changes  2019-12-10 
22:40:49.697844618 +0100
+++ /work/SRC/openSUSE:Factory/.kafka.new.4691/kafka.changes2019-12-11 
12:24:41.384100033 +0100
@@ -1,0 +2,7 @@
+Mon Nov 11 21:54:44 UTC 2019 - Michał Rostecki 
+
+- Remove condition for SLE 12, as it is not supported anymore.
+- Own the side-docs directory unconditionally - SLE 15 also needs
+  that declaration.
+
+---



Other differences:
--
++ kafka.spec ++
--- /var/tmp/diff_new_pack.3pMTNT/_old  2019-12-11 12:24:42.468099705 +0100
+++ /var/tmp/diff_new_pack.3pMTNT/_new  2019-12-11 12:24:42.472099704 +0100
@@ -208,10 +208,6 @@
 %doc README.SUSE
 %{_unitdir}/%{name}.service
 %{_sbindir}/rc%{name}
-# SLE 12 SP2 the package needs to own this directory
-%if 0%{?sle_version} == 120200 && !0%{?is_opensuse} 
-%dir %_tmpfilesdir
-%endif
 %_tmpfilesdir/%name.conf
 %{_libdir}/%{name}
 %{_bindir}/kafka-broker-api-versions.sh
@@ -260,11 +256,7 @@
 %defattr(-,root,root)
 %license LICENSE
 %doc NOTICE
-# Leap 15.0+ and Tumbleweed need this directory declared explicitly. In Leap
-# >= 42.3 and SLE, the docdir macro implies this declaration already.
-%if 0%{?is_opensuse} && ( 0%{?sle_version} > 120300 || 0%{?suse_version} > 
1500 )
 %{_docdir}/%{name}/site-docs
-%endif
 %docdir %{_docdir}/%{name}/site-docs
 
 %files source