rpms/quota/devel quota-3.17-quotactlmanpage.patch, NONE, 1.1 quota.spec, 1.55, 1.56

Ondrej Vasik ovasik at fedoraproject.org
Fri Sep 18 07:51:16 UTC 2009


Author: ovasik

Update of /cvs/extras/rpms/quota/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv5245

Modified Files:
	quota.spec 
Added Files:
	quota-3.17-quotactlmanpage.patch 
Log Message:
Fix headers and structs in quotactl manpage(#524138)

quota-3.17-quotactlmanpage.patch:
 quotactl.2 |   29 ++++++++++++++---------------
 1 file changed, 14 insertions(+), 15 deletions(-)

--- NEW FILE quota-3.17-quotactlmanpage.patch ---
diff -urNp quota-tools-orig/quotactl.2 quota-tools/quotactl.2
--- quota-tools-orig/quotactl.2	2008-10-13 19:29:18.000000000 +0200
+++ quota-tools/quotactl.2	2009-09-18 09:27:30.000000000 +0200
@@ -3,12 +3,11 @@
 quotactl \- manipulate disk quotas
 .SH SYNOPSIS
 .nf
-.B #include <linux/quota.h>
+.B #include <sys/quota.h>
+.B #include <sys/types.h>
 .B #include <xfs/xqm.h>
-.B #include <linux/dqblk_v1.h>
-.B #include <linux/dqblk_v2.h>
 .LP
-.B long quotactl(int cmd, char \(**special, qid_t id, caddr_t addr)
+.B long quotactl(int cmd, char \(**special, int id, caddr_t addr)
 .fi
 .SH DESCRIPTION
 .LP
@@ -67,9 +66,9 @@ Get disk quota limits and current usage 
 .IR id .
 .I addr
 is a pointer to an
-.B if_dqblk
+.B dqblk
 structure (defined in
-.BR <linux/quota.h> ).
+.BR <sys/quota.h> ).
 The field
 .I dqb_valid
 defines the entries in the structure which are set correctly. On
@@ -82,15 +81,15 @@ Set current quota information for user o
 .IR id .
 .I addr
 is a pointer to an
-.B if_dqblk
+.B dqblk
 structure (defined in
-.BR <linux/quota.h> ).
+.BR <sys/quota.h> ).
 The field
 .I dqb_valid
 defines which entries in the quota structure are valid and should be set. The constants for
 .I dqb_valid
 field are defined in the
-.B <linux/quota.h>
+.B <sys/quota.h>
 header file. This call obsoletes calls
 .B Q_SETQLIM
 and
@@ -101,9 +100,9 @@ in the previous quota interfaces. This c
 Get information (like grace times) about quotafile.
 .I addr
 should be a pointer to an
-.B if_dqinfo
+.B dqinfo
 structure (defined in
-.IR <linux/quota.h> ).
+.IR <sys/quota.h> ).
 The
 .I dqi_valid
 field in the structure defines entries in it
@@ -118,15 +117,15 @@ is ignored. 
 Set information about quotafile.
 .I addr
 should be a pointer to
-.B if_dqinfo
+.B dqinfo
 structure (defined in
-.IR <linux/quota.h> ).
+.IR <sys/quota.h> ).
 The field
 .I dqi_valid
 defines which entries in the quota info structure are valid and should be set. The constants for
 .I dqi_valid
 field are defined in the
-.B <linux/quota.h>
+.B <sys/quota.h>
 header file. This call obsoletes calls
 .B Q_SETGRACE
 and
@@ -156,7 +155,7 @@ Get statistics and other generic informa
 should be a pointer to
 .B dqstats
 structure (defined in
-.BR <linux/quota.h> )
+.BR <sys/quota.h> )
 in which data should be stored.
 .I special
 and


Index: quota.spec
===================================================================
RCS file: /cvs/extras/rpms/quota/devel/quota.spec,v
retrieving revision 1.55
retrieving revision 1.56
diff -u -p -r1.55 -r1.56
--- quota.spec	28 Aug 2009 12:29:30 -0000	1.55
+++ quota.spec	18 Sep 2009 07:51:15 -0000	1.56
@@ -5,7 +5,7 @@ Name: quota
 Summary: System administration tools for monitoring users' disk usage
 Epoch: 1
 Version: 3.17
-Release: 6%{?dist}
+Release: 7%{?dist}
 License: BSD and GPLv2+
 URL: http://sourceforge.net/projects/linuxquota/
 Group: System Environment/Base
@@ -22,6 +22,7 @@ Patch3: quota-3.06-pie.patch
 Patch4: quota-3.13-wrong-ports.patch
 Patch5: quota-3.16-helpoption.patch
 Patch6: quota-3.16-quotaoffhelp.patch
+Patch7: quota-3.17-quotactlmanpage.patch
 
 %description
 The quota package contains system administration tools for monitoring
@@ -51,6 +52,7 @@ on remote machines.
 %patch4 -p1
 %patch5 -p1
 %patch6 -p1 -b .usage
+%patch7 -p1 -b .quotactlman
 
 #fix typos/mistakes in localized documentation
 for pofile in $(find ./po/*.p*)
@@ -112,6 +114,9 @@ rm -rf %{buildroot}
 %attr(0644,root,root) %{_mandir}/man3/*
 
 %changelog
+* Fri Sep 18 2009 Ondrej Vasik <ovasik at redhat.com> 1:3.17-7
+- Fix headers and structs in quotactl manpage(#524138)
+
 * Fri Aug 28 2009 Ondrej Vasik <ovasik at redhat.com> 1:3.17-6
 - symlink manpage for rpc.rquotad
 




More information about the fedora-extras-commits mailing list