Red Hat Bugzilla – Bug 209016
dcraw URL and version number
Last modified: 2007-11-30 17:11:44 EST
Description of problem:
dcraw is a program that doesn't come in a typical .tar.gz archive, it's just a
.c file sitting on a guy's site. So Fedora has used a timestamp of when the file
was downloaded for the version number, e.g. 20060521. But the program /does/
have a version number in the C file and resulting binary, so the version number
in the RPM should reflect that.
Also, the URL is left out of the .spec.
Version-Release number of selected component (if applicable):
0.0.20060521-1.1 / v8.19
Running the program with no options returns the version number. You can also see
it in the v8.19 (20060521) dcraw.c release here:
"\nRaw Photo Decoder \"dcraw\" v8.19"
In v8.39 it is changed to this format (released upstream, but not in rawhide/devel):
#define VERSION "8.39"
The URL for the site should also be added:
I know this seems a bit nitpicky, but if users are asked "what version are you
running?" and such and they respond 20060521, they'll likely get blank stares
from upstream. ;) It has a version number so let's use it.
As for the manpage, that could be timestamped, but perhaps using the timestamp
in the manpage itself, not the download time. The latest is July 18, 2006
Upstream finally has a tarball, alongside with translated manpages, message
catalogs, ... Yay! Rawhide has dcraw-8.53-1.fc7 building right now.