From: Mike Taylor Date: Tue, 13 Jul 2010 15:31:10 +0000 (+0100) Subject: Update description of building submodules. X-Git-Tag: v1.26~18 X-Git-Url: http://git.indexdata.com/?a=commitdiff_plain;h=3c0ae31cd0e17c599e1f0f9c40b4d6eaf5de2fd2;hp=5d2ea5a64e0614e352685d5f3783ffdcd02a0231;p=ZOOM-Perl-moved-to-github.git Update description of building submodules. --- diff --git a/modules/README b/modules/README index d55f961..cd38f87 100644 --- a/modules/README +++ b/modules/README @@ -15,6 +15,8 @@ and are saved in the "orig" subdirectory. But they all needed tweaking for CentOS as shown in the log below: +-- + $ sudo rpmbuild --rebuild perl-MARC-Record-2.0.2-1mdv2010.1.src.rpm Installing perl-MARC-Record-2.0.2-1mdv2010.1.src.rpm warning: InstallSourcePackage: Header V3 DSA signature: NOKEY, key ID 26752624 @@ -40,7 +42,15 @@ warning: group mockbuild does not exist - using root error: unpacking of archive failed on file /usr/src/redhat/SOURCES/HTML-TagCloud-0.34.tar.gz;4c3c5fa4: cpio: MD5 sum mismatch error: perl-HTML-TagCloud-0.34-4.fc14.src.rpm cannot be installed -So the modified version are in the "centos" directory. -I unpacked each source RPM using -$ rpm2cpio perl-MARC-Record-2.0.2-1mdv2010.1.src.rpm | cpio -i -And modified the extracted .spec file as necessary. +-- + +It's pretty pathetic that you need a different source RPM for each Red +Hat variant, but that seems to be the way of things. So for each +modules, I unpacked it to get hold of the .spec file that needs +editing, and the source tarball that it builds, as follows: + rpm2cpio perl-MARC-Record-2.0.2-1mdv2010.1.src.rpm | cpio -i +And modified the extracted .spec file as necessary. The modified +.spec files are part of this git archive; the tarballs are not. + +The final binary packages, build for centos5, are in the "centos5" +directory.