-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Camron W. Fox wrote:
Yagi-san,
We've tried that with flow-tools-0.68.4.1-2.fc11.src.rpm but get the following error:
root@rb3:/var/tmp [1002/2]# rpmbuild --rebuild flow-tools-0.68.4.1-2.fc11.src.rpm Installing flow-tools-0.68.4.1-2.fc11.src.rpm warning: InstallSourcePackage: Header V3 RSA/SHA256 signature: NOKEY, key ID d22e77f2 warning: user mockbuild does not exist - using root warning: group mockbuild does not exist - using root error: unpacking of archive failed on file /root/rpm/SOURCES/flow-capture.init;4a7caede: cpio: MD5 sum mismatch error: flow-tools-0.68.4.1-2.fc11.src.rpm cannot be installed root@rb3:/var/tmp [1003/3]#
In order to rebuild any Fedora 11 or newer rpms on older Fedora or EL OS releases, you have to disable checksum checking because Fedora 11 and newer uses a different algorithm for checksumming than previous releases.
With rpmbuild you can use the --nodigest option, or you can install the src.rpm with rpm using the --nomd5 option.
rpmbuild --nodigest foo-1.0-1.fc11.src.rpm
or
rpm --nomd5 -ivh foo-1.0-1.fc11.src.rpm cd <directory where spec is installed to> rpmbuild -ba foo.spec
- -- Mike A. Harris http://mharris.ca | https://twitter.com/mikeaharris