diff --git a/swh/lister/cran/lister.py b/swh/lister/cran/lister.py --- a/swh/lister/cran/lister.py +++ b/swh/lister/cran/lister.py @@ -97,8 +97,9 @@ logger.debug('repo: %s', repo) project_url = compute_package_url(repo) package = repo['Package'] + version = repo['Version'] return { - 'uid': package, + 'uid': f'{package}-{version}', 'name': package, 'full_name': repo['Title'], 'version': repo['Version'],