pkgconfig: Do not hardcode library version numbers in pc files.
authorGünther Deschner <gd@samba.org>
Thu, 22 Aug 2013 13:00:32 +0000 (15:00 +0200)
committerKai Blin <kai@samba.org>
Thu, 22 Aug 2013 18:48:44 +0000 (20:48 +0200)
We control version numbers via 'vnum' from the wscript_build files for all other
libraries.  In case of libndr we already reported a wrong 0.0.1 version via
pkgconfig while in fact the library is versioned as 0.0.2.

Guenther

Signed-off-by: Günther Deschner <gd@samba.org>
Reviewed-by: Kai Blin <kai@samba.org>
Autobuild-User(master): Kai Blin <kai@samba.org>
Autobuild-Date(master): Thu Aug 22 20:48:44 CEST 2013 on sn-devel-104

lib/torture/torture.pc.in
lib/util/samba-util.pc.in
librpc/ndr.pc.in
librpc/ndr_krb5pac.pc.in
librpc/ndr_nbt.pc.in
librpc/ndr_standard.pc.in

index 459b35c582ad6d850870fa13440d89485f7923b1..e0421b0441b99be5464e4435a78b6fde9ac2c089 100644 (file)
@@ -7,6 +7,6 @@ modulesdir=${prefix}/modules/torture
 Name: torture
 Description: Samba torture (test) suite
 Requires: talloc
-Version: 0.0.1
+Version: @PACKAGE_VERSION@
 Libs: @LIB_RPATH@ -L${libdir} -ltorture
 Cflags: -I${includedir}  -DHAVE_IMMEDIATE_STRUCTURES=1
index a49c1d0290e7e7e9b52422d85e70da82e631de63..65876c454753ff047bed7ecb38c8f1d35af3fe9a 100644 (file)
@@ -6,6 +6,6 @@ includedir=@includedir@
 Name: samba-util
 Description: Samba utility functions
 Requires: talloc tevent
-Version: 0.0.1
+Version: @PACKAGE_VERSION@
 Libs: @LIB_RPATH@ -L${libdir} -lsamba-util
 Cflags: -I${includedir}  -DHAVE_IMMEDIATE_STRUCTURES=1
index 1ee50cc2ce790d8cf90ab312ba8b75d5801eb353..6828ac07ff5f2f4370d69ad5fcb7bf7e78124224 100644 (file)
@@ -6,6 +6,6 @@ includedir=@includedir@
 Name: ndr
 Description: Network Data Representation Core Library
 Requires: samba-util talloc
-Version: 0.0.1
+Version: @PACKAGE_VERSION@
 Libs: @LIB_RPATH@ -L${libdir} -lndr
 Cflags: -I${includedir}  -DHAVE_IMMEDIATE_STRUCTURES=1 -D_GNU_SOURCE=1
index 21ecb55db7538069f131ccd70b25ca659b1ee9cd..597bbd10ab9f779ff1ef64e64403bb58812357b6 100644 (file)
@@ -6,6 +6,6 @@ includedir=@includedir@
 Name: ndr-krb5pac
 Description: NDR marshallers for the KRB5 PAC formats
 Requires: ndr
-Version: 0.0.1
+Version: @PACKAGE_VERSION@
 Libs: @LIB_RPATH@ -L${libdir} -lndr-krb5pac
 Cflags: -I${includedir}  -DHAVE_IMMEDIATE_STRUCTURES=1 -D_GNU_SOURCE=1
index 5b69699d09dcf8f4abb7147409be611a5f5929a4..2083e2d5ce0e4d966ba55960c06f29fca9259118 100644 (file)
@@ -6,6 +6,6 @@ includedir=@includedir@
 Name: ndr-nbt
 Description: NDR marshallers for nbt formats
 Requires: ndr
-Version: 0.0.1
+Version: @PACKAGE_VERSION@
 Libs: @LIB_RPATH@ -L${libdir} -lndr-nbt
 Cflags: -I${includedir}  -DHAVE_IMMEDIATE_STRUCTURES=1 -D_GNU_SOURCE=1
index d400ef1da0441307f94e9498f3615d91630ed2ad..97687ba3280d11f906bee2829fc2dd7cdcc4f786 100644 (file)
@@ -6,6 +6,6 @@ includedir=@includedir@
 Name: ndr-standard
 Description: NDR marshallers for the standard set of DCE/RPC interfaces
 Requires: ndr
-Version: 0.0.1
+Version: @PACKAGE_VERSION@
 Libs: @LIB_RPATH@ -L${libdir} -lndr-standard
 Cflags: -I${includedir}  -DHAVE_IMMEDIATE_STRUCTURES=1 -D_GNU_SOURCE=1