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(+)
|
|
|
|
|
|
|
|
diff --git a/FilesCheck.py b/FilesCheck.py
|
2015-11-26 11:24:13 +01:00
|
|
|
index ad77589..cdffaea 100644
|
2015-04-10 16:35:46 +02:00
|
|
|
--- a/FilesCheck.py
|
|
|
|
+++ b/FilesCheck.py
|
2015-11-26 11:24:13 +01:00
|
|
|
@@ -830,6 +830,10 @@ class FilesCheck(AbstractCheck.AbstractCheck):
|
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()
|