On Aug 5, 2014, at 12:55, Sergei Vyshenski <[email protected]> wrote:

> Distributions from GH come without .git subdirectory, so I had to 
> replace calls for vergen with the appropriate version number. 
> Port/package system do not tolerate distributing sources in form of "git 
> pull" or such. Only regular tarballs are welcome here. Also in case of 
> client-html-mason I had to regenerate ill Manifest.

I ran into a similar workflow problem while working with the RPM build process. 
RPM build prefers extracting the files from a tarball directly. The %build 
section then runs Makefile.PL, which doesn't find the data from Git. As a 
workaround, I added the file "VERSION" when creating the tarball and modified 
Makefile.PL to use this for the OpenXPKI version (e.g.: "0.18.0"), if found. 
This could easily be expanded to include the Git tag and commit hash, if 
desired.


Scott



------------------------------------------------------------------------------
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls. 
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
_______________________________________________
OpenXPKI-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openxpki-devel

Reply via email to