Skip to content

Commit

Permalink
Using ":" in the autoyast(...) supplements (bsc#1146494).
Browse files Browse the repository at this point in the history
  • Loading branch information
schubi2 committed Sep 8, 2020
1 parent 95315a1 commit e3ce764
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
6 changes: 6 additions & 0 deletions package/autoyast2.changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Sep 8 09:07:40 CEST 2020 - schubi@suse.de

- Using ":" in the autoyast(...) supplements (bsc#1146494).
- 4.3.45

-------------------------------------------------------------------
Mon Sep 7 07:58:56 UTC 2020 - Knut Anderssen <kanderssen@suse.com>

Expand Down
4 changes: 2 additions & 2 deletions package/autoyast2.spec
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
%endif

Name: autoyast2
Version: 4.3.44
Version: 4.3.45
Release: 0
Summary: YaST2 - Automated Installation
License: GPL-2.0-only
Expand Down Expand Up @@ -137,7 +137,7 @@ Requires: yast2-ruby-bindings >= 1.0.0
Provides: yast2-trans-autoinst
Obsoletes: yast2-trans-autoinst

Supplements: autoyast(files,general,report,scripts,partitioning,software)
Supplements: autoyast(files:general:report:scripts:partitioning:software)

%description installation
This package performs auto-installation relying on a control file
Expand Down
2 changes: 1 addition & 1 deletion src/lib/autoinstall/package_searcher.rb
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def evaluate_via_rpm
next if !dep["supplements"] ||
!dep["supplements"].match(/^autoyast\((.*)\)/)

suppl_sections = Regexp.last_match(1).split(",")
suppl_sections = Regexp.last_match(1).split(":")
suppl_sections.each do |sup_section|
next unless sup_section == section

Expand Down

0 comments on commit e3ce764

Please sign in to comment.