Commit Graph

1920 Commits

Author SHA1 Message Date
Ville Skyttä b1314de24e Force overwrite when symlinking bash completion to allow repeated installs 2015-07-09 16:43:45 +03:00
Ville Skyttä c0bf46d4a5 Clean up *.py[co] in subdirs on clean 2015-07-09 16:43:45 +03:00
Ville Skyttä 5092221d97 Cleanup __pycache__ dirs on clean 2015-07-09 16:43:45 +03:00
Ville Skyttä fd3922443b FilesCheck: Add Python 3.5b2 magic number 2015-07-09 16:43:45 +03:00
Ville Skyttä e8dc19461b Pkg.getstatusoutput: Close process stdout as soon as we're done with it 2015-07-09 16:43:45 +03:00
Ville Skyttä f427637004 Pkg: Use "with" in readlines 2015-07-09 16:43:45 +03:00
Ville Skyttä 17a4a17541 Pkg: Use "with" in get_default_valid_rpmgroups 2015-07-09 16:43:45 +03:00
Ville Skyttä 95e6e64d1d INSTALL: Python 3 should be fine now 2015-07-09 16:43:45 +03:00
Ville Skyttä 2a15473c20 test.sh: Use PYTHON and PYTEST from environment 2015-07-09 16:43:45 +03:00
Ville Skyttä 5fd400991b Replace shebangs with PYTHON given to the Makefile; needs full path now! 2015-07-09 16:43:45 +03:00
Ville Skyttä fca0f3714f Make Pkg a context manager and use as such 2015-07-09 16:43:45 +03:00
Ville Skyttä 92b1c4895b SpecCheck: Python 2 fix 2015-07-09 16:43:45 +03:00
Ville Skyttä 4092376f8c flake8 fixes 2015-07-09 16:43:45 +03:00
Ville Skyttä a0f0f6549b SpecCheck: Python 3 fix 2015-07-09 16:43:45 +03:00
Ville Skyttä fe724dd341 FilesCheck: Display all log files without logrotate 2015-07-09 16:43:45 +03:00
Ville Skyttä c9e80c7848 Python 3 fixes 2015-07-09 16:43:45 +03:00
Ville Skyttä c191d7cecd FilesCheck: Don't try to grep non-text buildconfig files 2015-07-09 16:43:45 +03:00
Ville Skyttä 5e6a61545f Fix jar classpath manifest check with Python 3 2015-07-09 16:43:45 +03:00
Ville Skyttä 0a5772cbb7 More python 3 fixing 2015-07-09 16:43:45 +03:00
Ville Skyttä b5da652b7c Display all multiply (cross-dir) hardlinked file names 2015-07-09 16:43:45 +03:00
Ville Skyttä 1ac94e65d9 Python 3 fixes and cleanups 2015-07-09 16:43:45 +03:00
Ville Skyttä 01d8877519 Improve formatting of permissions 2015-07-09 16:43:45 +03:00
Ville Skyttä 2593fecd30 Pkg: collect Recommends, Suggests, Enhances, and Supplements 2015-07-09 16:43:45 +03:00
Ville Skyttä b61f6dae80 FilesCheck: Check for misplaced libs in devel packages
https://bugzilla.redhat.com/show_bug.cgi?id=1019745
2015-07-09 16:43:45 +03:00
Ville Skyttä edb826f072 FilesCheck: Treat lib*-X.Y.so as versioned libraries
Not sure if it's strictly required to run ldconfig after installing
these, but doing so does update ld.so.cache so I suppose it is at least
desirable.
2015-07-09 16:43:45 +03:00
Ludwig Nussel 5bc4ac7bd6 fix ghost file handling
always take into consideration the missingok files when checking for
missing ghost files.
2015-07-09 16:43:45 +03:00
Ludwig Nussel 7bcd6c589a save content to an array
due to the following join the generator would be at the end so iterating
through lines wouldn't work

