On 07/16/2014 10:29 AM, mararm wrote:
Hi Rodney,
On 16.07.2014 15:30, Rodney Baker wrote:
I might have to figure out how to dig out the spec file from the rpm and see.
To get to the spec file, you have to install the corresponding source rpm (.srpm) Installation of that should copy the contents to ~/rpmbuild and you should find the spec in ~/rpmbuild/SPECS
Regards mararm
or just: rpm2cpio rpmname.rpm | cpio -idmv specfile.spec if you don't know the specfile name, then you can get it by the 'spec' extension with: for i in $(rpm -qpl rpmname.rpm); do \ test ${i##*.} = "spec" && rpm2cpio rpmname.rpm | cpio -idmv "$i" \ done -- David C. Rankin, J.D.,P.E. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org