From: b. <ai...@qq...> - 2011-04-21 03:36:13
|
For spec file working ,you should re-tar the original tarball 1. tar -zxvf mfs-1.6.20-2.tar.gz 2. mv mfs-1.6.20-2 mfs-1.6.20 3. rm -f mfs-1.6.20-2.tar.gz && tar -zcvf mfs-1.6.20-2.tar.gz mfs-1.6.20 4. throw it into /usr/src/redhat/SOURCES 5. now you can use rpmbuild command to build the rpms |