Actually download tarball directly from URL
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-dkjson?expand=0&rev=2
This commit is contained in:
parent
5b0aa1f2df
commit
3c770ac02d
@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:10e20443c3035284def68425170f42fdd30d4db52704138e18014ba2466a6d20
|
||||
size 15883
|
||||
oid sha256:dd7f3eb7120df085c205451a3e7faa7de8e61ff8dcb432322583d9133a8af118
|
||||
size 15891
|
||||
|
@ -17,7 +17,6 @@
|
||||
|
||||
|
||||
%define flavor @BUILD_FLAVOR@
|
||||
# %%define flavor lua51
|
||||
%define mod_name dkjson
|
||||
%define uptag release_2_5
|
||||
Version: 2.5.2
|
||||
@ -26,8 +25,7 @@ Summary: A feature-rich command-line argument parser
|
||||
License: MIT
|
||||
Group: Development/Libraries/Other
|
||||
Url: http://dkjson.org/
|
||||
# Source: http://dkolf.de/src/dkjson-lua.fsl/tarball/dkjson.tar.gz?r=%%{uptag}
|
||||
Source: dkjson.tar.gz
|
||||
Source: http://dkolf.de/src/dkjson-lua.fsl/tarball/%{uptag}/dkjson.tar.gz
|
||||
BuildRequires: %{flavor}-devel
|
||||
BuildArch: noarch
|
||||
Requires: %{flavor}
|
||||
@ -44,15 +42,14 @@ Argparse supports positional arguments, options, flags, optional
|
||||
arguments, subcommands and more. Argparse automatically generates usage,
|
||||
help, and error messages, and can generate shell completion scripts.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n %{mod_name}
|
||||
%setup -q -n %{uptag}/%{mod_name}
|
||||
|
||||
%build
|
||||
/bin/true
|
||||
|
||||
%install
|
||||
install -v -D -m 0644 -t %{buildroot}%{lua_noarchdir} -p dkjson.lua
|
||||
install -D -m 0644 -t %{buildroot}%{lua_noarchdir} -p dkjson.lua
|
||||
|
||||
%check
|
||||
lua%{lua_version} speedtest.lua dkjson
|
||||
|
Loading…
Reference in New Issue
Block a user