From 3c0ae31cd0e17c599e1f0f9c40b4d6eaf5de2fd2 Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Tue, 13 Jul 2010 16:31:10 +0100 Subject: [PATCH] Update description of building submodules. --- modules/README | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) 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. -- 1.7.10.4