On Mon, 05 Nov 2012 10:32:21 +0100
Stephan Kulow
On 04.11.2012 19:39, Adam Spiers wrote:
I noticed that the rubygem-rainbows gem contains three .gitignore files, which cause rpmlint warnings. I'm guessing there are other gems out there with the same problem. Would it make sense to fix this by adding something like
find $RPM_BUILD_ROOT -name .gitignore | xargs -n rm
to /usr/lib/rpm/gem_install_wrapper.sh?
The danger is that there might be an occasion where there was a real need for a gem rpm to include a .gitignore file.
The alternatives are:
- try to get the upstream gem fixed, or
- do the same .gitignore removal in each .spec file, which is annoying and potentially repetitive.
As there are 241 gems that show that warning, I would say it's a good idea to centralize the fix.
I can't think of a reason to keep the .gitignore in the installed gem.
Greetings, Stephan
Well, I know one gem, that have reason. It is gem with generator, that generate project and it generate also .gitignore which is just copyied from original destination (so no suffix), but I think it can be easy workarounded ( and gem is our own, so it is not problem to change it ). Josef -- To unsubscribe, e-mail: opensuse-ruby+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-ruby+owner@opensuse.org