diff options
author | Michel Alexandre Salim <salimma@fedoraproject.org> | 2020-08-27 17:30:23 -0700 |
---|---|---|
committer | Michel Alexandre Salim <salimma@fedoraproject.org> | 2020-08-27 17:30:23 -0700 |
commit | 33ce30d596feae1852da32a341345b8b3e4b11fa (patch) | |
tree | 1572488dac03284eb73d90d2a528792284b95dbf /lua | |
parent | 32e0fe754d024f60269aea13cfbf874593abf1dd (diff) | |
download | specs-33ce30d596feae1852da32a341345b8b3e4b11fa.tar.gz specs-33ce30d596feae1852da32a341345b8b3e4b11fa.tar.xz specs-33ce30d596feae1852da32a341345b8b3e4b11fa.zip |
- lua-lunitx (reviewed)
Diffstat (limited to 'lua')
-rw-r--r-- | lua/lua-lunitx.spec | 55 |
1 files changed, 0 insertions, 55 deletions
diff --git a/lua/lua-lunitx.spec b/lua/lua-lunitx.spec deleted file mode 100644 index 8738421..0000000 --- a/lua/lua-lunitx.spec +++ /dev/null @@ -1,55 +0,0 @@ -Name: lua-lunitx -Version: 0.8.1 -Release: 2%{?dist} -Summary: Unit testing framework for Lua - -License: MIT -URL: https://github.com/dcurrie/lunit/ -Source0: https://github.com/dcurrie/lunit/archive/%{version}.tar.gz#/lunitx-%{version}.tar.gz - -# for running tests -# also, macros are in lua-devel -BuildRequires: lua-devel >= 5.2 - -BuildArch: noarch - -Provides: lua-lunit = %{version}-%{release} -Obsoletes: lua-lunit <= 0.5-18 - -%description -This is lunitx Version 0.8.1, an extended version of Lunit -for Lua 5.2, 5.3, and 5.4. - -Lunit is a unit testing framework for lua. - - -%prep -%autosetup -n lunit-%{version} - - -%install -mkdir -p %{buildroot}%{_bindir} -cp -p extra/lunit.sh %{buildroot}%{_bindir}/lunit - -mkdir -p %{buildroot}%{lua_pkgdir} -cp -pr lua/* %{buildroot}%{lua_pkgdir} - - -%check -# for self test, without --dontforce lunit will try to load its launcher which is a shell script -LUA_PATH='%{buildroot}%{lua_pkgdir}/?.lua;;' %{buildroot}%{_bindir}/lunit --dontforce test/selftest.lua - - -%files -%license LICENSE -%doc ANNOUNCE CHANGES DOCUMENTATION examples README* -%{_bindir}/lunit -%{lua_pkgdir}/* - - -%changelog -* Thu Aug 27 2020 Michel Alexandre Salim <salimma@fedoraproject.org> - 0.8.1-2 -- Use standard Lua macros - -* Tue Aug 25 2020 Michel Alexandre Salim <salimma@fedoraproject.org> - 0.8.1-1 -- Initial Fedora package (replacing lua-lunit) |