]> git.pld-linux.org Git - packages/dnsmasq.git/blobdiff - dnsmasq.spec
updated to 2.5
[packages/dnsmasq.git] / dnsmasq.spec
index 9140a2d72ab6d3b50c03ac0511b41d97796a2718..fcfa8b2cc3c8747fe3777e514a2b6eb430c9b35e 100644 (file)
@@ -1,16 +1,17 @@
 Summary:       A lightweight caching nameserver
 Summary(pl):   Lekki buforuj±cy serwer nazw (DNS)
 Name:          dnsmasq
-Version:       1.11
-Release:       2
+Version:       2.5
+Release:       1
 License:       GPL
 Group:         Networking/Daemons
 Source0:       http://thekelleys.org.uk/dnsmasq/%{name}-%{version}.tar.gz
+# Source0-md5: f993ea53c0d11b4d884deb9229b86b26
 Source1:       %{name}.init
 Source2:       %{name}.config
-Patch0:                %{name}-cc.patch
 URL:           http://www.thekelleys.org.uk/dnsmasq/
-PreReq:                /sbin/chkconfig
+PreReq:                rc-scripts
+Requires(post,postun): /sbin/chkconfig
 Provides:      caching-nameserver
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -33,10 +34,11 @@ i po
 
 %prep
 %setup -q
-%patch0 -p1
 
 %build
-%{__make} CC=%{__cc} OPT="%{rpmcflags}"
+%{__make} \
+       CC=%{__cc} \
+       CFLAGS="%{rpmcflags}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -44,7 +46,7 @@ install -d $RPM_BUILD_ROOT{%{_sbindir},/etc/sysconfig,/etc/rc.d/init.d,%{_mandir
 
 install %SOURCE1 $RPM_BUILD_ROOT/etc/rc.d/init.d/dnsmasq
 install %SOURCE2 $RPM_BUILD_ROOT/etc/sysconfig/dnsmasq
-install dnsmasq $RPM_BUILD_ROOT%{_sbindir}
+install src/dnsmasq $RPM_BUILD_ROOT%{_sbindir}
 install dnsmasq.8 $RPM_BUILD_ROOT%{_mandir}/man8
 
 %clean
@@ -69,7 +71,7 @@ fi
 %files
 %defattr(644,root,root,755)
 %doc CHANGELOG FAQ *.html
-%attr(755,root,root) /etc/rc.d/init.d/dnsmasq
+%attr(754,root,root) /etc/rc.d/init.d/dnsmasq
 %attr(755,root,root) %{_sbindir}/dnsmasq
 %config(noreplace) %verify(not md5 size mtime) /etc/sysconfig/dnsmasq
 %{_mandir}/man8/*
This page took 0.057275 seconds and 4 git commands to generate.