[quota/f14/master] Comment example quotatab to silent warnquota

Petr Pisar ppisar at fedoraproject.org
Tue Dec 14 15:00:20 UTC 2010


commit 4c193701723dff56029cf0873410716e4f19a96a
Author: Petr Písař <ppisar at redhat.com>
Date:   Tue Dec 14 15:46:52 2010 +0100

    Comment example quotatab to silent warnquota
    
    Warnquota tried to stat possibly non-existing /dev/hda4.

 quota.spec |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/quota.spec b/quota.spec
index c13ae21..a4634a7 100644
--- a/quota.spec
+++ b/quota.spec
@@ -5,7 +5,7 @@ Name: quota
 Summary: System administration tools for monitoring users' disk usage
 Epoch: 1
 Version: 3.17
-Release: 14%{?dist}
+Release: 15%{?dist}
 License: BSD and GPLv2+
 URL: http://sourceforge.net/projects/linuxquota/
 Group: System Environment/Base
@@ -72,6 +72,9 @@ do
    sed -i 's/editting/editing/' "$pofile"
 done
 
+# Comment example /etc/quotatab to silent warnquota
+sed -i -e '/^ *[^#]\{1,\}$/ s/^/#/' quotatab
+
 # Regenerate configure (Patch10)
 autoconf
 
@@ -131,6 +134,9 @@ rm -rf %{buildroot}
 %attr(0644,root,root) %{_mandir}/man3/*
 
 %changelog
+* Tue Dec 14 2010 Petr Pisar <ppisar at redhat.com> - 1:3.17-15
+- Comment example quotatab to silent warnquota
+
 * Thu Nov 25 2010 Petr Pisar <ppisar at redhat.com> - 1:3.17-14
 - Use /proc/mounts for mountpoint scanning (#657379)
 


More information about the scm-commits mailing list