We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fe5e80c commit 1f5fb61Copy full SHA for 1f5fb61
fedora/crystal.spec
@@ -1,5 +1,5 @@
1
Name: crystal
2
-Version: %{getenv:crystal_version}
+Version: %(echo %{getenv:crystal_version} | tr '-' '.')
3
Release: %{getenv:pkg_revision}%{?dist}
4
Summary: A general-purpose, object-oriented programming language
5
License: Apache-2.0
@@ -29,7 +29,7 @@ Crystal is a programming language with the following goals:
29
- Compile to efficient native code
30
31
%prep
32
-%setup -q -b 1
+%setup -q -n crystal-%{getenv:crystal_version} -b 1
33
34
%build
35
# Build Crystal
0 commit comments