Rebuilding RPM file

Jason Ede J.Ede at birchenallhowden.co.uk
Wed Feb 18 11:55:38 GMT 2015


I'll hang on till the final version then



-----Original Message-----
From: mailscanner-bounces at lists.mailscanner.info [mailto:mailscanner-bounces at lists.mailscanner.info] On Behalf Of Jerry Benton
Sent: 18 February 2015 11:30
To: MailScanner discussion
Subject: Re: Rebuilding RPM file

Jason,

If you are installing from source using the stuff at github, then you are installing the same exact thing, but without the 200 hours or so of research and review that I have put into this. In short, you are installing alpha. If you give me a couple of hours I will have a newer package available. It is going to be the final in a day or two unless someone else reports a problem with the version I posted. I can let you know today when it is ready.

Or, you can march on with what you are doing. To do so, add this to your spec file:

Provides: perl(MailScanner::FileInto), perl(next_item_here), perl(and_the_next)

And your RPM will install. However, you will be missing a lot of MailScanner dependencies that the RPM installer does not catch that is installed with the version I am making. 


Its your barbecue. 


-
Jerry Benton
www.mailborder.com



> On Feb 18, 2015, at 5:44 AM, Jason Ede <J.Ede at birchenallhowden.co.uk> wrote:
> 
> I saw that, but I'm rebuilding a production machine and not happy using a beta version on it...
> 
> Is there a copy of the .spec file available so I can work out the dependency problem for my version?
> 
> Jason
> 
> --
> Dr Jason Ede
> Development Manager, BirchenallHowden Ltd
> 
> -----Original Message-----
> From: mailscanner-bounces at lists.mailscanner.info [mailto:mailscanner-bounces at lists.mailscanner.info] On Behalf Of Jerry Benton
> Sent: 18 February 2015 10:33
> To: MailScanner discussion
> Subject: Re: Rebuilding RPM file
> 
> You seem to have missed this message I sent out 3 days ago:
> 
> http://comments.gmane.org/gmane.mail.virus.mailscanner/80742
> 
> 
> -
> Jerry Benton
> www.mailborder.com
> 
> 
> 
>> On Feb 18, 2015, at 4:42 AM, Jason Ede <J.Ede at birchenallhowden.co.uk> wrote:
>> 
>> I know this is an old message, but did you get this sorted?
>> 
>> I'm trying to rebuild the srpm and having the same issue when I try to install it.
>> 
>> Jason
>> 
>> 
>> -----Original Message-----
>> From: mailscanner-bounces at lists.mailscanner.info [mailto:mailscanner-bounces at lists.mailscanner.info] On Behalf Of Stef Morrell
>> Sent: 21 February 2014 11:18
>> To: mailscanner at lists.mailscanner.info
>> Subject: Rebuilding RPM file
>> 
>> Hi all,
>> 
>> I'm trying to get an up to date RPM built, using a CentOS 6 machine do the building.
>> 
>> I've downloaded mailscanner-4.84.6-1.src.rpm
>> 
>> I've unpacked using rpm -i and that seems fine, I can see the source tgz and specs file as I would expect.
>> 
>> I've then unpacked the tgz, pulled in latest files from git and made a patch which I've added to the specs, then rebuilt the rpm. So far no problem.
>> 
>> When I come to install, however I have the following dependency issues:
>> 
>> --> Processing Dependency: perl(MailScanner::FileInto) for package: 
>> --> mailscanner-4.84.6-1.noarch Processing Dependency: 
>> --> perl(MailScanner::MCPMessage) for package: 
>> --> mailscanner-4.84.6-1.noarch Finished Dependency Resolution
>> Error: Package: mailscanner-4.84.6-1.noarch (/mailscanner-4.84.6-1.noarch)
>>          Requires: perl(MailScanner::FileInto)
>> Error: Package: mailscanner-4.84.6-1.noarch (/mailscanner-4.84.6-1.noarch)
>>          Requires: perl(MailScanner::MCPMessage)
>> 
>> And on further investigation, if I simply 'rpmbuild --rebuild' the src rpm, the same dependency issues are present. I also notice the rpm I've generated is some 140k smaller than the one downloaded from the MS webpage.
>> 
>> So - I suspect I'm missing a trick with the rebuild. I have been simply doing ' rpmbuild -ba MailScanner4.spec'. Is there something else I should be putting on this command line?
>> 
>> Thanks
>> 
>> Stef 
>> 
>> --
>> 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! 
>> -- 
>> 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! 
> 
> -- 
> 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! 
> -- 
> 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! 

-- 
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! 


More information about the MailScanner mailing list