Skip to content

Commit 9271020

Browse files
author
u
committed
update
1 parent 0150e9f commit 9271020

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

lua2pack/templates/generic.spec

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
1+
%define luarocks_pkg_name {{ package }}
2+
%define luarocks_pkg_version {{ version }}
13
%{?!luadist:%define luadist(-) lua}
24
{%- if not sourcerock %}
35
Source1: {{ rockspec }}
46
%define luarocks_rockspec_file %{SOURCE1}
57
{%- endif %}
68
Name: {{ name }}
79
Version: %{?luarocks_pkg_major}%{?!luarocks_pkg_major:0}
8-
Release: %{?luarocks_pkg_minor}%{?!luarocks_pkg_minor:0}
10+
Release: %{?luarocks_pkg_minor}%{?!luarocks_pkg_minor:0}%{?autorelease}
911
Summary: {{ description.summary or 'FIXME: Summary is missing' }}
1012
Url: {{ description.homepage or 'https://fix.me/homepage/is/missing' }}
1113
License: {{ description.license or 'FIXME: License is missing' }}

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
name="lua2pack",
55
package_data={'': ['lua2pack/templates/*']},
66
include_package_data=True,
7-
version="1.0.12",
7+
version="1.0.13",
88
description = "Generate RPM or DSC spec files from luarocks",
99
summary = "This utility is used for generating files of specific template from luarocks",
1010
license = "GPLv3",

0 commit comments

Comments
 (0)