How to extract / unpack an srpm file

Posted in: Linux
By dePoPo
Mar 10, 2009 - 12:39:40 PM

rpm2cpio foo.rpm | cpio -idmv --no-absolute-filenames

(for repacking and building srpm and rpm afterwards;
- copy the structure into /usr/src/redhat/SOURCE
- rpmbuild -tb filename.spec)



Visitor Comments