diff --git a/llhttp.spec b/llhttp.spec index d160f73..40ee0e1 100644 --- a/llhttp.spec +++ b/llhttp.spec @@ -32,10 +32,8 @@ Summary: Port of http_parser to llparse # installed, so its contents do not contribute to the license of the binary # RPMs, and we do not need a file llhttp-%%{version}-bundled-licenses.txt. License: MIT -%global forgeurl https://github.com/nodejs/llhttp -%forgemeta -URL: %{forgeurl} -Source0: %{forgesource} +URL: https://github.com/nodejs/llhttp +Source0: %{url}/archive/v%{version}/llhttp-%{version}.tar.gz # Based closely on nodejs-packaging-bundler, except: # @@ -92,7 +90,7 @@ developing applications that use llhttp. %prep -%forgeautosetup +%autosetup # Set up bundled (dev) node modules required to generate the C sources from the # TypeScript sources.