diff --git a/make-arrow-function-1.1.0.tar.gz b/make-arrow-function-1.1.0.tar.gz deleted file mode 100644 index 96c3c0e..0000000 Binary files a/make-arrow-function-1.1.0.tar.gz and /dev/null differ diff --git a/nodejs-make-arrow-function.spec b/nodejs-make-arrow-function.spec index c0d0b5d..a51b3b6 100644 --- a/nodejs-make-arrow-function.spec +++ b/nodejs-make-arrow-function.spec @@ -5,8 +5,7 @@ Release: 1 Summary: Function that returns an arbitrary arrow function License: MIT URL: https://github.com/ljharb/make-arrow-function -#wget https://registry.npmjs.org/make-arrow-function/-/make-arrow-function-%{version}.tgz mv make-arrow-function-%{version}.tgz make-arrow-function-%{version}.tar.gz -Source0: make-arrow-function-%{version}.tar.gz +Source0: https://github.com/ljharb/make-arrow-function/archive/v%{version}.tar.gz # https://github.com/ljharb/make-arrow-function/pull/1 Source1: nodejs-make-arrow-function-license.txt # https://github.com/ljharb/make-arrow-function/commit/cab9a8347a302432e8b01474830c5ea81499ba09 @@ -20,7 +19,7 @@ Function that returns an arbitrary arrow function, or undefined if arrow function syntax is unsupported. %prep -%autosetup -p 1 -n package +%autosetup -n make-arrow-function-%{version} -S git cp %{SOURCE1} LICENSE rm -rf node_modules diff --git a/v1.1.0.tar.gz b/v1.1.0.tar.gz new file mode 100644 index 0000000..ffce42e Binary files /dev/null and b/v1.1.0.tar.gz differ