rpmbuild tutorial - Elasticsearch source rpm
First let’s set up our build rpm environment by installing the following: [bob@vagrant-centos65 ~]$ sudo yum install -y rpmdevtools rpmlint Then we’ll set up the folder structure with the rpmdev-setuptree command. It will create tbe rpmbuild folder and it’s subfolders as shown below. [bob@vagrant-centos65 ~]$ rpmdev-setuptree [bob@vagrant-centos65 ~]$ tree rpmbuild/ rpmbuild/ ├── BUILD ├── RPMS ├── SOURCES ├── SPECS └── SRPMS In the SPEC folder we create elasticsearch.spec, and in the SOURCES folder we download the tar-file from elasticsearch. ...