2015-04-10 16:35:46 +02:00
|
|
|
From: Some One <nobody@opensuse.org>
|
|
|
|
Date: Thu, 9 Apr 2015 14:55:39 +0200
|
|
|
|
Subject: [PATCH] devel-provide-is-devel-package.diff
|
|
|
|
|
2009-09-16 18:41:21 +02:00
|
|
|
===================================================================
|
2015-04-10 16:35:46 +02:00
|
|
|
---
|
|
|
|
FilesCheck.py | 4 ++++
|
|
|
|
1 file changed, 4 insertions(+)
|
|
|
|
|
2019-01-13 15:33:18 +01:00
|
|
|
Index: rpmlint-rpmlint-1.11/FilesCheck.py
|
2017-09-28 13:35:09 +02:00
|
|
|
===================================================================
|
2019-01-13 15:33:18 +01:00
|
|
|
--- rpmlint-rpmlint-1.11.orig/FilesCheck.py
|
|
|
|
+++ rpmlint-rpmlint-1.11/FilesCheck.py
|
|
|
|
@@ -446,6 +446,10 @@ class FilesCheck(AbstractCheck.AbstractC
|
2008-04-17 04:52:37 +02:00
|
|
|
# Check if the package is a development package
|
2009-08-21 18:19:06 +02:00
|
|
|
devel_pkg = devel_regex.search(pkg.name)
|
2008-04-17 04:52:37 +02:00
|
|
|
|
|
|
|
+ for p in pkg.provides():
|
|
|
|
+ if not devel_pkg and devel_regex.search(p[0]):
|
|
|
|
+ devel_pkg = True
|
|
|
|
+
|
2009-08-21 18:19:06 +02:00
|
|
|
config_files = pkg.configFiles()
|
|
|
|
ghost_files = pkg.ghostFiles()
|
|
|
|
doc_files = pkg.docFiles()
|