From 19e4fe1db175acf3ac490f0d6984c1ab8a7aa318 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Thu, 1 Dec 2022 10:08:49 -0500 Subject: [PATCH] Use macros to reduce repetition --- double-conversion.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/double-conversion.spec b/double-conversion.spec index dcff7e4..80f9b5c 100644 --- a/double-conversion.spec +++ b/double-conversion.spec @@ -3,8 +3,8 @@ Name: double-conversion Version: 3.1.5 Release: 10%{?dist} License: BSD -Source0: https://github.com/google/double-conversion/archive/v%{version}/%{name}-%{version}.tar.gz URL: https://github.com/google/double-conversion +Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz BuildRequires: gcc BuildRequires: gcc-c++ BuildRequires: cmake @@ -16,7 +16,7 @@ extracted from the V8 JavaScript engine. The code has been re-factored and improved so that it can be used more easily in other projects. %package devel -Summary: Library providing binary-decimal and decimal-binary routines for IEEE doubles +Summary: %{summary} Requires: %{name}%{?_isa} = %{version}-%{release} Obsoletes: %{name}-static < 3.1.5-10