[DRE-maint] ruby-setup-rb.mk, and ftbses

Arnaud Cornet acornet at debian.org
Sat Jan 12 17:07:18 UTC 2008


> I'm not sure of your fix:
> --- 1/class/ruby-setup-rb.mk	(revision 2273)
> +++ 1/class/ruby-setup-rb.mk	(working copy)
> @@ -74,6 +74,6 @@
>  	/usr/bin/ruby $(DEB_RUBY_SETUP_CMD) config $(DEB_RUBY_CONFIG_ARGS)
>  	/usr/bin/ruby $(DEB_RUBY_SETUP_CMD) $(DEB_RUBY_CLEAN_TARGET)
>  	rm -f $(DEB_SRCDIR)/.config-*
> -	[ -L $(DEB_RUBY_SETUP_CMD) ] && rm -f $(DEB_RUBY_SETUP_CMD)
> +	([ -L $(DEB_RUBY_SETUP_CMD) ] && rm -f $(DEB_RUBY_SETUP_CMD)) || true
> 
> It won't remove the file if setup.rb is NOT a symbolic link. So we will
> still use old versions of setup.rb in that case.


This is the point, the class links setup.rb if one is not already
present in upstream source. So at clean time, it removes it only if it
is a symlink. (This code extract is in the clean target.)
BTW the fix is not mine.

> The current in the archive still builds all our packages fine, so
> there's no emergency.

The emmergency is that I cannot upload my package as it build-depends on
a ruby-pkg-tools >= 0.13 not in sid yet.

Also, some packages in sid right now ftbs if rebuild.
-- 
Arnaud Cornet




More information about the Pkg-ruby-extras-maintainers mailing list