mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-05-06 22:18:28 +00:00
deb: fix importing dbgsym packages with versioned Source field
dpkg-gencontrol can be called with -v flag which set binary package's version separated from source version. When this happen, the Source field will contain version number in addition to source package name. This tripped Aptly's dbgsym restriction, which check for exact source package name, which in turn prevents the dbgsym & the whole .changes file from being imported. From the git history, it seems like this condition is a leftover from when Aptly filter dbgsym packages using "*-dbgsym". So, I decided to remove it. A test case has been added to prevent regression.
This commit is contained in:
committed by
Lorenzo Bolla
parent
2c68175b5c
commit
814d4dbb51
+16
@@ -0,0 +1,16 @@
|
||||
Format: 3.0 (native)
|
||||
Source: dbgsym-with-source-version
|
||||
Binary: dbgsym-with-source-version
|
||||
Architecture: any
|
||||
Version: 2021.01
|
||||
Maintainer: Ratchanan Srirattanamet <ratchanan@ubports.com>
|
||||
Standards-Version: 4.4.1
|
||||
Build-Depends: debhelper-compat (= 12)
|
||||
Package-List:
|
||||
dbgsym-with-source-version deb unknown optional arch=any
|
||||
Checksums-Sha1:
|
||||
626c500200d9837b475f61a2563a647e785a9ccf 1664 dbgsym-with-source-version_2021.01.tar.xz
|
||||
Checksums-Sha256:
|
||||
00e1915300d0996056867b66d2cfc608e3839febb9feb596fe940f99ced632b0 1664 dbgsym-with-source-version_2021.01.tar.xz
|
||||
Files:
|
||||
5f50d8d87421226d33536471d294140e 1664 dbgsym-with-source-version_2021.01.tar.xz
|
||||
Reference in New Issue
Block a user