forked from pool/rpmlint
Ludwig Nussel
5ad6c8a066
+ add ghost file checks + print names of failed tests - fix update_git.sh - make sure tmpfiles are listed in %files (add-check-for-tmpfiles-created-at-r.diff) - don't complain about missingok ghost files (fix-ghost-file-handling.diff) - remove obsolete check for %defattr in spec files (remove-files-attr-not-set-check.diff) OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=328
25 lines
796 B
Diff
25 lines
796 B
Diff
From: Some One <nobody@opensuse.org>
|
|
Date: Thu, 9 Apr 2015 14:55:39 +0200
|
|
Subject: [PATCH] devel-provide-is-devel-package.diff
|
|
|
|
===================================================================
|
|
---
|
|
FilesCheck.py | 4 ++++
|
|
1 file changed, 4 insertions(+)
|
|
|
|
diff --git a/FilesCheck.py b/FilesCheck.py
|
|
index 72bdf54..ae9c364 100644
|
|
--- a/FilesCheck.py
|
|
+++ b/FilesCheck.py
|
|
@@ -829,6 +829,10 @@ class FilesCheck(AbstractCheck.AbstractCheck):
|
|
# Check if the package is a development package
|
|
devel_pkg = devel_regex.search(pkg.name)
|
|
|
|
+ for p in pkg.provides():
|
|
+ if not devel_pkg and devel_regex.search(p[0]):
|
|
+ devel_pkg = True
|
|
+
|
|
config_files = pkg.configFiles()
|
|
ghost_files = pkg.ghostFiles()
|
|
doc_files = pkg.docFiles()
|