Bugzilla (bugzilla.redhat.com) will be under maintenance for infrastructure upgrades and will not be available on July 31st between 12:30 AM - 05:30 AM UTC. We appreciate your understanding and patience. You can follow status.redhat.com for details.
Bug 591414 - Spec file clean-up
Summary: Spec file clean-up
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: quota
Version: 4.8
Hardware: All
OS: Linux
Target Milestone: rc
: ---
Assignee: Petr Pisar
QA Contact: qe-baseos-daemons
Depends On:
TreeView+ depends on / blocked
Reported: 2010-05-12 08:14 UTC by Petr Pisar
Modified: 2010-10-13 13:57 UTC (History)
2 users (show)

Fixed In Version: quota-3.12-8.el4
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2010-10-13 13:57:01 UTC
Target Upstream Version:

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2010:0767 0 normal SHIPPED_LIVE quota bug fix update 2010-10-13 13:56:22 UTC

Description Petr Pisar 2010-05-12 08:14:11 UTC
Current RHEL-4 quota-1:3.12-7 spec file contains some ugly things (RPM Guide Lines) and some files in resulting RPMs have improper attributes:

> $ rpmlint quota.spec x86_64/quota-*
> quota.spec:11: E: buildprereq-use e2fsprogs-devel gettext tcp_wrappers

Buildprereq has been obsoleted by BuildRequires keyword.

> quota.spec:258: W: macro-in-%changelog %attr)
> quota.spec:288: W: macro-in-%changelog %attr

The per-cent character must be escaped.

> quota.spec:84: W: mixed-use-of-spaces-and-tabs (spaces: line 84, tab: line 13)

The white spaces should be consistent to preserve alignment.

> quota.spec: W: invalid-url Source0: http://unc.dl.sourceforge.net/sourceforge/linuxquota/quota-3.12.tar.gz <urlopen error timed out>

The URL is no longer valid, correct one is <http://downloads.sourceforge.net/sourceforge/linuxquota/%{name}-%{version}.tar.gz>.

> quota.x86_64: W: summary-ended-with-dot C System administration tools for monitoring users' disk usage.

Trailing space from Summary must be removed.

> quota.x86_64: W: spelling-error %description -l en_US filesystem -> file system, file-system, systematic

Use "file system" instead of "filesystem" in package description.

> quota.x86_64: W: non-conffile-in-etc /etc/quotagrpadmins
> quota.x86_64: W: non-conffile-in-etc /etc/quotatab

These file are configuration files. They must be attributed in such manner, otherwise package update will remove user modifications leading to undesired behavior.

> quota-debuginfo.x86_64: W: spurious-executable-perm /usr/src/debug/quota-tools/quotasys.h

Header files are not executables. The executable bit must be removed.

As I have approved all RHEL-4 bugs for 4.9 fast track, I'd like to fix above-mentioned issues in this package update too.

Comment 5 errata-xmlrpc 2010-10-13 13:57:01 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.


Note You need to log in before you can comment on or make changes to this bug.