Hello, 

Here's a patch to add a new manpage that gives a brief overview of yum-utils 
and moves yum-complete-transaction to /usr/sbin and man page to man8 since the 
tool requires root exclusively.

Thanks, 
Shawn.

diff --git a/docs/yum-complete-transaction.1 b/docs/yum-complete-transaction.1
deleted file mode 100644
index 0e3c6d5..0000000
--- a/docs/yum-complete-transaction.1
+++ /dev/null
@@ -1,48 +0,0 @@
-.\" yum-complete-transaction
-.TH "yum-complete-transaction" "1" "2007 Dec 10" "Seth Vidal" ""
-.SH "NAME"
-yum-complete-transaction
-.SH "SYNOPSIS"
-\fByum-complete-transaction\fP
-.SH "DESCRIPTION"
-.PP 
-\fByum-complete-transaction\fP is a program which finds incomplete or
-aborted yum transactions on a system and attempts to complete them. It
-looks at the transaction-all* and transaction-done* files which can normally
-be found in /var/lib/yum if a yum transaction aborted in the middle of 
-execution.
-.PP
-If it finds more than one unfinished transaction it will attempt to complete
-the most recent one first. You can run it more than once to clean up all
-unfinished transactions.
-.PP 
-.SH "FILES"
-As yum-complete-transaction uses YUM libraries for retrieving all the information, it
-relies on YUM configuration for its default values like which repositories
-to use. Consult YUM documentation for details:
-.PP
-.nf 
-/etc/yum.conf
-/etc/yum/repos.d/
-/var/cache/yum/
-.fi 
-
-.PP 
-.SH "SEE ALSO"
-.nf
-.I yum.conf (5)
-.\"http://linux.duke.edu/yum-utils/
-http://linux.duke.edu/yum/
-.fi 
-
-.PP 
-.SH "AUTHORS"
-.nf 
-See the Authors file included with this program.
-.fi 
-
-.PP 
-.SH "BUGS"
-There of course aren't any bugs, but if you find any, they should be sent
-to the mailing list: [EMAIL PROTECTED] or filed in bugzilla.
-.fi
diff --git a/docs/yum-complete-transaction.8 b/docs/yum-complete-transaction.8
new file mode 100644
index 0000000..b9c6551
--- /dev/null
+++ b/docs/yum-complete-transaction.8
@@ -0,0 +1,48 @@
+.\" yum-complete-transaction
+.TH "yum-complete-transaction" "8" "2007 Dec 10" "Seth Vidal" ""
+.SH "NAME"
+yum-complete-transaction
+.SH "SYNOPSIS"
+\fByum-complete-transaction\fP
+.SH "DESCRIPTION"
+.PP 
+\fByum-complete-transaction\fP is a program which finds incomplete or
+aborted yum transactions on a system and attempts to complete them. It
+looks at the transaction-all* and transaction-done* files which can normally
+be found in /var/lib/yum if a yum transaction aborted in the middle of 
+execution.
+.PP
+If it finds more than one unfinished transaction it will attempt to complete
+the most recent one first. You can run it more than once to clean up all
+unfinished transactions.
+.PP 
+.SH "FILES"
+As yum-complete-transaction uses YUM libraries for retrieving all the information, it
+relies on YUM configuration for its default values like which repositories
+to use. Consult YUM documentation for details:
+.PP
+.nf 
+/etc/yum.conf
+/etc/yum/repos.d/
+/var/cache/yum/
+.fi 
+
+.PP 
+.SH "SEE ALSO"
+.nf
+.I yum.conf (5)
+.\"http://linux.duke.edu/yum-utils/
+http://linux.duke.edu/yum/
+.fi 
+
+.PP 
+.SH "AUTHORS"
+.nf 
+See the Authors file included with this program.
+.fi 
+
+.PP 
+.SH "BUGS"
+There of course aren't any bugs, but if you find any, they should be sent
+to the mailing list: [EMAIL PROTECTED] or filed in bugzilla.
+.fi
diff --git a/yum-utils.1 b/yum-utils.1
new file mode 100644
index 0000000..3885cac
--- /dev/null
+++ b/yum-utils.1
@@ -0,0 +1,27 @@
+.TH "yum-utils" "1" "18-Mar-2008" "yum-utils" ""
+.SH "NAME"
+yum\-utils \- tools for manipulating repositories and extended package management
+.SH "SYNOPSIS"
+.nf 
+\fBdebuginfo\-install\fR \- install debuginfo packages and their dependencies
+\fBpackage\-cleanup\fR \- manage package cleanup, duplicates, orphaned packages and outstanding dependency problems
+\fBrepo\-graph\fR \- outputs a full package dependency list in dot format 
+\fBrepo\-rss\fR \- generates an RSS feed from one or more repositories
+\fBrepoclosure\fR \- reads metadata of repositories, checks dependencies and displays list of unresolved dependencies
+\fBrepodiff\fR \- takes two or more repositories, returns a list of added, removed or changed packages
+\fBrepomanage\fR \- manages a directory of rpm packages, returns a list of newest or oldest packages in a directory
+\fBrepoquery\fR \- query yum repositories and get additional information on the them
+\fBreposync\fR \- synchronize a remote yum repository to a local directory using yum to retrieve packages
+\fBrepotrack\fR \- track packages and its dependencies and downloads them
+\fByum\-builddep\fR \- installs missing dependencies to build a specified package
+\fByum\-complete\-transaction\fR \- finds incomplete or aborted yum transactions and attempts to complete them
+\fByumdownloader\fR \- downloads packages from yum repositories including source RPMs
+.SH "DESCRIPTION"
+.B yum\-utils
+is a collection of tools and programs for managing yum repositories, installing debug packages, source packages, extended information from repositories and administration.
+.SH "NOTES"
+See respective tools for additional help for commands without a manual page
+.SH "SEE ALSO"
+package\-cleanup(1), repo\-rss(1), repoquery(1), reposync(1), yum\-builddep(1), yum\-complete\-transaction(8), yumdownloader(1)
+.SH "AUTHOR"
+Shawn Starr <[EMAIL PROTECTED]>
diff --git a/yum-utils.spec b/yum-utils.spec
index 9fe6d8a..58116f0 100644
--- a/yum-utils.spec
+++ b/yum-utils.spec
@@ -299,13 +299,14 @@ fi
 %{_bindir}/repo-rss
 %{_bindir}/yumdownloader
 %{_bindir}/yum-builddep
