-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
2 empty lines geneated in a template #104
Comments
|
You're right, if we stick to this formatting. The lines 60 and 70 are responsible for the double space. Could be resolved by writing it like so. f.e.: mkdir -p %{buildroot}%{gem_dir}
cp -a .%{gem_dir}/* \
%{buildroot}%{gem_dir}/
<%
unless spec.extensions.empty? -%> Or any other adjustment which changes one of those empty lines to either end with |
I do not think so. You can see https://puppet.com/docs/puppet/5.5/lang_template_erb.html .
|
The current gem2rpm creates 2 empty lines between
cp -a
andmkdir -p
for a generated spec file.As a result on the following PR line 13, the 2 lines is changed to 1 line.
https://src.fedoraproject.org/rpms/rubygem-rack/pull-request/3#request_diff
1 empty line is better for the template than 2 empty lines, isn't it?
Here is the log for rubygem-rack.
The text was updated successfully, but these errors were encountered: