Commit 4af36ba
committed
fix: respect update_before_build=False during builddep (issue#1420)
dnf5 builddep upgrades already-installed packages even when
update_before_build is disabled. Work around this by excluding all
installed package names from repo lookups during dependency installation,
so only genuinely missing packages are pulled in.
Fixes: #1420
Assisted-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 5182969 commit 4af36ba
2 files changed
Lines changed: 27 additions & 2 deletions
File tree
- mock/py/mockbuild
- releng/release-notes-next
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
193 | 193 | | |
194 | 194 | | |
195 | 195 | | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
196 | 214 | | |
197 | 215 | | |
198 | 216 | | |
199 | 217 | | |
200 | 218 | | |
201 | 219 | | |
| 220 | + | |
| 221 | + | |
202 | 222 | | |
203 | 223 | | |
204 | | - | |
| 224 | + | |
205 | 225 | | |
206 | 226 | | |
207 | | - | |
| 227 | + | |
208 | 228 | | |
209 | 229 | | |
210 | 230 | | |
| |||
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
0 commit comments