Ruby 2.2
by Vít Ondruch
Hi everybody,
Since Ruby 2.2 is going to be released during Christmas and -preview1
release is imminent (this Wednesday?), it is probably time to start
looking into its packaging. So here is the updated .spec file [1] and
scratch build [2], which can be finally build on all platforms. Sorry,
no Copr for you, since Ruby's build fails there due to old RHEL kernel :/.
What has changed from packaging point of view? Luckily, not much, but
here are a few bullets which comes to my mind:
* RPM 4.12 introduces new %load function, which is used to load RPM
macros during RPM build. This allowed to drop my custom RPM macro [3].
On the other hand, you'll be able to build the Ruby only on F21+
(luckily, you should be able to build SRPM everywhere).
* The RubyGems filesystem was not explicit enough, so there might be
something accidentally packages. This is now more explicit, so we should
be safer.
* Ruby now ships with MiniTest and Test::Unit. The very good news is
that they are installed so far as a regular gems. This means that you
have to always specify them in your Gemfile, if you are using Bundler,
but this is generally step in good direction. I hope that upstream will
not change their mind :) Due to this change, we have new subpackages
rubygem-test-unit (and rubygem-power_assert, which is now Test::Unit's
dependency). No more %{_bindir}/testrb (but nobody is using it these
days anyway, right? ;)
* Some prevailing test failures were resolved, some others introduced,
but hopefully they'll get resolved prior stable release.
Generally, I'd say that not much has changed since 2.1, which is good news.
Please test the packaging if you can and let me know about any issues
you encountered.
Also, if you have any other suggestions about Ruby packaging in general,
what we could improve etc, this is probably good time to share. It seems
that OpenSUSE guys are improving their packaging, so you might want to
get some inspiration there [4, 5, 6] ;)
Vít
[1] http://pkgs.fedoraproject.org/cgit/ruby.git/log/?h=private-ruby-2.2
[2] http://koji.fedoraproject.org/koji/taskinfo?taskID=7578843
[3]
http://pkgs.fedoraproject.org/cgit/ruby.git/commit/?h=private-ruby-2.2&id...
[4] https://build.opensuse.org/package/show/home:darix:ruby/ruby-common
[5] https://build.opensuse.org/package/show/home:darix:ruby/ruby2.2
[6] https://github.com/openSUSE/gem2rpm/commits/master
4 days, 3 hours
SPDX Status for Rubygems in Fedora as of 2023-04-20
by Jarek Prokop
Hi all,
I had missed an update 2 weeks ago due to Easter holiday in Czechia
but I return with a fresh report.
Regards,
Jarek
* Total rubygems in Fedora: 471
* Excluded gems:
rubygem-krb5-auth
rubygem-rgen
rubygem-net-irc
* Total rubygems checked: 466
* Fedora License field and gem2rpm license match and license-validate
succeeds: 288/466
* license-validate says they are OK SPDX, but licenses may or may not
match between Fedora and upstream: 338/466
* license-validate with converted conjunctions: 341/466
* Action required: 128/466
Packages that need to convert to valid SPDX:
rubygem-gem_name, fedora_license
rubygem-allison, AFL
rubygem-ansi, BSD
rubygem-atk, LGPLv2
rubygem-atomic, ASL 2.0
rubygem-aws-sigv4, ASL 2.0
rubygem-bcrypt, MIT and Public Domain and ISC
rubygem-bcrypt_pbkdf, MIT and BSD and ISC
rubygem-between_meals, ASL 2.0
rubygem-boxgrinder-build, LGPLv3+
rubygem-boxgrinder-core, LGPLv3+
rubygem-cairo, GPLv2 or Ruby
rubygem-cairo-gobject, LGPLv2+
rubygem-clutter, LGPLv2+
rubygem-clutter-gdk, LGPLv2+
rubygem-clutter-gstreamer, LGPLv2+
rubygem-clutter-gtk, LGPLv2+
rubygem-colorize, GPLv2
rubygem-contracts, BSD
rubygem-cookiejar, BSD
rubygem-creole, GPLv2 or Ruby
rubygem-daemons, MIT and (GPLv2+ or Ruby)
rubygem-dnsruby, ASL 2.0
rubygem-domain_name, BSD and (MPLv1.1 or GPLv2+ or LGPLv2+)
rubygem-elasticsearch-transport, ASL 2.0
rubygem-escape, BSD
rubygem-eventmachine, GPLv2 or Ruby
rubygem-fattr, BSD or Ruby
rubygem-ffi, BSD
rubygem-file-tail, ASL 2.0
rubygem-gdk3, LGPLv2+
rubygem-gdk_pixbuf2, LGPLv2
rubygem-gem2rpm, GPLv2+
rubygem-gio2, LGPLv2
rubygem-glib2, LGPLv2
rubygem-gobject-introspection, LGPLv2+
rubygem-goocanvas, LGPLv2
rubygem-gstreamer, LGPLv2
rubygem-gtk2, LGPLv2
rubygem-gtk3, LGPLv2+
rubygem-gtksourceview2, LGPLv2
rubygem-gtksourceview3, LGPLv2+
rubygem-haml, MIT and WTFPL
rubygem-hashery, BSD
rubygem-hashicorp-checkpoint, MPLv2.0
rubygem-hiera-vault, ASL 2.0
rubygem-highline, GPLv2 or Ruby or BSD
rubygem-hiredis, BSD
rubygem-hocon, ASL 2.0
rubygem-hpricot, MIT and ASL 2.0
rubygem-hrx, ASL 2.0
rubygem-httpclient, (Ruby or BSD) and Public Domain
rubygem-i18n, MIT and (BSD or Ruby)
rubygem-icaro, GPLv3
rubygem-idn, ASL 2.0 and LGPLv2+
rubygem-image_size, Ruby or GPLv2
rubygem-imagesize, GPLv2 or Ruby
rubygem-json, Ruby or BSD
rubygem-levenshtein, GPLv2
rubygem-locale, GPLv2 or Ruby
rubygem-log4r, LGPLv3
rubygem-logstash-event, ASL 2.0
rubygem-macaddr, Ruby or BSD
rubygem-marcel, MIT and ASL 2.0
rubygem-mixlib-cli, ASL 2.0
rubygem-mixlib-config, ASL 2.0
rubygem-mixlib-log, ASL 2.0
rubygem-mixlib-shellout, ASL 2.0
rubygem-mocha, MIT or Ruby or BSD
rubygem-mongo, ASL 2.0
rubygem-msgpack, ASL 2.0
rubygem-narray, BSD and Ruby
rubygem-native-package-installer,LGPLv3+
rubygem-ncursesw, LGPLv2+
rubygem-net-sftp, MIT or LGPLv2
rubygem-nifti, LGPLv3+
rubygem-nio4r, MIT and (BSD or GPLv2+)
rubygem-open4, BSD or Ruby
rubygem-opennebula, ASL 2.0
rubygem-pango, LGPLv2
rubygem-pathspec, ASL 2.0
rubygem-pdf-core, GPLv2 or GPLv3 or Ruby
rubygem-pdf-inspector, GPLv2 or GPLv3 or Ruby
rubygem-poppler, LGPLv2
rubygem-prawn, (GPLv2 or GPLv3 or Ruby) and APAFML
rubygem-prawn-icon, Ruby or GPLv2 or GPLv3
rubygem-prawn-table, Ruby or GPLv2 or GPLv3
rubygem-prawn-templates, Ruby or GPLv2 or GPLv3
rubygem-protobuf, MIT and BSD
rubygem-rabbit, GPLv2+ and CC-BY
rubygem-rack, MIT and BSD
rubygem-rb-readline, BSD
rubygem-rchardet, LGPLv2
rubygem-rdiscount, ASL 1.1
rubygem-rdoc, GPL-2.0 AND Ruby AND BSD-3-Clause AND
CC-BY-2.5 AND OFL-1.1-RFN
rubygem-rdtool, GPLv2+ or Ruby
rubygem-redcarpet, MIT and ISC
rubygem-rmail, BSD
rubygem-rsvg2, LGPLv2
rubygem-ruby-dbus, LGPLv2+ and MIT
rubygem-ruby-libvirt, LGPLv2+
rubygem-ruby-shadow, Public Domain
rubygem-rubyzip, Ruby or BSD
rubygem-sass-twitter-bootstrap, ASL 2.0
rubygem-sassc-rails, MIT and OFL
rubygem-scanf, BSD
rubygem-selenium-webdriver, ASL 2.0
rubygem-serialport, GPLv2
rubygem-sinatra-rabbit, ASL 2.0
rubygem-stomp, ASL 2.0
rubygem-sugarjar, ASL 2.0
rubygem-sys-uname, ASL 2.0
rubygem-test-unit-notify, LGPLv2+ and (LGPLv2+ or GFDL or CC-BY-SA)
rubygem-test-unit-rr, LGPLv2+
rubygem-thread_safe, ASL 2.0 and Public Domain
rubygem-ttfunk, GPLv2 or GPLv3 or Ruby
rubygem-unf, BSD
rubygem-uuid, MIT or CC-BY-SA
rubygem-vault, MPLv2.0
rubygem-vte, LGPLv2
rubygem-vte3, LGPLv2+
rubygem-webkit2-gtk, LGPLv2+
rubygem-webrick, Ruby and BSD-2-Clause
rubygem-webrobots, BSD
rubygem-websocket-driver, ASL 2.0
rubygem-xmlparser, GPLv2+ and ( Ruby or GPLv2+ or MIT )
and ( GPLv2+ or Artistic )
rubygem-xmlrpc, Ruby or BSD
rubygem-zoom, LGPLv2+
5 months