]> git.pld-linux.org Git - packages/pdnsd.git/commitdiff
- a few spec cosmetics.
authorTomasz Pala <gotar@pld-linux.org>
Fri, 27 Apr 2001 06:12:00 +0000 (06:12 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    pdnsd.spec -> 1.9

pdnsd.spec

index ed0997c07f2a8013b32f598542a096e414e4a13f..5218b18af159d9d09097ca7d0bddc0f3a597ca98 100644 (file)
@@ -37,16 +37,16 @@ pracujacej w trybie off-line (np. poprzez po
 
 %install
 %{__rm} -rf $RPM_BUILD_ROOT
-%{__install} -d $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d
+%{__install} -d $RPM_BUILD_ROOT/etc/rc.d/init.d
 
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
-%{__install} %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d/pdnsd
+%{__install} %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/pdnsd
 %{__mv} $RPM_BUILD_ROOT%{_sysconfdir}/pdnsd.conf.sample \
        $RPM_BUILD_ROOT%{_sysconfdir}/pdnsd.conf
 
 %{__gzip} -9nf AUTHORS ChangeLog NEWS README TODO \
-       doc/txt/*.txt
+       doc/html/*.html doc/txt/*.txt
 
 %clean
 %{__rm} -rf $RPM_BUILD_ROOT
@@ -54,24 +54,24 @@ pracujacej w trybie off-line (np. poprzez po
 %post
 /sbin/chkconfig --add pdnsd
 if [ -f %{_localstatedir}/lock/subsys/pdnsd ]; then
-       %{_sysconfdir}/rc.d/init.d/pdnsd restart >&2
+       /etc/rc.d/init.d/pdnsd restart >&2
 else
-       echo "Run \"%{_sysconfdir}/rc.d/init.d/pdnsd start\" to start pdnsd." >&2
+       echo "Run \"/etc/rc.d/init.d/pdnsd start\" to start pdnsd." >&2
 fi
 
 %preun
 if [ "$1" = "0" ]; then
        if [ -f %{_localstatedir}/lock/subsys/pdnsd ]; then
-               %{_sysconfdir}/rc.d/init.d/pdnsd stop
+               /etc/rc.d/init.d/pdnsd stop
        fi
        /sbin/chkconfig --del pdnsd
 fi
 
 %files
 %defattr(644,root,root,755)
-%doc {*,doc/txt/*}.gz doc/html/{index,dl,doc,faq}.html
-%attr(754,root,root) %{_sysconfdir}/rc.d/init.d/pdnsd
+%doc {*,doc/{html,txt}/*}.gz
+%attr(754,root,root) /etc/rc.d/init.d/pdnsd
 %attr(755,root,root) %{_sbindir}/pdnsd
-%attr(770,nobody,nobody) %dir %{_localstatedir}/cache/pdnsd
-%attr(660,nobody,nobody) %config(noreplace) %verify(not md5 size link mtime) %{_localstatedir}/cache/pdnsd/pdnsd.cache
-%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/pdnsd.conf
+%attr(770,nobody,nobody) %dir %{_var}/cache/pdnsd
+%attr(660,nobody,nobody) %config(noreplace) %verify(not md5 size mtime) %{_var}/cache/pdnsd/pdnsd.cache
+%config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/pdnsd.conf
This page took 0.073225 seconds and 4 git commands to generate.