rpms/ntp/devel ntp-4.2.4-html2man.patch,1.1,1.2 ntp.spec,1.62,1.63

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Tue Jan 23 15:57:01 UTC 2007


Author: mlichvar

Update of /cvs/dist/rpms/ntp/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv27575

Modified Files:
	ntp-4.2.4-html2man.patch ntp.spec 
Log Message:
- generate makewhatis friendly man pages


ntp-4.2.4-html2man.patch:
 html2man.in |   99 +++++++++++++++++++++++++++++++++++++++---------------------
 1 files changed, 65 insertions(+), 34 deletions(-)

Index: ntp-4.2.4-html2man.patch
===================================================================
RCS file: /cvs/dist/rpms/ntp/devel/ntp-4.2.4-html2man.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- ntp-4.2.4-html2man.patch	8 Jan 2007 12:50:10 -0000	1.1
+++ ntp-4.2.4-html2man.patch	23 Jan 2007 15:56:58 -0000	1.2
@@ -47,12 +47,15 @@
      print MANOUT ".SH NAME\n";
      $pat = $fileinfo->[0];
      if ($name =~ /$pat/) {
-@@ -83,8 +74,10 @@
+@@ -81,10 +72,12 @@
+ 	# Add the manpage name, if not in the HTML title already
+ 	print MANOUT "$fileinfo->[0] - ";
      }
-     print MANOUT "$name\n\n";
- 
--    print MANOUT "$top_disclaimer\n";
+-    print MANOUT "$name\n\n";
 -
+-    print MANOUT "$top_disclaimer\n";
++    print MANOUT "$name\n.SH\n\n";
+ 
 +    @fontstack = ();
 +    $deflevel = 0;
 +    $pre = 0;


Index: ntp.spec
===================================================================
RCS file: /cvs/dist/rpms/ntp/devel/ntp.spec,v
retrieving revision 1.62
retrieving revision 1.63
diff -u -r1.62 -r1.63
--- ntp.spec	23 Jan 2007 14:24:06 -0000	1.62
+++ ntp.spec	23 Jan 2007 15:56:58 -0000	1.63
@@ -3,7 +3,7 @@
 Summary: Synchronizes system time using the Network Time Protocol (NTP).
 Name: ntp
 Version: 4.2.4
-Release: 2%{?dist}
+Release: 3%{?dist}
 License: distributable
 Group: System Environment/Daemons
 Source0: http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/ntp-%{version}.tar.gz
@@ -176,9 +176,10 @@
 
 
 %changelog
-* Tue Jan 23 2007 Miroslav Lichvar <mlichvar at redhat.com> 4.2.4-2
+* Tue Jan 23 2007 Miroslav Lichvar <mlichvar at redhat.com> 4.2.4-3
 - disable autoopts option preset mechanisms for ntpd
 - document -I option of ntpd
+- generate makewhatis friendly man pages
 
 * Mon Jan 08 2007 Miroslav Lichvar <mlichvar at redhat.com> 4.2.4-1
 - update to 4.2.4 (#146884)




More information about the fedora-cvs-commits mailing list