@@ -15,43 +15,36 @@ Currently we _automagically_ install the build dependencies for the following pr
## To start building
* Install vagrant, see http://docs.vagrantup.com/v1/docs/getting-started/index.html for more information. (Or install the latest version by running the following command)
* Edit the _Vagrantfile_ and update the project (see the beginning of [Vagrantfile](/vagrant/builder_rpm/tree/master/Vagrantfile))
* Copy your source archive into the _build/SOURCES_ folder
* Copy your spec file into the _build/SPECS_ folder
* Start the VM
```bash
vagrant up
```
Install vagrant, either see [vagrant docs](http://docs.vagrantup.com/v1/docs/getting-started/index.html) for more information, or install the latest version via rubygems by running the following command
* Open a SSH connection
```bash
vagrant ssh
```
```bash
bundle install
```
* Change to the rpmbuild folder
* Build your RPMs
```bash
rpmbuild -ba SPECS/project.spec
```
Edit the _Vagrantfile_ and update the project (see the beginning of [Vagrantfile](/vagrant/builder_rpm/tree/master/Vagrantfile))
Copy your source archive into the _build/SOURCES_ folder, your spec file into the _build/SPECS_ folder, start the VM and open a SSH connection
* Wait ...
* On your own machine, you can now find your RPMs in the _build/RPMS_ and _build/SRPMS_ folders
* Done!
```bash
vagrant up
vagrant ssh
```
Change to the _rpmbuild_ folder and start building
```bash
cd rpmbuild
rpmbuild -ba SPECS/project.spec
```
Wait... On your own machine, you can now find your RPMs in the _build/RPMS_ and _build/SRPMS_ folders. Done!