improving after review

master
bvn13 2021-07-14 18:21:14 +03:00
parent 64cdadcbc9
commit 7dd00ef97d
5 changed files with 8 additions and 28 deletions

3
.gitmodules vendored
View File

@ -1,3 +0,0 @@
[submodule "kafkacat"]
path = kafkacat
url = https://github.com/edenhill/kafkacat.git

View File

@ -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
```
2. update submodule
2. download dependencies
```
git submodule foreach git pull origin master
spectool -g kafkacat.spec
```
3. make a symlink
```
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
3. build fedora package
```
fedpkg --release f34 local
```
6. install built rpm
4. install built rpm
```
# rpm -i x86_64/kafkacat-1.7.0-1.x86_64.rpm

View File

@ -1,9 +1,4 @@
#/bin/bash
git submodule foreach git pull origin master
ln -sf kafkacat kafkacat-1.7.0
tar -cf kafkacat-1.7.0.tar kafkacat-1.7.0
spectool -g kafcacat.spec
fedpkg --release f34 local

@ -1 +0,0 @@
Subproject commit b10431980d2d9b6d75f85d2779b36538f1d315a1

View File

@ -1,11 +1,12 @@
Name: kafkacat
Version: 1.7.0
Version: 1.6.0
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.
License: BSD-2-Clause
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: gcc >= 4.1