Hello Jeremy,On Thu, 15 Oct 2015 00:39:34 +1100, jeremy rosen <jeremy.ro...@enst-bretagne.fr> wrote:
that's... less suprising but still not correct. Are you building in aproper git repository, or is it some form of copy of the git repository (I have no idea of how a fedora package is built)this message is supposed to appear if git is not available or if your source code is not in a git repository (more precisely, if 'git describe' reports nothing) could you test if that's the case for you ?
OK, I'm building in a copy of a git repo, and probably not doing that correctly, although it has been working OK, in regard to the project version and "About darktable" message until recently. I build my Fedora packages using Fedora's rpmbuild, which uses a .spec file to define the process.
The source is an archive (tar.gz, tar.bz2 etc).I always build a src.rpm as well as a binary (rpm) package. The src.rpm contains the src archive and the .spec file and is a convenient way of rebuilding the binary package later or elsewhere. Hence, it is convenient to use a minimal source archive and I strip out the docs and other files I don't need.
The .spec file calls cmake and controls the build process.To clarify I have attached the simple script I run to generate the source archive used for the rpmbuild process. Is there a better way of doing this that is compatible with the current way of defining the project version?
Cheers, -- Regards, Terry Duell ___________________________________________________________________________ darktable developer mailing list to unsubscribe send a mail to darktable-dev+unsubscr...@lists.darktable.org
mk-pkg-src.sh
Description: Binary data