Modified-by: Ville Skyttä <ville.skytta@iki.fi> (pep8 fixes)
2015-07-09 16:43:45 +03:00
Richard Houser 91da39bbd3 SpecCheck: Avoid false positives detecting %setup lines
https://sourceforge.net/p/rpmlint/tickets/41/

Modified-by: Ville Skyttä <ville.skytta@iki.fi>
(removed whitespace before %setup as it doesn't actually parse that way)
2015-07-09 16:43:45 +03:00
Ville Skyttä ffc47e8a10 AppDataCheck: Make checker command configurable
For example to make the check stricter than the default
"appstream-util validate-relax", set it to ("appstream-util",
"validate").
2015-07-09 16:43:45 +03:00
Yanko Kaneti a200fe7a0f AppDataCheck: use appstream-util instead of appdata-validate
appdata-validate is deprecated since
2a2436de04
2015-07-09 16:43:45 +03:00
Ville Skyttä 56f18b137b AppDataCheck: show error also when XML parsing fails
Parsing the appdata-validate output seems unnecessary and fragile;
unless we want to do something more sophisticated with it it's better
to not do it at all but just rely on the exit status.
2015-07-09 16:43:45 +03:00
Ville Skyttä d34d6b5198 Comment spelling fix 2015-07-09 16:43:45 +03:00
Ville Skyttä 11611166fc Release 1.6 2015-07-09 16:43:45 +03:00
Ville Skyttä 15e54ec69a Fix dist target, fallout from previous change 2015-07-09 16:43:45 +03:00
Ville Skyttä 61e29add7b Clean up test dir structure 2015-07-09 16:43:45 +03:00
Ville Skyttä 1a3bf72e45 flake8 cleanups 2015-07-09 16:43:45 +03:00
Ludwig Nussel 2d568657b1 disallow /var/run and /var/lock
Distros moved to having /var/run and /var/lock as symlinks to /run resp
/run/lock. Therefore packages must no longer put files there at all.

Also, refactor the code for dir-or-file-in-* and make it configurable.
2015-07-09 16:43:44 +03:00
Ville Skyttä 2243fe4bd0 SCLCheck: info message fixes 2015-07-09 16:43:44 +03:00
Ville Skyttä 411c6a04a6 SCLCheck: flake8 cleanups 2015-07-09 16:43:44 +03:00
Ville Skyttä 18436a7345 Note pytest build dependency 2015-07-09 16:43:44 +03:00
Ville Skyttä 2e18552818 Note SCLCheck in README 2015-07-09 16:43:44 +03:00
Miro Hrončok a879448363 Add SCLCheck to rpmlint 2015-07-09 16:43:44 +03:00
Ville Skyttä 543a05f084 flake8 cleanups 2015-07-09 16:43:44 +03:00
Ville Skyttä b2bc56a5c6 Move RPM_SCRIPTLETS to PostCheck 2015-07-09 16:43:44 +03:00
Ville Skyttä 6359a6e9f5 Recognize 3.x kernel modules and ones in /usr/lib/modules 2015-07-09 16:43:44 +03:00
Ville Skyttä b36a86ec25 Fix handling of tags whose values have spaces in them (#33)
Regression from a88ec0ad6a
2015-07-09 16:43:44 +03:00
Ville Skyttä bc28709a76 Remove config instructions from non-readable description
All our checks are subject to suppressiion via config files if they're
undesirable, there's nothing special about this one. And the message's
instructions were was outdated, they failed to mention the separate
config snippet possibility.
2015-07-09 16:43:44 +03:00
Sascha Peilicke 3dce5583f1 Set Python-3.4 magic number to 3310
This is the final magic number of the 3.4 release.
2015-07-09 16:43:44 +03:00
Miro Hrončok 5a1abc2790 Fix wrong method name in SourceCheck 2015-07-09 16:43:43 +03:00
Miro Hrončok 6ee3c37df3 Run all check_specs method for all enabled checks, separate check_binary and check_source 2015-07-09 16:43:43 +03:00