Billy,
Thanks, but I prefer not, packages avoid breaking a good system.
Anyways the issue seems to be with the rpm package.
My Guess is the problem is I the spec file.
From which repository are you installing this package? Fedora 37 is not yet available in the official packages hosted on build.opensuse.org (OBS does not support it yet).
Then it does install the proper version (FC37), but the problem is stil there.
My guess is it was tested for Suse, and something wrong in the RPM , still.
Andre
There is a Conflicts: crystal line which is a likely cause for this.
IIRC, the idea was to express that this package conflicts with other packages that provide crystal as well (say crystal1.4 for example). But apparently, it doesn’t work like this? Well it works at least partially because the conflict does not prevent you from installing the package itself but it pevents from installing other packages such as crystal1.4.
Installed Packages
Name : crystal
Version : 1.6.1
Release : 1.9
Architecture : x86_64
Size : 116 M
Source : crystal-1.6.1-1.9.src.rpm
Repository : @System
From repo : crystal
Summary : A programming language for humans and computers
URL : https://github.com/crystal-lang/crystal
License : ASL 2.0
Description : Crystal is a general-purpose, object-oriented programming language.
: With syntax inspired by Ruby, it is a compiled language with static type-checking,
: serving both, humans and computers.