-%{_bindir}/yum-complete-transaction
+%{_sbindir}/yum-complete-transaction
+%{_mandir}/man1/yum-utils.1.*
 %{_mandir}/man1/package-cleanup.1.*
 %{_mandir}/man1/repo-rss.1.*
 %{_mandir}/man1/repoquery.1.*
 %{_mandir}/man1/reposync.1.*
 %{_mandir}/man1/yum-builddep.1.*
-%{_mandir}/man1/yum-complete-transaction.1.*
+%{_mandir}/man8/yum-complete-transaction.8.*
 %{_mandir}/man1/yumdownloader.1.*
 
 %files -n yum-updateonboot
@@ -434,6 +435,11 @@ fi
 %{_mandir}/man1/yum-verify.1.*
 
 %changelog
+* Tue Mar 18 2008 Shawn Starr <[EMAIL PROTECTED]>
+- Add yum-utils.8 manual page
+- Rename yum-complete-transaction manual page to 8
+- Move yum-complete-transaction to /usr/sbin
+
 * Sat Mar  1 2008 James Antill <[EMAIL PROTECTED]>
 - Add verify plugin
 
_______________________________________________
Yum-devel mailing list
[email protected]
https://lists.dulug.duke.edu/mailman/listinfo/yum-devel

Reply via email to