debian/patches/Prevent-finding-version-via-git.patch
raw| 1 | Description: Prevent finding version via git |
| 2 | Author: Bastian Germann <[email protected]> |
| 3 | Forwarded: not-needed |
| 4 | --- |
| 5 | --- a/Makefile |
| 6 | +++ b/Makefile |
| 7 | @@ -2,7 +2,7 @@ |
| 8 | |
| 9 | NAME=Amiri |
| 10 | LATIN=AmiriLatin |
| 11 | -TAG=$(shell git describe --tags --abbrev=0) |
| 12 | +TAG=$(shell dpkg-parsechangelog -S Version | cut -f 1 -d '-') |
| 13 | VERSION=$(TAG:v%=%) |
| 14 | |
| 15 | SRC=sources |