Spec file help

Karsten Hopp karsten at redhat.com
Fri Feb 6 21:39:46 UTC 2004


On Fri, Feb 06, 2004 at 09:27:23PM +0000, Gavin Henry wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Dear all,
> 
> I know everyone is extremely busy, but if someone has time to check over my 
> first spec file and give me some feedback/pointers, it would be greatly 
> appreciated.
> 
> It was made with Mach and installs on FC1 and RH9 fine.
> 
> Thanks,
> 
> Gavin.
> 
> url: http://www.suretecsystems.com/docs/netmon_applet.spec
> 
> 

A few comments:

> Source0        : http://www.demonseed.net/~jp/code/netmon_applet/netmon_applet-0.4.tar.gz
It's better to use %{version} here. Otherwise you'd have to change the version
at two places when you update to p.e. 0.5

>BuildRoot      : %{_tmppath}/%{name}-{buildroot}
Missing % ?                           ^

>./configure 				\
>	--libdir=%{_libdir}		\
>	--bindir=%{_bindir}		\
>	--datadir=%{_datadir}		\
>	--sysconfdir=%{_sysconfdir}
Use %configure, this sets those parameters automatically. Check 
/usr/lib/rpm/macros so see the complete %configure macro.

   Karsten
--
 Karsten Hopp        | Mail: karsten at redhat.de
 Red Hat Deutschland | Tel: +49-711-96437-0
 Hauptstaetterstr.58 | Fax: +49-711-96437-111
 D-70178 Stuttgart   | http://www.redhat.de 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-devel-list/attachments/20040206/eb863e55/attachment.sig>


More information about the fedora-devel-list mailing list