mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-05-06 22:18:28 +00:00
When requiring source package, specify exact version of binary package.
This commit is contained in:
Vendored
+1
-1
@@ -254,7 +254,7 @@ func (p *Package) GetDependencies(options int) (dependencies []string) {
|
||||
}
|
||||
|
||||
if options&DepFollowSource == DepFollowSource && p.Source != "" {
|
||||
dependencies = append(dependencies, p.Source+" {source}")
|
||||
dependencies = append(dependencies, fmt.Sprintf("%s (= %s) {source}", p.Source, p.Version))
|
||||
}
|
||||
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user