Changelog 3/5/2009 New in Version 4.76.24-3

Eli Wapniarski eli at orbsky.homelinux.org
Wed May 6 12:00:15 IST 2009


Are you talking about the MailScanner rpm itself? If so what does it really matter? MailScanner, because it has no binary dependancies remains noarch. You aren't rebuilding mailscanner anyway and it installs where you already says its to be installed. No problem. If the environment variables for perl are set correctly then running the particular commands as is will find them which is what happens in any case.

Eli

On Wednesday 06 May 2009 13:40:53 Julian Field wrote:
> But as I keep saying, where is it going to automatically put an RPM that 
> has no binary code in it at all and is therefore totally 
> architecture-independent?
> 
> On 06/05/2009 10:57, Eli Wapniarski wrote:
> > Hi Julian
> >
> > If this is getting annoynig please forgive me.
> >
> > Because I am still a little confused at this time,,, one more comment and request from me (unless of course you want to continue discussing this). And then I will stop. Promise.
> >
> > The comment is put to you in the form of a procedure I've come up with after researching this for the last 12 hours or so and come up with the following.
> >
> > My request would be to please indicate what problems would crop up with the procedure as outlined.
> >
> > Once again thanks for any insight you would be willing to provide.
> >
> > Sincerely
> >
> > Eli Wapniarski
> >
> > -----------------------------------------
> > DISCOVERING DEFAULT BUILD ARCH
> > ------------------------------------------
> >
> > With rpm there is a default build arch. You can discover what that is and isolate it by running.
> >
> >
> > rpm --showrc | awk '/^build arch/ {print $NF}'
> >
> > so....
> >
> > rpmBuildArch=$(rpm --showrc | awk '/^build arch/ {print $NF}')
> > echo rpmBuildArch will produce
> >
> > x86_64 or i386 or i586 depending on the default value.
> >
> >
> > --------------------------------------------------------
> > REBUILDING RPMs USING THE DEFAULT BUILD ARCH
> > --------------------------------------------------------
> >
> > (I've tested this with your perl-IO package)
> >
> > I've installed the perl-IO SRPM
> >
> > after removing the BUILDARCH parameter from the perl-IO spec filed I ran
> >
> > rpmbuild -ba perl-IO.spec.
> >
> > The module rebuilt successfully.
> >
> >
> > -------------------------------------
> > INSTALLING THE REBUILT MODULE
> > -------------------------------------
> >
> > To install the module I ran
> >
> > rpmBuildArch=$(rpm --showrc | awk '/^build arch/ {print $NF}')
> > rpm -Uvh ~/rpmbuild/RPMS/$rpmBuildArch/perl-IO-1.2301-4.$rpmBuildArch.rpm
> >
> > perl-IO was found and installed as expected.
> >
> >
> > Again, thanks for your patience.
> >
> > Eli Wapniarski
> >
> >    
> 
> Jules
> 
> -- 
> Julian Field MEng CITP CEng
> www.MailScanner.info
> Buy the MailScanner book at www.MailScanner.info/store
> 
> Need help customising MailScanner?
> Contact me!
> Need help fixing or optimising your systems?
> Contact me!
> Need help getting you started solving new requirements from your boss?
> Contact me!
> 
> PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
> Follow me at twitter.com/JulesFM and twitter.com/MailScanner
> 
> 
> -- 
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
> 
> -- 
> MailScanner mailing list
> mailscanner at lists.mailscanner.info
> http://lists.mailscanner.info/mailman/listinfo/mailscanner
> 
> Before posting, read http://wiki.mailscanner.info/posting
> 
> Support MailScanner development - buy the book off the website! 
> 

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the MailScanner mailing list