We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 95bb581 commit 13f8f6aCopy full SHA for 13f8f6a
1 file changed
lua2pack/templates/generic.spec
@@ -4,8 +4,8 @@
4
Source1: {{ rockspec }}
5
%define luarocks_rockspec_file %{SOURCE1}
6
Name: {{ name }}
7
-Version: %{?luarocks_pkg_major}%{?!luarocks_pkg_major:0}
8
-Release: %{?luarocks_pkg_minor}%{?!luarocks_pkg_minor:0}%{?autorelease}
+Version: {{ major }}
+Release: {{ minor }}%{?autorelease}
9
Summary: {{ description.summary or 'FIXME: Summary is missing' }}
10
Url: {{ description.homepage or 'https://fix.me/homepage/is/missing' }}
11
License: {{ description.license or 'FIXME: License is missing' }}
0 commit comments