[Pkg-cli-libs-commits] [SCM] gdata-sharp branch, master, updated. debian/1.4.0.2-1-2-ga9b6ac2

Chow Loong Jin hyperair at gmail.com
Tue Mar 24 00:16:38 UTC 2009


The following commit has been merged in the master branch:
commit 83013afe10ec44adddd1a794a3f1b1924f1e6236
Author: Chow Loong Jin <hyperair at gmail.com>
Date:   Tue Mar 24 07:48:59 2009 +0800

    ABI to pkgconfig filenames
    
    * debian/rules:
      + Rename all pkg-config files to include ABI version as per policy

diff --git a/debian/changelog b/debian/changelog
index 0a77841..f97eff5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+gdata-sharp (1.4.0.2-2) UNRELEASED; urgency=low
+
+  * debian/rules:
+    + Rename all pkg-config files to include ABI version as per policy
+
+ -- Chow Loong Jin <hyperair at gmail.com>  Tue, 24 Mar 2009 07:30:39 +0800
+
 gdata-sharp (1.4.0.2-1) unstable; urgency=low
 
   * Initial release (Closes: #519844)
diff --git a/debian/rules b/debian/rules
index 65de1e0..9ca6e86 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,6 +5,7 @@ include /usr/share/cli-common/cli.make
 include /usr/share/quilt/quilt.make
 
 DEB_CLI_API_VERSION = 1.4.0.2
+DEB_CLI_ABI_VERSION = 1.4
 
 override_dh_makeclilibs:
 	dh_makeclilibs -m$(DEB_CLI_API_VERSION)
@@ -27,6 +28,10 @@ override_dh_auto_install:
 	# gar, see above
 	# extra brokeness for building tests in install
 	dh_auto_install -- PREFIX=/usr CSC=/usr/bin/csc
+	prename 's/\.pc$$/-$(DEB_CLI_ABI_VERSION).pc/' debian/tmp/usr/lib/pkgconfig/*
+	for file in debian/tmp/usr/lib/pkgconfig/*.pc; do \
+		ln -s $$file $$(echo $$file | sed -e 's/-$(DEB_CLI_ABI_VERSION)\.pc$$/.pc/'); \
+	done
 
 # skip test-cases as they fail for some reason
 override_dh_auto_test:

-- 
gdata-sharp



More information about the Pkg-cli-libs-commits mailing list