Skip to content

Commit

Permalink
Merge c6e4f5b into 1714150
Browse files Browse the repository at this point in the history
  • Loading branch information
lslezak committed Aug 17, 2021
2 parents 1714150 + c6e4f5b commit 8af8565
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 1 deletion.
10 changes: 10 additions & 0 deletions package/yast2-packager.changes
@@ -1,3 +1,13 @@
-------------------------------------------------------------------
Tue Aug 17 15:18:07 UTC 2021 - Ladislav Slezák <lslezak@suse.cz>

- Fixed evaluating module dependencies on the SLE Full medium
- Ignore soft dependencies (Recommends), use only hard
dependencies (Requires)
- Do not select "Python2" module for "Workstation Extensions"
(bsc#1188633)
- 4.4.8

-------------------------------------------------------------------
Thu Aug 12 13:28:52 UTC 2021 - Ladislav Slezák <lslezak@suse.cz>

Expand Down
2 changes: 1 addition & 1 deletion package/yast2-packager.spec
Expand Up @@ -17,7 +17,7 @@


Name: yast2-packager
Version: 4.4.7
Version: 4.4.8
Release: 0
Summary: YaST2 - Package Library
License: GPL-2.0-or-later
Expand Down
3 changes: 3 additions & 0 deletions src/lib/y2packager/product_finder.rb
Expand Up @@ -184,6 +184,9 @@ def find_dependencies(product_solvable, selected_base)
jobs = select_products(product_solvable, selected_base)
solver = pool.Solver

# disable soft dependencies (Recommends), use only the hard dependencies (Requires)
solver.set_flag(Solv::Solver::SOLVER_FLAG_IGNORE_RECOMMENDED, 1)

# run the solver to evaluate all dependencies
problems = solver.solve(jobs)

Expand Down

0 comments on commit 8af8565

Please sign in to comment.