forked from pool/rpmlint
4d4e6f73c7
Copy from Base:System/rpmlint based on submit request 50483 from user prusnak OBS-URL: https://build.opensuse.org/request/show/50483 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rpmlint?expand=0&rev=68
16 lines
549 B
Diff
16 lines
549 B
Diff
Index: FilesCheck.py
|
|
===================================================================
|
|
--- FilesCheck.py.orig
|
|
+++ FilesCheck.py
|
|
@@ -826,6 +826,10 @@ class FilesCheck(AbstractCheck.AbstractC
|
|
# 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()
|