Adding BuildRequires for RPM SPEC file

Ang Way Chuang wcang at sfc.wide.ad.jp
Tue Sep 27 08:33:48 CEST 2011


Hi all,

    I thought that this may be useful. Anyway, is there any standard procedure to produce src.rpm from the git repository? I cannot find the src.rpm for bird-1.3.3-1.

Thanks.

Regards,
Ang Way Chuang

diff --git a/misc/bird.spec b/misc/bird.spec
index 16aa682..030005f 100644
--- a/misc/bird.spec
+++ b/misc/bird.spec
@@ -10,6 +10,7 @@ Source2: birdc6
 Buildroot: /var/tmp/bird-root
 Url: http://bird.network.cz
 Prereq: /sbin/chkconfig
+BuildRequires: flex bison readline-devel ncurses-devel
 
 %description
 BIRD is dynamic routing daemon supporting IPv4 and IPv6 versions of routing



More information about the Bird-users mailing list