-------- Original-Nachricht --------
> Datum: Sun, 23 Dec 2007 15:07:30 +0100
> Von: Tony Earnshaw <[EMAIL PROTECTED]>
> An: 
> CC: [email protected]
> Betreff: Re: [dspam-users] RPM?

> 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 have some issues with your layout:

1) Your put the SQL scripts into the documentation directory. Why that? The 
scripts are from my viewpoint not part of the documentation.

1a) You install the SQL scripts by hand. You copy them into the documentation 
directory. If I have the RPM guide correctly memorized, then the RPM macro 
"%doc" should do that and not a manual copy.

2) You install the Web-UI into the documentation directory. Any reason doing 
this?

2a) Same issue with the Web-UI as with the manually copied SQL purge scripts 
from topic 1a.


> 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

-- 
GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS.
Alle Infos und kostenlose Anmeldung: http://www.gmx.net/de/go/freemail

Reply via email to