diff --git a/dkjson.tar.gz b/dkjson.tar.gz index 346b6a1..ecb09c9 100644 --- a/dkjson.tar.gz +++ b/dkjson.tar.gz @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:10e20443c3035284def68425170f42fdd30d4db52704138e18014ba2466a6d20 -size 15883 +oid sha256:dd7f3eb7120df085c205451a3e7faa7de8e61ff8dcb432322583d9133a8af118 +size 15891 diff --git a/lua-dkjson.spec b/lua-dkjson.spec index 2cd0069..64c328f 100644 --- a/lua-dkjson.spec +++ b/lua-dkjson.spec @@ -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