[packages/libcacard] - fix Version in .pc file

qboosh qboosh at pld-linux.org
Mon Oct 5 21:26:53 CEST 2015


commit 4321cbdbe3b620390831c5a60238b720e3a07934
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Mon Oct 5 21:28:02 2015 +0200

    - fix Version in .pc file

 libcacard.spec | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/libcacard.spec b/libcacard.spec
index 135072c..a686919 100644
--- a/libcacard.spec
+++ b/libcacard.spec
@@ -68,6 +68,9 @@ Statyczna biblioteka cacard.
 %prep
 %setup -q
 
+# take version from .tarball-version instead of using missing git-related script
+%{__sed} -i -e '1s,build-aux/git-version-gen,tr -d "\\n" <,' configure.ac
+
 # force new version from autoconf-archive (original one uses non-POSIX ${V:N} syntax)
 %{__rm} m4/ax_compiler_flags_cflags.m4
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libcacard.git/commitdiff/4321cbdbe3b620390831c5a60238b720e3a07934



More information about the pld-cvs-commit mailing list