X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=modules%2FREADME;h=cd38f877bb2e1d764c84969396fa0a080144ae17;hb=3c0ae31cd0e17c599e1f0f9c40b4d6eaf5de2fd2;hp=d55f96109fb59e41d57d410802e36073e3423ebe;hpb=5d2ea5a64e0614e352685d5f3783ffdcd02a0231;p=ZOOM-Perl-moved-to-github.git 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.