<div class="gmail_quote"><div>Hi ,<br> <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im">
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
There should be no need to remove COPYING files from binary packages: the CDBS snippet <a href="http://python-sugar.mk" target="_blank">python-sugar.mk</a> replaces those with a symlink if truly fully identical to the Debian-shipped file.<br>
<br>
</blockquote>
I was confused here , are you referring to lintian warnings that we tried to remove by adding in install rule? or i am mistaken?<br>
</blockquote>
<br></div>
No, I am referring to adding a build rule to explicitly remove COPYING files. Concretely I stumbled across the following in packaging git of the Physics activity:<br>
<br>
<br>
install/sugar-physics-activity::<br>
rm -f debian/sugar-physics-activity/usr/share/sugar/activities/Physics.activity/COPYING<br>
<br>
<br>
<br>
I believe (but did not test) that above is superfluous, as CDBS snippet <a href="http://python-sugar.mk" target="_blank">python-sugar.mk</a> already contains the following:<br>
<br>
<br>
<br>
# Replace superfluous COPYING files with symlinks<br>
$(patsubst %,binary-post-install/%,$(DEB_PYTHON_SUGAR_PACKAGES)) :: binary-post-install/%:<br>
! test -f $(DEB_DESTDIR)/usr/share/sugar/activities/*.activity/COPYING \<br>
|| ! diff -q /usr/share/common-licenses/GPL-2 $(DEB_DESTDIR)/usr/share/sugar/activities/*.activity/COPYING \<br>
|| ln -sfT ../../../common-licenses/GPL-2 $(DEB_DESTDIR)/usr/share/sugar/activities/*.activity/COPYING<br>
<br>
<br>
If lintian warns about superfluous licenses files, it might be right, and we'd better discuss here before silencing them.<br>
<br></blockquote></div>Well, despite it being in CDBS snippets , it was still giving lintian warnings in my packages , as discussed some time back in list .So regarding whether to add that rule or not , I need your guidance.I used the same build rule as in sugar-physics-activity.<br>
<br>Regards,<br>Ankur<br>