RpmGitRepository: set default value of toplevel to false.
authorwanchao-xu <wanchao.xu@samsung.com>
Fri, 26 Apr 2024 09:57:10 +0000 (17:57 +0800)
committerwanchao-xu <wanchao.xu@samsung.com>
Fri, 26 Apr 2024 09:57:10 +0000 (17:57 +0800)
Change-Id: Idc3efd5e3090adb62e4a1e9cfcd821d3371eb60e
Signed-off-by: wanchao-xu <wanchao.xu@samsung.com>
gbp/rpm/git.py

index 9fe38ba0efb9bce974f4cb097c08e62c2fb5c630..abcb4120c757e070063e1eefb8aa31c8b48650ac 100644 (file)
@@ -27,7 +27,7 @@ class RpmGitRepository(PkgGitRepository):
     """A git repository that holds the source of an RPM package"""
 
     def __init__(self, path):
-        super(RpmGitRepository, self).__init__(path)
+        super(RpmGitRepository, self).__init__(path, toplevel=False)
         self.pristine_tar = PristineTar(self)
 
     def find_version(self, format, str_fields):