https://bugzilla.redhat.com/show_bug.cgi?id=1186572
--- Comment #3 from František Dvořák <valtri(a)civ.zcu.cz> ---
(In reply to Mamoru TASAKA from comment #2)
>
> - %define is considered less "predictable" than %global (although I
don't
> understand the details)
- For parametrized macro, %define is preferable (there seems some
way to use %global even for this case, but it is messy)
https://www.redhat.com/archives/fedora-packaging/2009-May/msg00112.html
OK, you will know better about this. :-)
> 4) what is the %{nil} after the rm command good for? (in %install section)
%{nil} is expanded as nothing. No need to write this, however without this,
I have to write
rm -rf \
.gitignore .travis.yml \
Doxyfile Gemfile Rakefile \
before_*.sh \
doc/.cvsignore \
*.gemspec \
test/ \
ext/ \
<blank line>
popd
... which is inconvenient when I want to add some other files after
ext/ entry (well, not a big deal anyway)
I see, nice trick.
--
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component