-
Couldn't load subscription status.
- Fork 11
Open
Description
Have a spec like this:
%global baserelease 1
Name: reproducer
Version: 1
Release: 0.%{baserelease}%{?dist}
Summary: ...
License: MIT
BuildArch: noarch
%description
...
%prep
%build
%install
%files
%changelog
...
Run rpmautospec convert on it. The result is:
-Release: 0.%{baserelease}%{?dist}
+Release: %autoreleaseThis produces unexpected results. IMHO the command should either fail explicitly, or produce:
-%global baserelease 1
+%global baserelease %{autorelease -n}Metadata
Metadata
Assignees
Labels
No labels