Skip to content

Commit 0a14c4e

Browse files
authored
Upgrades lua-lunitx to version 0.8.1 (#13629)
1 parent 2a6d8d2 commit 0a14c4e

7 files changed

Lines changed: 94 additions & 129 deletions

File tree

LICENSES-AND-NOTICES/SPECS/LICENSES-MAP.md

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

LICENSES-AND-NOTICES/SPECS/data/licenses.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -861,7 +861,7 @@
861861
"lua-filesystem",
862862
"lua-json",
863863
"lua-lpeg",
864-
"lua-lunit",
864+
"lua-lunitx",
865865
"lua-rpm-macros",
866866
"lua-term",
867867
"luajit",

SPECS-EXTENDED/lua-lunit/lua-lunit.signatures.json

Lines changed: 0 additions & 5 deletions
This file was deleted.

SPECS-EXTENDED/lua-lunit/lua-lunit.spec

Lines changed: 0 additions & 119 deletions
This file was deleted.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"Signatures": {
3+
"lunitx-0.8.1.tar.gz": "e571ff01cb8f8f77dceeb098359bc5d7f5b4b696023e3b9d5ee1b4c3d986ac32"
4+
}
5+
}
Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
Name: lua-lunitx
2+
Version: 0.8.1
3+
Release: 12%{?dist}
4+
Summary: Unit testing framework for Lua
5+
6+
License: MIT
7+
Vendor: Microsoft Corporation
8+
Distribution: Azure Linux
9+
URL: https://github.com/dcurrie/lunit/
10+
Source0: https://github.com/dcurrie/lunit/archive/%{version}.tar.gz#/lunitx-%{version}.tar.gz
11+
12+
# for running tests
13+
# also, macros are in lua-devel
14+
BuildRequires: lua-devel >= 5.2
15+
16+
BuildArch: noarch
17+
18+
Provides: lua-lunit = %{version}-%{release}
19+
Obsoletes: lua-lunit < %{version}-%{release}
20+
21+
%description
22+
This is lunitx Version 0.8.1, an extended version of Lunit
23+
for Lua 5.2, 5.3, and 5.4.
24+
25+
Lunit is a unit testing framework for lua.
26+
27+
%prep
28+
%autosetup -n lunit-%{version}
29+
30+
%install
31+
mkdir -p %{buildroot}%{_bindir}
32+
cp -p extra/lunit.sh %{buildroot}%{_bindir}/lunit
33+
34+
mkdir -p %{buildroot}%{lua_pkgdir}
35+
cp -pr lua/* %{buildroot}%{lua_pkgdir}
36+
37+
%check
38+
# for self test, without --dontforce lunit will try to load its launcher which is a shell script
39+
LUA_PATH='%{buildroot}%{lua_pkgdir}/?.lua;;' %{buildroot}%{_bindir}/lunit --dontforce test/selftest.lua
40+
41+
%files
42+
%license LICENSE
43+
%doc ANNOUNCE CHANGES DOCUMENTATION examples README*
44+
%{_bindir}/lunit
45+
%{lua_pkgdir}/*
46+
47+
%changelog
48+
* Mon Apr 29 2025 Aninda Pradhan <v-anipradhan@microsoft.com> - 0.8.1-12
49+
- Initial Azure Linux import from Fedora 41 (license: MIT)
50+
- License Verified
51+
52+
* Thu Jul 18 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.1-11
53+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
54+
55+
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.1-10
56+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
57+
58+
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.1-9
59+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
60+
61+
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.1-8
62+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
63+
64+
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.1-7
65+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
66+
67+
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.1-6
68+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
69+
70+
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.1-5
71+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
72+
73+
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.1-4
74+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
75+
76+
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.1-3
77+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
78+
79+
* Thu Aug 27 2020 Michel Alexandre Salim <salimma@fedoraproject.org> - 0.8.1-2
80+
- Use standard Lua macros
81+
82+
* Tue Aug 25 2020 Michel Alexandre Salim <salimma@fedoraproject.org> - 0.8.1-1
83+
- Initial Fedora package (replacing lua-lunit)
84+

cgmanifest.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12570,9 +12570,9 @@
1257012570
"component": {
1257112571
"type": "other",
1257212572
"other": {
12573-
"name": "lua-lunit",
12574-
"version": "0.5",
12575-
"downloadUrl": "https://github.com/mrothNET/lunit/archive/refs/tags/lunit-0.5.tar.gz"
12573+
"name": "lua-lunitx",
12574+
"version": "0.8.1",
12575+
"downloadUrl": "https://github.com/dcurrie/lunit/archive/0.8.1.tar.gz"
1257612576
}
1257712577
}
1257812578
},

0 commit comments

Comments
 (0)