Results 1 to 1 of 1
Hi,
I am a very newbie to Linux.
I am installing HP OV product in a Suse distribution, the below line depicts (uname -a) from my system,
Linux skypeg4 2.6.16.21-0.8-smp ...
- 07-15-2008 #1Just Joined!
- Join Date
- Jul 2008
- Posts
- 1
Create/Build an rpm
Hi,
I am a very newbie to Linux.
I am installing HP OV product in a Suse distribution, the below line depicts (uname -a) from my system,
Linux skypeg4 2.6.16.21-0.8-smp #1 SMP Mon Jul 3 18:25:39 UTC 2006 x86_64 x86_64 x86_64
I needed to modify a small script inside the rpm and hence I did
'rpm2cpio OPC.rpm | cpio -idmv' which resulted in the directories opt and usr.
I made changes to the script I required inside the opt directory.
Here comes the problem, how to re-pack this to form OPC.rpm.
When i browsed it was explained in some sites to create *.spec files and run commands (http://tldp.org/HOWTO/Font-HOWTO/rpm.html) but could not succeed as the directories I am not able to mention in the spec.
I need to dump the opt & usr directories to create/re-pack OPC.rpm.
Thanks,
Arun


Reply With Quote