On 14 February 2012 at 00:26, Charles Plessy wrote:
| Le Mon, Feb 13, 2012 at 08:56:55AM -0600, Dirk Eddelbuettel a écrit :
| > 
| > I really just want to depend with >= on the R version (as it is called in
| > Debian !!) building this package.  Going with parsing the changelog is 
better
| > than asking R for its version as R does not know about its Debian
| > (sub-)version.
| 
| In that case:
| 
| $ echo "R:Depends=r-base-core (>= $(dpkg-query -W -f='${Version}' 
r-base-dev))" 
| R:Depends=r-base-core (>= 2.14.1-1)

Yes, I like that best.  Simpler than my piping into dpkg-parsechangelog and awk.

Dirk

-- 
"Outside of a dog, a book is a man's best friend. Inside of a dog, it is too
dark to read." -- Groucho Marx



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to