From ef9eace82b801d09a32d60503f365ac3bed15dc0 Mon Sep 17 00:00:00 2001 From: Luke Macken Date: Mon, 3 Dec 2007 16:35:22 -0500 Subject: [PATCH] Add a man page for modifyrepo --- ChangeLog | 4 ++++ createrepo.spec | 4 ++++ docs/Makefile | 4 ++++ docs/modifyrepo.1 | 40 ++++++++++++++++++++++++++++++++++++++++ modifyrepo.py | 2 -- 5 files changed, 52 insertions(+), 2 deletions(-) create mode 100644 docs/modifyrepo.1 diff --git a/ChangeLog b/ChangeLog index c13a15f..d0394a0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2007-12-03 04:33 lmacken + * docs/modifyrepo.8, createrepo.spec, docs/Makefile: + Add a man page for modifyrepo + 2007-06-07 09:17 pnasrat * Makefile, genpkgmetadata.py, readMetadata.py, docs/createrepo.8: diff --git a/createrepo.spec b/createrepo.spec index a3c34be..3c5cc75 100644 --- a/createrepo.spec +++ b/createrepo.spec @@ -34,8 +34,12 @@ rpm packages %{_bindir}/%{name} %{_bindir}/modifyrepo %{_mandir}/man8/createrepo.8* +%{_mandir}/man1/modifyrepo.1* %changelog +* Mon Dec 3 2007 Luke Macken +- Add man page for modifyrepo + * Thu Jun 07 2007 Paul Nasrat - 0.4.10 diff --git a/docs/Makefile b/docs/Makefile index 0a41179..4b32071 100644 --- a/docs/Makefile +++ b/docs/Makefile @@ -41,7 +41,9 @@ all: install: all installdirs mkdir -p $(DESTDIR)$(mandir)/man8 + mkdir -p $(DESTDIR)$(mandir)/man1 $(INSTALL_DATA) createrepo.8 $(DESTDIR)$(mandir)/man8/createrepo.8 + $(INSTALL_DATA) modifyrepo.1 $(DESTDIR)$(mandir)/man1/modifyrepo.1 uninstall: @@ -71,6 +73,7 @@ distfiles: mkdir $(top_srcdir)/.disttmp/$$distdir/docs;\ cp \ $(srcdir)/createrepo.8 \ + $(srcdir)/modifyrepo.1 \ $(srcdir)/Makefile \ $(top_srcdir)/.disttmp/$$distdir/docs @@ -79,6 +82,7 @@ dailyfiles: mkdir $(top_srcdir)/.disttmp/$$distdir/docs;\ cp \ $(srcdir)/createrepo.8 \ + $(srcdir)/modifyrepo.1 \ $(srcdir)/Makefile \ $(top_srcdir)/.disttmp/$$distdir/docs diff --git a/docs/modifyrepo.1 b/docs/modifyrepo.1 new file mode 100644 index 0000000..6d16b15 --- /dev/null +++ b/docs/modifyrepo.1 @@ -0,0 +1,40 @@ +.TH "modifyrepo" "1" "2007 Dec 3" "Luke Macken" "" + +.SH "NAME" +modifyrepo \- Modify a repomd (xml-rpm-metadata) repository + +.SH "SYNOPSIS" +\fBmodifyrepo\fP +.PP + +.SH "DESCRIPTION" +\fBmodifyrepo\fP is a program that allows you to insert arbitrary metadata into a repomd (xml-based rpm metadata) repository. + +.SH "EXAMPLES" +.PP +$ \fBmodifyrepo\fP metadata.xml /repository/repodata +.br +Wrote: /repository/repodata/metadata.xml.gz + type = metadata + location = repodata/metadata.xml.gz + checksum = 1d7ee93db2964e7f85e07ec19b3204591da1050c + timestamp = 1196716296.0 + open-checksum = 824d936dc7dfff029379797b311af0cc66af4115 +.br +Wrote: /repository/repodata/repomd.xml + +.PP +.SH "SEE ALSO" +.I createrepo (8) + +.PP +.SH "AUTHORS" +.nf +Luke Macken +.fi + +.PP +.SH "BUGS" +Any bugs which are found should be emailed to the mailing list: +rpm-metadata@linux.duke.edu +.fi diff --git a/modifyrepo.py b/modifyrepo.py index 30abe1c..29a7a63 100755 --- a/modifyrepo.py +++ b/modifyrepo.py @@ -1,6 +1,4 @@ #!/usr/bin/env python -# $Id$ -# # This tools is used to insert arbitrary metadata into an RPM repository. # Example: # ./modifyrepo.py updateinfo.xml myrepo/repodata -- 2.34.1