Tag Archives: rpm

Create your own rpm from tar archive (basic steps)

1. yum install rpm-build 2. yum install redhat-rpm-config Create directories for RPM building under your home: 3.mkdir -p ~/rpmbuild/{BUILD,RPMS,SOURCES,SPECS,SRPMS} 4.echo ‘%_topdir %(echo $HOME)/rpmbuild’ > ~/.rpmmacros (this will overwrite any existing .rpmmacros files!!!) 5. Copy the .specs file in ~/rpmbuild/SPECS 6. … Continue reading

Posted in Linux | Tagged | Leave a comment