improving after review
parent
64cdadcbc9
commit
7dd00ef97d
|
@ -1,3 +0,0 @@
|
||||||
[submodule "kafkacat"]
|
|
||||||
path = kafkacat
|
|
||||||
url = https://github.com/edenhill/kafkacat.git
|
|
20
README.md
20
README.md
|
@ -30,31 +30,19 @@ This is a Fedora package repository of [kafkacat](https://github.com/edenhill/ka
|
||||||
git clone https://github.com/bvn13/kafkacat.git
|
git clone https://github.com/bvn13/kafkacat.git
|
||||||
```
|
```
|
||||||
|
|
||||||
2. update submodule
|
2. download dependencies
|
||||||
|
|
||||||
```
|
```
|
||||||
git submodule foreach git pull origin master
|
spectool -g kafkacat.spec
|
||||||
```
|
```
|
||||||
|
|
||||||
3. make a symlink
|
3. build fedora package
|
||||||
|
|
||||||
```
|
|
||||||
ln -sf kafkacat kafkacat-1.7.0
|
|
||||||
```
|
|
||||||
|
|
||||||
4. make a tar archive
|
|
||||||
|
|
||||||
```
|
|
||||||
tar -cf kafkacat-1.7.0.tar kafkacat-1.7.0
|
|
||||||
```
|
|
||||||
|
|
||||||
5. build fedora package
|
|
||||||
|
|
||||||
```
|
```
|
||||||
fedpkg --release f34 local
|
fedpkg --release f34 local
|
||||||
```
|
```
|
||||||
|
|
||||||
6. install built rpm
|
4. install built rpm
|
||||||
|
|
||||||
```
|
```
|
||||||
# rpm -i x86_64/kafkacat-1.7.0-1.x86_64.rpm
|
# rpm -i x86_64/kafkacat-1.7.0-1.x86_64.rpm
|
||||||
|
|
7
build.sh
7
build.sh
|
@ -1,9 +1,4 @@
|
||||||
#/bin/bash
|
#/bin/bash
|
||||||
|
|
||||||
git submodule foreach git pull origin master
|
spectool -g kafcacat.spec
|
||||||
|
|
||||||
ln -sf kafkacat kafkacat-1.7.0
|
|
||||||
|
|
||||||
tar -cf kafkacat-1.7.0.tar kafkacat-1.7.0
|
|
||||||
|
|
||||||
fedpkg --release f34 local
|
fedpkg --release f34 local
|
||||||
|
|
1
kafkacat
1
kafkacat
|
@ -1 +0,0 @@
|
||||||
Subproject commit b10431980d2d9b6d75f85d2779b36538f1d315a1
|
|
|
@ -1,11 +1,12 @@
|
||||||
Name: kafkacat
|
Name: kafkacat
|
||||||
Version: 1.7.0
|
Version: 1.6.0
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: kafkacat is a generic non-JVM producer and consumer for Apache Kafka 0.8, think of it as a netcat for Kafka.
|
Summary: kafkacat is a generic non-JVM producer and consumer for Apache Kafka 0.8, think of it as a netcat for Kafka.
|
||||||
|
|
||||||
License: BSD-2-Clause
|
License: BSD-2-Clause
|
||||||
URL: https://github.com/edenhill/kafkacat
|
URL: https://github.com/edenhill/kafkacat
|
||||||
Source: kafkacat-%{version}.tar
|
#Source: kafkacat-%{version}.tar
|
||||||
|
Source: https://github.com/edenhill/kafkacat/archive/refs/tags/1.6.0.zip
|
||||||
|
|
||||||
BuildRequires: zlib-devel
|
BuildRequires: zlib-devel
|
||||||
BuildRequires: gcc >= 4.1
|
BuildRequires: gcc >= 4.1
|
||||||
|
|
Loading…
Reference in New Issue