Rebuilding RPM file
Jason Ede
J.Ede at birchenallhowden.co.uk
Wed Feb 18 10:44:21 GMT 2015
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!
More information about the MailScanner
mailing list