commit e9cc2449ef8b3ad8214698e616cbaa0471cd143a Author: Jakub Bogusz <qbo...@pld-linux.org> Date: Sat Apr 27 20:30:49 2024 +0200
- fix version in cmake configs nifticlib.spec | 3 +++ 1 file changed, 3 insertions(+) --- diff --git a/nifticlib.spec b/nifticlib.spec index 3b59833..571e3b5 100644 --- a/nifticlib.spec +++ b/nifticlib.spec @@ -50,6 +50,9 @@ Pliki nagłówkowe bibliotek C niftilib. %setup -q -n nifti_clib-%{version} %patch1 -p1 +# version is set from git tag, but no git metadata in archive +%{__sed} -i -e 's/if( NOT GIT_REPO_VERSION )/if( TRUE )/; s/set(GIT_REPO_VERSION "0\.0\.0\.0")/set(GIT_REPO_VERSION "%{version}")/' CMakeLists.txt + %build install -d build cd build ================================================================ ---- gitweb: http://git.pld-linux.org/gitweb.cgi/packages/nifticlib.git/commitdiff/e9cc2449ef8b3ad8214698e616cbaa0471cd143a _______________________________________________ pld-cvs-commit mailing list pld-cvs-commit@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit