From c83119a48bec43180f84ca3e44fd8c13c1888fce Mon Sep 17 00:00:00 2001 From: Mamoru TASAKA Date: Fri, 24 Mar 2023 16:28:45 +0900 Subject: [PATCH] use baserelease --- rubygem-nokogiri.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rubygem-nokogiri.spec b/rubygem-nokogiri.spec index 8b8360a..3db8299 100644 --- a/rubygem-nokogiri.spec +++ b/rubygem-nokogiri.spec @@ -1,7 +1,7 @@ %global mainver 1.14.2 #%%global prever .rc4 -%global mainrel 1 +%global baserelease 1 %global prerpmver %(echo "%{?prever}" | sed -e 's|\\.||g') %global gem_name nokogiri @@ -11,7 +11,7 @@ Summary: An HTML, XML, SAX, and Reader parser Name: rubygem-%{gem_name} Version: %{mainver} -Release: %{?prever:0.}%{mainrel}%{?prever:.%{prerpmver}}%{?dist} +Release: %{?prever:0.}%{baserelease}%{?prever:.%{prerpmver}}%{?dist} # SPDX confirmed # MIT: see LICENSE.md