forked from pool/lua-alt-getopt
Accepting request 873462 from home:gmbr3:Lua
upd OBS-URL: https://build.opensuse.org/request/show/873462 OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-alt-getopt?expand=0&rev=6
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 18 15:48:01 UTC 2021 - Callum Farmer <gmbr3@opensuse.org>
|
||||
|
||||
- Use %lua_provides macro for default lua versioning
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 6 19:01:42 UTC 2020 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
|
@@ -17,7 +17,8 @@
|
||||
|
||||
|
||||
%define flavor @BUILD_FLAVOR@
|
||||
%define mod_name lua-alt-getopt
|
||||
%define mod_name alt-getopt
|
||||
%define rname lua-alt-getopt
|
||||
%define upversion 0.8.0
|
||||
Version: 0.8.1
|
||||
Release: 0
|
||||
@@ -25,15 +26,16 @@ Summary: Process application arguments the same way as getopt_long
|
||||
License: MIT
|
||||
Group: Development/Libraries/Other
|
||||
URL: https://github.com/cheusov/lua-alt-getopt
|
||||
Source: https://github.com/cheusov/%{mod_name}/archive/%{upversion}.tar.gz#/%{mod_name}-%{upversion}.tar.gz
|
||||
Source: https://github.com/cheusov/%{rname}/archive/%{upversion}.tar.gz#/%{rname}-%{upversion}.tar.gz
|
||||
BuildRequires: %{flavor}-devel
|
||||
Requires: %{flavor}
|
||||
BuildArch: noarch
|
||||
%lua_provides
|
||||
%if "%{flavor}" == ""
|
||||
Name: lua-alt-getopt
|
||||
Name: lua-%{mod_name}
|
||||
ExclusiveArch: do_not_build
|
||||
%else
|
||||
Name: %{flavor}-alt-getopt
|
||||
Name: %{flavor}-%{mod_name}
|
||||
%endif
|
||||
|
||||
%description
|
||||
@@ -43,7 +45,7 @@ getopt_long(3) functions do. The main goal is compatibility
|
||||
with SUS "Utility Syntax Guidelines" guidelines 3-13.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{mod_name}-%{upversion}
|
||||
%setup -q -n %{rname}-%{upversion}
|
||||
|
||||
%build
|
||||
/bin/true
|
||||
|
Reference in New Issue
Block a user