forked from pool/rpmlint
7383a6345e
Copy from Base:System/rpmlint based on submit request 17759 from user thomasbiege OBS-URL: https://build.opensuse.org/request/show/17759 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rpmlint?expand=0&rev=43
14 lines
414 B
Diff
14 lines
414 B
Diff
--- FilesCheck.py
|
|
+++ FilesCheck.py
|
|
@@ -285,6 +285,10 @@
|
|
# 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()
|