SHA256
12
0
forked from pool/lua-cliargs

Accepting request 875430 from devel:languages:lua

OBS-URL: https://build.opensuse.org/request/show/875430
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lua-cliargs?expand=0&rev=4
This commit is contained in:
Dominique Leuenberger 2021-02-26 21:02:11 +00:00 committed by Git OBS Bridge
commit 2382307de1
2 changed files with 9 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Feb 26 11:03:28 UTC 2021 - Callum Farmer <gmbr3@opensuse.org>
- Fix lua naming
-------------------------------------------------------------------
Thu Feb 11 09:52:51 UTC 2021 - Dominique Leuenberger <dimstar@opensuse.org>

View File

@ -17,7 +17,8 @@
%define flavor @BUILD_FLAVOR@
%define mod_name lua_cliargs
%define mod_name luacliargs
%define rname lua_cliargs
%define upversion 3.0-2
Version: 3.02
Release: 0
@ -25,7 +26,7 @@ Summary: Command-line argument parsing module for Lua
License: MIT
Group: Development/Libraries/Other
URL: https://github.com/amireh/lua_cliargs
Source: https://github.com/amireh/lua_cliargs/archive/v%{upversion}.tar.gz#/%{mod_name}-%{upversion}.tar.gz
Source: https://github.com/amireh/lua_cliargs/archive/v%{upversion}.tar.gz#/%{rname}-%{upversion}.tar.gz
BuildRequires: %{flavor}-devel
Requires: %{flavor}
BuildArch: noarch
@ -44,7 +45,7 @@ notations and argument types.
cliargs allows you to define required, optional, and flag arguments.
%prep
%setup -q -n %{mod_name}-%{upversion}
%setup -q -n %{rname}-%{upversion}
%build
/bin/true