summaryrefslogtreecommitdiffstats
path: root/src/fluent-bit/lib/librdkafka-2.1.0/packaging/rpm/README.md
blob: 92a6eca953ebd2e86176fa8a77e4728c50e358ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# RPM packages for librdkafka

On a system with RPM mock installed, simply run make to create RPM packages:

    $ make

Additional mock options may be specified using MOCK_OPTIONS:

    $ make MOCK_OPTIONS='--bootstrap-chroot'


## Build with Mock on docker

From the librdkafka top-level directory:

    $ packaging/rpm/mock-on-docker.sh

Wait for packages to build, they will be copied to top-level dir artifacts/

Test the packages:

    $ packaging/rpm/tests/test-on-docker.sh