[Mailmunge] Spec file to build Mailmunge RPMS

Dianne Skoll dianne at skoll.ca
Thu Jun 9 10:38:15 EDT 2022


Hi, everyone,

Git HEAD at https://github.com/dfskoll/mailmunge contains the first
version of a spec file to build Mailmunge RPMs.  This recipe worked
for me in a Rocky Linux 8 container.  I ran all commands as root.

    git clone https://github.com/dfskoll/mailmunge
    cd mailmunge
    ./configure
    make dist
    mv mailmunge-3.08.tar.gz /root/rpmbuild/SOURCES/
    rpmbuild -bb spec/mailmunge.spec --nodebuginfo

For some reason, it fails without --nodebuginfo and I don't know enough
about RPM-based systems to understand why.

The RPMs that end up being produced are:

   noarch/perl-Mailmunge-3.08-1.el8.noarch.rpm
   noarch/perl-Mailmunge-Action-Boilerplate-3.08-1.el8.noarch.rpm
   noarch/perl-Mailmunge-Test-GetMX-3.08-1.el8.noarch.rpm
   noarch/perl-Mailmunge-Test-Greylist-3.08-1.el8.noarch.rpm
   noarch/perl-Mailmunge-Test-Rspamd-3.08-1.el8.noarch.rpm
   noarch/perl-Mailmunge-Test-SMTPForward-3.08-1.el8.noarch.rpm
   noarch/perl-Mailmunge-Test-SpamAssassin-3.08-1.el8.noarch.rpm
   noarch/perl-Test-Mailmunge-3.08-1.el8.noarch.rpm
   noarch/watch-multiple-mailmunges-3.08-1.el8.noarch.rpm
   x86_64/mailmunge-3.08-1.el8.x86_64.rpm
   x86_64/mailmunge-base-3.08-1.el8.x86_64.rpm

If anyone on an RPM system wants to test these out, and possibly improve the
spec file, I would appreciate it!

Regards,

Dianne.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://www.mailmunge.org/pipermail/mailmunge/attachments/20220609/0e52d0a7/attachment.sig>


More information about the Mailmunge mailing list