sclorg / spec2scl

MIT License
7 stars 7 forks source link

Macro gets scl-ized even if in comment (and prefixed with %) #19

Closed torsava closed 7 years ago

torsava commented 8 years ago

Originally reported by: Pavel Valena (Bitbucket: pvalena, GitHub: pvalena)


# %%gem_install - this is a comment

becomes

# %%{?scl:scl enable %{scl} - << \EOF}
%gem_install
%{?scl:EOF}
 - this is a comment

irushchyshyn commented 7 years ago

Hi @pvalena, thanks for reporting the issue. However, I find it difficult to reproduce it. scl-izing comments seems to have been fixed in #7.

I understand that it's been a long time, but if you are still facing this issue, could you please provide a bit more details? These three pieces of info should be enough:

Many thanks in advance.

pvalena commented 7 years ago

Hello, I can confirm it has been fixed. Tested with

spec2scl-1.1.0a-2.el7.centos.noarch & spec2scl-1.1.3-3.fc24.noarch

Thanks!

irushchyshyn commented 7 years ago

Perfect, thanks for reply. Closing the issue.