Last active
August 29, 2015 14:17
-
-
Save perfectfoolish/306d8e82bb66359abfcd to your computer and use it in GitHub Desktop.
Build the source code to RPM, # rpm -ivh zabbix .centos.src.rpm, # rpmbuild -ba rpmbuild/SPECS/zabbix_server.spec
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #! /usr/bin/env bash | |
| yum install -y rpm-build | |
| yum install -y tree | |
| mkdir -p rpmbuild/BUILD rpmbuild/BUILDROOT rpmbuild/RPMS rpmbuild/SOURCES rpmbuild/SPECS rpmbuild/SRPMS | |
| echo "######" | |
| tree rpmbuild |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment