[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: packaging RProtoBuf: permissions only patches?



On 21/04/2016 18:27, Andreas Tille wrote:
On Thu, Apr 21, 2016 at 06:15:20PM +1000, Jonathon Love wrote:
what's the best way that i should get rid of these lintian warnings?
I havn't checked but usually I solve permission issues in R packages
by simply injecting:

install/$(package)::
	chmod -x $(debRlib)/$(cranName)/file_with_wrong_permission

in debian/rules.

perfect! works a charm!

my next hurdle is to do with tests. normally, the contents of an R packages tests directory ends up in /usr/share/doc/$packagename/tests

so in this example:

http://anonscm.debian.org/git/debian-science/packages/r-cran-rprotobuf.git/tree/tests

i'd expect `runUnitTests.R` to turn up in

/usr/share/doc/r-cran-rprotobuf/tests

however, this doesn't happen. i usually begin a package by copy/pasting an existing one, so i'm quite puzzled by this.

any suggestions as to what i'm doing wrong?

with thanks

jonathon


Reply to: