]> git.pld-linux.org Git - packages/ntp.git/commitdiff
- new %%doc, more specific Requires
authorJakub Bogusz <qboosh@pld-linux.org>
Mon, 7 Oct 2002 14:09:25 +0000 (14:09 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    ntp.spec -> 1.39

ntp.spec

index a7b9dacc0c2cc18970cf6f9eeac6a5d36d4b1696..86303a6ea50a2ca7e5b084da526c5f383d26e836 100644 (file)
--- a/ntp.spec
+++ b/ntp.spec
@@ -18,8 +18,8 @@ Patch1:               %{name}-vsnprintf.patch
 URL:           http://www.ntp.org/
 BuildConflicts:        libelf
 BuildRequires: readline-devel >= 4.2
-Prereq:                rc-scripts
-Prereq:                /sbin/chkconfig
+PreReq:                rc-scripts
+Requires(post,preun):  /sbin/chkconfig
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define                _sysconfdir     /etc/ntp
@@ -73,8 +73,6 @@ install %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/ntp
 install %{SOURCE5} $RPM_BUILD_ROOT%{_mandir}/man8
 install %{SOURCE6} $RPM_BUILD_ROOT%{_mandir}/man8
 
-gzip -9nf NEWS TODO conf/*.conf
-
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -96,7 +94,7 @@ fi
 
 %files
 %defattr(644,root,root,755)
-%doc conf/*.gz *.gz
+%doc NEWS TODO conf/*.conf
 %attr(750,root,root) %dir %{_sysconfdir}
 %attr(640,root,root) %config(noreplace) %verify(not size md5 mtime) %{_sysconfdir}/*
 %attr(755,root,root) %{_sbindir}/*
This page took 0.032235 seconds and 4 git commands to generate.