rename release macro to make rpmdev-bumprelease work
This commit is contained in:
parent
a6622412d5
commit
377e09aede
@ -3,7 +3,7 @@
|
|||||||
%global rpmminorver .%(echo %preminorver | sed -e 's|^\\.\\.*||')
|
%global rpmminorver .%(echo %preminorver | sed -e 's|^\\.\\.*||')
|
||||||
%global fullver %{majorver}%{?preminorver}
|
%global fullver %{majorver}%{?preminorver}
|
||||||
|
|
||||||
%global fedorarel 1
|
%global baserelease 1
|
||||||
|
|
||||||
%global gem_name rspec-expectations
|
%global gem_name rspec-expectations
|
||||||
|
|
||||||
@ -14,7 +14,7 @@
|
|||||||
Summary: RSpec expectations (should and matchers)
|
Summary: RSpec expectations (should and matchers)
|
||||||
Name: rubygem-%{gem_name}
|
Name: rubygem-%{gem_name}
|
||||||
Version: %{majorver}
|
Version: %{majorver}
|
||||||
Release: %{?preminorver:0.}%{fedorarel}%{?preminorver:%{rpmminorver}}%{?dist}.1
|
Release: %{?preminorver:0.}%{baserelease}%{?preminorver:%{rpmminorver}}%{?dist}.1
|
||||||
|
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: http://github.com/rspec/rspec-expectations
|
URL: http://github.com/rspec/rspec-expectations
|
||||||
|
Loading…
Reference in New Issue
Block a user