]> git.pld-linux.org Git - packages/dhcp.git/blobdiff - dhcp.spec
- build with USE_SOCKET_FALLBACK. Without that dhcp-relay always uses the last interf...
[packages/dhcp.git] / dhcp.spec
index 96d18583d8b7249eaf9e9af965966a4a3d54986c..b49fdb9df80948a8738ca138536f95e9ed2a5cf9 100644 (file)
--- a/dhcp.spec
+++ b/dhcp.spec
@@ -2,20 +2,19 @@
 # Conditional build:
 %bcond_with    ldap    # with support for ldap storage
 #
-%define        _rc     rc3
 Summary:       DHCP Server
 Summary(es):   Servidor DHCP
 Summary(pl):   Serwer DHCP
 Summary(pt_BR):        Servidor DHCP (Protocolo de configuração dinâmica de hosts)
 Name:          dhcp
 Version:       3.0.2
-Release:       0.%{_rc}.1
+Release:       2.1
 Epoch:         3
 Vendor:                ISC
 License:       distributable
 Group:         Networking/Daemons
-Source0:       ftp://ftp.isc.org/isc/dhcp/%{name}-%{version}%{_rc}.tar.gz
-# Source0-md5: 7c5dd4587d0236275ddf026750513131
+Source0:       ftp://ftp.isc.org/isc/dhcp/%{name}-%{version}.tar.gz
+# Source0-md5: 04800a111521e7442749b2ce883f962b
 Source1:       %{name}.init
 Source2:       %{name}-relay.init
 Source3:       %{name}-relay.sysconfig
@@ -124,7 +123,7 @@ dhcpctl to zbi
 komunikacji z dzia³aj±cym serwerem ISC DHCP i jego kontroli.
 
 %prep
-%setup -q -n %{name}-%{version}%{_rc}
+%setup -q
 install %{SOURCE4} .
 %patch0 -p1
 %{?with_ldap:%patch1 -p1}
@@ -145,7 +144,8 @@ cd ..
 %{__make} \
        COPTS="%{rpmcflags} \
        -D_PATH_DHCPD_DB=\\\"/var/lib/%{name}/dhcpd.leases\\\" \
-       -D_PATH_DHCLIENT_DB=\\\"/var/lib/%{name}/dhclient.leases\\\"" \
+       -D_PATH_DHCLIENT_DB=\\\"/var/lib/%{name}/dhclient.leases\\\" \
+       -DUSE_SOCKET_FALLBACK" \
        DEBUG="" VARDB="/var/lib/%{name}"
 
 %install
This page took 0.029945 seconds and 4 git commands to generate.