Added descriptions.
git-svn-id: svn+ssh://rpmlint.zarb.org/home/projects/rpmlint/svn/trunk@451 9bc8b190-ac0f-0410-8968-dc7d1f502856
This commit is contained in:
parent
0f5b9f5240
commit
1e59c32276
|
@ -49,23 +49,26 @@ check=ConfigCheck()
|
|||
if Config.info:
|
||||
addDetails(
|
||||
'app-defaults-must-not-be-conffile',
|
||||
"""
|
||||
""",
|
||||
"""A file in /usr/X11R6/lib/X11/app-defaults/ is a configuration file.
|
||||
If you need to store your conf file, put it in /etc.""",
|
||||
|
||||
'score-file-must-not-be-conffile',
|
||||
"""
|
||||
""",
|
||||
"""A file in /var/lib/games/ is a configuration file. Store your conf
|
||||
files in /etc instead.""",
|
||||
|
||||
'file-in-usr-marked-as-conffile',
|
||||
"""A file in /usr is marked as being a configuration file.
|
||||
Store your conf files in /etc/ instead.""",
|
||||
|
||||
'non-etc-or-var-file-marked-as-conffile',
|
||||
"""
|
||||
""",
|
||||
"""A file not in /etc or /var is marked as being a configuration file.
|
||||
Please put your conf files in /etc or /var.""",
|
||||
|
||||
'conffile-without-noreplace-flag',
|
||||
"""
|
||||
"""A configuration file is stored in your package without the noreplace flag.
|
||||
A way to resolve this is to put the following in your SPEC file:
|
||||
|
||||
%config(noreplace) /etc/your_config_file_here
|
||||
""",
|
||||
|
||||
)
|
||||
|
|
|
@ -62,11 +62,11 @@ check=DistributionCheck()
|
|||
if Config.info:
|
||||
addDetails(
|
||||
'invalid-vendor',
|
||||
"""
|
||||
"""In the Mandrake Linux distribution, the vendor should be MandrakeSoft.
|
||||
""",
|
||||
|
||||
'invalid-distribution',
|
||||
"""
|
||||
"""In the Mandrake Linux distribution, the distribution value should be "Mandrake Linux"
|
||||
""",
|
||||
|
||||
'manpage-not-bzipped',
|
||||
|
@ -78,12 +78,12 @@ run bzip2 <man page file> to bzip it and after, build the package""",
|
|||
run gzip <man page file> to gzip it and after, build the package""",
|
||||
|
||||
'infopage-not-bzipped',
|
||||
"""
|
||||
""",
|
||||
"""An info page is not under the .bz2 extension/format. Please
|
||||
run bzip2 <info page file> to bzip it and after, build the package""",
|
||||
|
||||
'infopage-not-gzipped',
|
||||
"""
|
||||
""",
|
||||
"""An info page is not under the .gz extension/format. Please
|
||||
run gzip <info page file> to gzip it and after, build the package""",
|
||||
|
||||
)
|
||||
# DistributionCheck.py ends here
|
||||
|
|
23
FHSCheck.py
23
FHSCheck.py
|
@ -60,15 +60,32 @@ check=FHSCheck()
|
|||
if Config.info:
|
||||
addDetails(
|
||||
'non-standard-dir-in-usr',
|
||||
"""
|
||||
"""Your package is creating a non-standard sub directory in /usr. The standard directories are:
|
||||
-X11R6 -X386
|
||||
-bin -games
|
||||
-include -lib
|
||||
-local -sbin
|
||||
-share -src
|
||||
-spool -tmp
|
||||
""",
|
||||
|
||||
'FSSTND-dir-in-var',
|
||||
"""
|
||||
"""Your package is creating an illegal folder in /var. THE FSSTND (illegal) ones are:
|
||||
-adm -catman
|
||||
-local -named
|
||||
-nis -preserve
|
||||
""",
|
||||
|
||||
'non-standard-dir-in-var',
|
||||
"""
|
||||
"""Your package is creating a non-standard sub directory in /var. The standard directories are:
|
||||
-account -lib
|
||||
-cache -crash
|
||||
-games -lock
|
||||
-log -opt
|
||||
-run -spool
|
||||
-state -tmp
|
||||
-yp -www
|
||||
-ftp
|
||||
""",
|
||||
)
|
||||
# FHSCheck.py ends here
|
||||
|
|
Loading…
Reference in New Issue