rename release macro to make rpmdev-bumprelease work

This commit is contained in:
Mamoru TASAKA 2023-03-13 10:36:40 +09:00
parent 60348c9329
commit a21d562ba0

View File

@ -3,7 +3,7 @@
%global rpmminorver .%(echo %preminorver | sed -e 's|^\\.\\.*||')
%global fullver %{majorver}%{?preminorver}
%global fedorarel 2
%global baserelease 2
%global gem_name rspec-mocks
@ -14,7 +14,7 @@
Summary: RSpec's 'test double' framework (mocks and stubs)
Name: rubygem-%{gem_name}
Version: %{majorver}
Release: %{?preminorver:0.}%{fedorarel}%{?preminorver:%{rpmminorver}}%{?dist}
Release: %{?preminorver:0.}%{baserelease}%{?preminorver:%{rpmminorver}}%{?dist}
License: MIT
URL: http://github.com/rspec/rspec-mocks