Skip to content

Commit

Permalink
less strict nokogiri dependency (#1534)
Browse files Browse the repository at this point in the history
## Problem

TW has nokogiri 1.16 and SLFO has 1.15. Due to our strict dependencies
we cannot build against both.


## Solution

nokogiri follows semver, so it should be safe to depends only on minor
version and not on patch level.
  • Loading branch information
ancorgs authored Aug 12, 2024
2 parents 2999b4c + 64fe878 commit e8579a9
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
4 changes: 2 additions & 2 deletions service/Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
PATH
remote: .
specs:
agama-yast (9)
agama-yast (9.devel505)
cfa (~> 1.0.2)
cfa_grub2 (~> 2.0.0)
cheetah (~> 1.0.0)
eventmachine (~> 1.2.7)
fast_gettext (~> 2.3.0)
nokogiri (~> 1.16.6)
nokogiri (~> 1.15)
rexml (~> 3.2.5)
ruby-dbus (>= 0.23.1, < 1.0)

Expand Down
2 changes: 1 addition & 1 deletion service/agama-yast.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ Gem::Specification.new do |spec|
spec.add_dependency "cheetah", "~> 1.0.0"
spec.add_dependency "eventmachine", "~> 1.2.7"
spec.add_dependency "fast_gettext", "~> 2.3.0"
spec.add_dependency "nokogiri", "~> 1.16.6"
spec.add_dependency "nokogiri", "~> 1.15"
spec.add_dependency "rexml", "~> 3.2.5"
spec.add_dependency "ruby-dbus", ">= 0.23.1", "< 1.0"
end
6 changes: 6 additions & 0 deletions service/package/rubygem-agama-yast.changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Aug 12 11:44:15 UTC 2024 - Josef Reidinger <jreidinger@suse.com>

- Less strict nokogiri dependency as nokogiri follows semver, so do
not depend on patch level (gh#openSUSE/agama#1534).

-------------------------------------------------------------------
Thu Aug 1 13:57:51 UTC 2024 - Imobach Gonzalez Sosa <igonzalezsosa@suse.com>

Expand Down

0 comments on commit e8579a9

Please sign in to comment.