Skip to content

Commit 8214210

Browse files
committed
Setup tagged rockspec output to be v1 format compatible
1 parent cca7cec commit 8214210

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

Makefile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,12 @@ rockspecs/$(PACKAGE)-%-0.rockspec: SEMVER = $*
5151
rockspecs/$(PACKAGE)-%-0.rockspec: TAG = v$*
5252
rockspecs/$(PACKAGE)-%-0.rockspec: $(PACKAGE).rockspec.in
5353
$(rockpec_template)
54+
sed -i \
55+
-e '/rockspec-format/s/3.0/1.0/' \
56+
-e '/url = "git/a\ dir = "fluent.lua",' \
57+
-e '/issues_url/d' \
58+
-e '/maintainer/d' \
59+
$@
5460

5561
$(PACKAGE)-dev-0.src.rock: $(SCM_ROCK)
5662
luarocks $(LUAROCKS_ARGS) pack $<

fluent.rockspec.in

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,8 @@ source = {
99

1010
description = {
1111
summary = "Lua implementation of Project Fluent",
12-
detailed = [[
13-
A Lua port of Project Fluent, a localization paradigm designed to unleash
14-
the entire expressive power of natural language translations.
15-
]],
12+
detailed = [[A Lua port of Project Fluent, a localization paradigm designed to unleash
13+
the entire expressive power of natural language translations.]],
1614
license = "MIT",
1715
homepage = "https://github.com/alerque/fluent-lua",
1816
issues_url = "https://github.com/alerque/fluent-lua/issues",
@@ -21,7 +19,7 @@ description = {
2119
}
2220

2321
dependencies = {
24-
"lua",
22+
"lua >= 5.1",
2523
"cldr",
2624
"luaepnf",
2725
"penlight"

0 commit comments

Comments
 (0)