Skip to contentSkip to conversation

update debian packaging for libnfnetlink

PATCH New Pierre Chifflier 1 participant 1 message Mar 7, 2007 netfilter

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 update debian packaging for libnfnetlink

Hi,

The following patch fixes 3 problems with the debian files in the svn repository:
* the.pc file is not copied during installation
* the version is outdated
* the version in debian/changelog should reflect the number of the debian packaging, and so lacks a -1

---

changelog +6 -0
Index: debian/changelog
===================================================================
@@ -1,3 +1,9 @@
+libnfnetlink (0.0.25-1) unstable; urgency=low
+
+  * new upstream release
+
+ -- Harald Welte <[email protected]>  Tue,  6 Mar 2007 11:07:08 +0100
+
 libnfnetlink (0.0.14) unstable; urgency=low
 
   * new upstream release
rules +4 -0
Index: debian/rules
===================================================================
@@ -11,3 +11,7 @@
 include /usr/share/cdbs/1/class/autotools.mk
 
 DEB_DH_INSTALL_SOURCEDIR := debian/tmp
+
+binary-install/libnfnetlink-dev::
+	mkdir -p debian/libnfnetlink-dev/usr/lib/pkg-config/; \
+	install -m 644 libnfnetlink.pc debian/libnfnetlink-dev/usr/lib/pkg-config/