#289 Remove the search of headers files in -debugsources packages
Closed 6 years ago by leamas. Opened 6 years ago by eclipseo.

file modified
+1 -1
@@ -99,7 +99,7 @@

              for path in self.rpms.find_all('*.h', pkg):

                  # header files (.h) under /usr/src/debug/* will be in

                  #  the -debuginfo package.

-                 if path.startswith('/usr/src/debug/') and '-debuginfo' in pkg:

+                 if path.startswith('/usr/src/debug/') and ('-debuginfo' in pkg or '-debugsource' in pkg):

                      continue

                  # All other .h files should be in a -devel package.

                  if '-devel' not in pkg:

Currently, fedora-review badly handles the split of -debuginfo packages into -debuginfo and -debugsources packages, it treats -debugsource as normal packages.
This PR removes the warning concerning headers files in debugsource package, since it's where they should be.

Thanks for patch! merged into devel branch, cllosing this PR for master.

Pull-Request has been closed by leamas

6 years ago
Metadata