]> git.pld-linux.org Git - packages/dnsmasq.git/blobdiff - dnsmasq.spec
- update to 1.18
[packages/dnsmasq.git] / dnsmasq.spec
index f358034cc1466ad30f61a15f0e001eda20bc6bd3..b563ce1f0f57a36b2f12484fba906ee8c1e25241 100644 (file)
@@ -1,16 +1,18 @@
 Summary:       A lightweight caching nameserver
 Summary(pl):   Lekki buforuj±cy serwer nazw (DNS)
 Name:          dnsmasq
-Version:       1.11
+Version:       1.18
 Release:       1
 License:       GPL
 Group:         Networking/Daemons
 Source0:       http://thekelleys.org.uk/dnsmasq/%{name}-%{version}.tar.gz
+# Source0-md5: a90478d2248009ada61ed5bee87c034c
 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)
 
 %description
@@ -32,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
@@ -68,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.091659 seconds and 4 git commands to generate.