summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpaul <paul>2003-05-20 00:17:45 +0000
committerpaul <paul>2003-05-20 00:17:45 +0000
commit6382b6f83d5f4e1fea424c1164cfdd9f9ea6f40e (patch)
treece8451f5e1092ae3e9779d94ff8b998970c0f2ab
parent408ad94329479216806545842c0e5f23241406b2 (diff)
Autogenerate the redhat/zebra.spec file using autoconf
supplied VERSION and CONFDATE.
-rwxr-xr-xconfigure.ac6
-rwxr-xr-xconfigure.in6
-rw-r--r--redhat/zebra.spec.in (renamed from redhat/zebra.spec)4
3 files changed, 12 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac
index aa9bac00..58624556 100755
--- a/configure.ac
+++ b/configure.ac
@@ -908,7 +908,11 @@ ac_cv_htonl_works=yes,
ac_cv_htonl_works=no)])
AC_MSG_RESULT($ac_cv_htonl_works)
-AC_OUTPUT(Makefile lib/Makefile zebra/Makefile ripd/Makefile ripngd/Makefile bgpd/Makefile ospfd/Makefile ospf6d/Makefile vtysh/Makefile doc/Makefile ospfclient/Makefile)
+AC_OUTPUT(Makefile lib/Makefile zebra/Makefile ripd/Makefile
+ ripngd/Makefile bgpd/Makefile ospfd/Makefile
+ ospf6d/Makefile vtysh/Makefile doc/Makefile
+ ospfclient/Makefile
+ redhat/zebra.spec)
echo "
zebra configuration
diff --git a/configure.in b/configure.in
index aa9bac00..58624556 100755
--- a/configure.in
+++ b/configure.in
@@ -908,7 +908,11 @@ ac_cv_htonl_works=yes,
ac_cv_htonl_works=no)])
AC_MSG_RESULT($ac_cv_htonl_works)
-AC_OUTPUT(Makefile lib/Makefile zebra/Makefile ripd/Makefile ripngd/Makefile bgpd/Makefile ospfd/Makefile ospf6d/Makefile vtysh/Makefile doc/Makefile ospfclient/Makefile)
+AC_OUTPUT(Makefile lib/Makefile zebra/Makefile ripd/Makefile
+ ripngd/Makefile bgpd/Makefile ospfd/Makefile
+ ospf6d/Makefile vtysh/Makefile doc/Makefile
+ ospfclient/Makefile
+ redhat/zebra.spec)
echo "
zebra configuration
diff --git a/redhat/zebra.spec b/redhat/zebra.spec.in
index 6419fafb..ce3a6fb4 100644
--- a/redhat/zebra.spec
+++ b/redhat/zebra.spec.in
@@ -26,8 +26,8 @@
Summary: Routing daemon
Name: zebra
-Version: 0.94
-Release: 2003032501
+Version: @VERSION@
+Release: @CONFDATE@
License: GPL
Group: System Environment/Daemons
Source0: ftp://ftp.zebra.org/pub/zebra/%{name}-%{version}.tar.gz