diff --git a/l2tdevtools/build_helpers/dpkg.py b/l2tdevtools/build_helpers/dpkg.py index 30861132..dee6a0ee 100644 --- a/l2tdevtools/build_helpers/dpkg.py +++ b/l2tdevtools/build_helpers/dpkg.py @@ -920,8 +920,11 @@ def Build(self, source_helper_object): # dpkg-buildpackage wants an source package filename without # the status indication and orig indication. + + # Note that we need to pass the original project name to + # _CreateOriginalSourcePackage. self._CreateOriginalSourcePackage( - source_package_path, project_name, project_version) + source_package_path, source_helper_object.project_name, project_version) source_package_filename = source_helper_object.GetSourcePackageFilename() logging.info(f'Building deb of: {source_package_filename:s}') @@ -1073,6 +1076,8 @@ def Build(self, source_helper_object): project_name, project_version = self._GetFilenameSafeProjectInformation( source_helper_object) + # Note that we need to pass the original project name to + # _CreateOriginalSourcePackage. self._CreateOriginalSourcePackage( source_package_path, source_helper_object.project_name, project_version) diff --git a/tests/update.py b/tests/update.py index cac29354..50ece938 100644 --- a/tests/update.py +++ b/tests/update.py @@ -19,7 +19,7 @@ class GithubRepoDownloadHelperTest(test_lib.BaseTestCase): _DOWNLOAD_URL = 'https://github.com/ForensicArtifacts/artifacts/releases' _PROJECT_NAME = 'artifacts' - _PROJECT_VERSION = '20260411' + _PROJECT_VERSION = '20260421' def testGetPackageDownloadURLs(self): """Tests the GetPackageDownloadURLs function."""