|
|
@ -1,7 +1,7 @@
|
|
|
|
## START: Set by rpmautospec
|
|
|
|
## START: Set by rpmautospec
|
|
|
|
## (rpmautospec version 0.2.6)
|
|
|
|
## (rpmautospec version 0.2.6)
|
|
|
|
%define autorelease(e:s:pb:) %{?-p:0.}%{lua:
|
|
|
|
%define autorelease(e:s:pb:) %{?-p:0.}%{lua:
|
|
|
|
release_number = 1;
|
|
|
|
release_number = 2;
|
|
|
|
base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}"));
|
|
|
|
base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}"));
|
|
|
|
print(release_number + base_release_number - 1);
|
|
|
|
print(release_number + base_release_number - 1);
|
|
|
|
}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{?dist}
|
|
|
|
}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{?dist}
|
|
|
|