Steve skrev, on 23-12-2007 11:59:
[...]
Let me know what you think about it? Can you compile with the spec file
a RPM on your FC6 system?
My first impression is that it's very professional, but also incredibly
complicated.
The internals are complicated. But I tried to make the outside (the interface
with the user or package maker) as simple as possible. I think that most users
anyway will not look into the spec. They just want a working and flexible spec
file. The internal logic (complicated or not) does not interests them (most of
the time).
Looking for patches, the build of course couldn't find any:
/bin/tar: /home/tonni/rpm/SOURCES/dspam-3.8.0-patches-20071212.tar.gz:
Cannot open: No such file or directory
If you look inside the spec then you will see this:
Source4:
http://gentoo.osuosl.org/distfiles/dspam-3.8.0-patches-20071212.tar.gz
Well, that was a simple wget into ~/rpm/SOURCES.
[...]
1215 [tonni:tru.leerlingen] /home/tonni/rpm/SPECS $ rpmbuild -ba
dspam-3.8.0.spec --with mysql
[...]
Wrote: /home/tonni/rpm/SRPMS/dspam-3.8.0-1.0.src.rpm
Wrote: /home/tonni/rpm/RPMS/i386/dspam-3.8.0-1.0.i386.rpm
Wrote: /home/tonni/rpm/RPMS/i386/dspam-mysql_drv-3.8.0-1.0.i386.rpm
Wrote: /home/tonni/rpm/RPMS/i386/dspam-devel-3.8.0-1.0.i386.rpm
Wrote: /home/tonni/rpm/RPMS/i386/dspam-web-3.8.0-1.0.i386.rpm
But:
rpm -qplv /home/tonni/rpm/RPMS/i386/dspam-3.8.0-1.0.i386.rpm
[...]
drwxr-xr-x 2 dspam mail 0 Dec 23 14:49 /etc/mail/dspam
[...]
-rwxr-xr-x 1 dspam mail 146805 Dec 23 14:49 /usr/bin/dspam
[...]
drwxr-xr-x 2 dspam mail 0 Dec 23 14:49 /var/spool/dspam
You put stuff into Debian directories where Red Hat wouldn't put them,
so I'm not going to install them, sorry ;)
I still don't see the point of Gentoo patches on stuff which, though it
might not work on Gentoo, still works perfectly on Red Hat RHEL5 and FC6
and (judging from what the CVS stuff does) sigsegvs when I don't want it to.
Best,
--Tonni
--
Tony Earnshaw
Email: tonni at hetnet dot nl