From 18074ca92c7b1170b6103e6f520e23cf829b5878 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Wed, 20 Apr 2022 13:59:37 -0400 Subject: [PATCH] =?UTF-8?q?Drop=20=E2=80=9Cforge=E2=80=9D=20macros,=20whic?= =?UTF-8?q?h=20aren=E2=80=99t=20really=20doing=20much=20here?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- llhttp.spec | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) 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.