slackbuilds/office/timetrap/remove_hardcoded_versions.diff

44 lines
2.4 KiB
Diff

diff -Naur package-timetrap.orig/usr/lib64/ruby/gems/3.0.0/gems/timetrap-1.15.2/timetrap.gemspec package-timetrap/usr/lib64/ruby/gems/3.0.0/gems/timetrap-1.15.2/timetrap.gemspec
--- package-timetrap.orig/usr/lib64/ruby/gems/3.0.0/gems/timetrap-1.15.2/timetrap.gemspec 2022-03-03 12:47:47.581366263 -0500
+++ package-timetrap/usr/lib64/ruby/gems/3.0.0/gems/timetrap-1.15.2/timetrap.gemspec 2022-03-03 12:49:43.847293432 -0500
@@ -25,8 +25,8 @@
# More recent versions of icalendar drop support for Ruby 1.8.7
spec.add_development_dependency "icalendar", "~> 1.3.0"
spec.add_development_dependency "json", "~> 2.3"
- spec.add_dependency "sequel", "~> 5.30.0"
- spec.add_dependency "sqlite3", "~> 1.4.2"
+ spec.add_dependency "sequel"
+ spec.add_dependency "sqlite3"
- spec.add_dependency "chronic", "~> 0.10.2"
+ spec.add_dependency "chronic"
end
diff -Naur package-timetrap.orig/usr/lib64/ruby/gems/3.0.0/specifications/timetrap-1.15.2.gemspec package-timetrap/usr/lib64/ruby/gems/3.0.0/specifications/timetrap-1.15.2.gemspec
--- package-timetrap.orig/usr/lib64/ruby/gems/3.0.0/specifications/timetrap-1.15.2.gemspec 2022-03-03 12:47:47.618366877 -0500
+++ package-timetrap/usr/lib64/ruby/gems/3.0.0/specifications/timetrap-1.15.2.gemspec 2022-03-03 12:54:37.636163127 -0500
@@ -31,9 +31,9 @@
s.add_development_dependency(%q<fakefs>.freeze, ["~> 0.20"])
s.add_development_dependency(%q<icalendar>.freeze, ["~> 1.3.0"])
s.add_development_dependency(%q<json>.freeze, ["~> 2.3"])
- s.add_runtime_dependency(%q<sequel>.freeze, ["~> 5.30.0"])
- s.add_runtime_dependency(%q<sqlite3>.freeze, ["~> 1.4.2"])
- s.add_runtime_dependency(%q<chronic>.freeze, ["~> 0.10.2"])
+ s.add_runtime_dependency(%q<sequel>)
+ s.add_runtime_dependency(%q<sqlite3>)
+ s.add_runtime_dependency(%q<chronic>)
else
s.add_dependency(%q<bundler>.freeze, ["~> 2.1"])
s.add_dependency(%q<rake>.freeze, ["~> 13.0"])
@@ -41,8 +41,8 @@
s.add_dependency(%q<fakefs>.freeze, ["~> 0.20"])
s.add_dependency(%q<icalendar>.freeze, ["~> 1.3.0"])
s.add_dependency(%q<json>.freeze, ["~> 2.3"])
- s.add_dependency(%q<sequel>.freeze, ["~> 5.30.0"])
- s.add_dependency(%q<sqlite3>.freeze, ["~> 1.4.2"])
- s.add_dependency(%q<chronic>.freeze, ["~> 0.10.2"])
+ s.add_dependency(%q<sequel>)
+ s.add_dependency(%q<sqlite3>)
+ s.add_dependency(%q<chronic>)
end
end