r13808 - in /desktop/unstable/libgnomeui/debian: changelog rules

lool at users.alioth.debian.org lool at users.alioth.debian.org
Mon Dec 10 12:59:09 UTC 2007


Author: lool
Date: Mon Dec 10 12:59:08 2007
New Revision: 13808

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=13808
Log:
* Tighten libgnomeui package name extraction.

Modified:
    desktop/unstable/libgnomeui/debian/changelog
    desktop/unstable/libgnomeui/debian/rules

Modified: desktop/unstable/libgnomeui/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/libgnomeui/debian/changelog?rev=13808&op=diff
==============================================================================
--- desktop/unstable/libgnomeui/debian/changelog (original)
+++ desktop/unstable/libgnomeui/debian/changelog Mon Dec 10 12:59:08 2007
@@ -1,3 +1,9 @@
+libgnomeui (2.20.1.1-2) UNRELEASED; urgency=low
+
+  * Tighten libgnomeui package name extraction.
+
+ -- Loic Minier <lool at dooz.org>  Mon, 10 Dec 2007 13:58:40 +0100
+
 libgnomeui (2.20.1.1-1) unstable; urgency=low
 
   [ Sebastian Dröge ]

Modified: desktop/unstable/libgnomeui/debian/rules
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/libgnomeui/debian/rules?rev=13808&op=diff
==============================================================================
--- desktop/unstable/libgnomeui/debian/rules (original)
+++ desktop/unstable/libgnomeui/debian/rules Mon Dec 10 12:59:08 2007
@@ -10,13 +10,16 @@
 
 # this relies on the fact that the first package is the shared library to
 # retrieve the package name (with SONAME)
-LIB_PKG := $(shell sed -n 's/^Package: //p' debian/control | head -n 1)
-DEBUG_PKG := $(LIB_PKG)-dbg
+libgnomeuiN := $(shell sed -rn 's/Package:[[:space:]]*(libgnomeui-[0-9]+)[[:space:]]*$$/\1/p' debian/control)
+# the debug package should be named libgnomeui-dbg (unversionned); please
+# change it next time the package has to go through NEW
+DEBUG_PKG := libgnomeui-0-dbg
 
 LDFLAGS += -Wl,-z,defs -Wl,-O1 -Wl,--as-needed
 
 DEB_DH_STRIP_ARGS += --dbg-package=$(DEBUG_PKG)
-DEB_CONFIGURE_EXTRA_FLAGS += --libexecdir=\$${prefix}/lib/$(LIB_PKG)
+DEB_CONFIGURE_EXTRA_FLAGS += --libexecdir=\$${prefix}/lib/$(libgnomeuiN)
 
-binary-install/$(LIB_PKG)::
-	dh_gtkmodules -p$(LIB_PKG)
+binary-install/$(libgnomeuiN)::
+	dh_gtkmodules -p$(cdbs_curpkg)
+




More information about the pkg-gnome-commits mailing list