Comment 24 for bug 25865

Revision history for this message
In , Matthias Klose (doko-cs) wrote : NMU for pcre3, avoiding renaming of the libpcre3 library package

Please find attached the diff for the NMU 6.4-1.1

  * Split out the C++ library into it's own package libpcrecpp0, as
    discussed in #339250. The C++ library was recently added, no
    package references the C++ library yet.
    Closes: #339250.
  * debian/rules: Remove testsavedregex in clean target.

diff -u pcre3-6.4/debian/control pcre3-6.4/debian/control
--- pcre3-6.4/debian/control
+++ pcre3-6.4/debian/control
@@ -17,10 +17,23 @@
  .
  This package contains the runtime libraries.

+Package: libpcrecpp0
+Section: libs
+Architecture: any
+Priority: optional
+Depends: ${shlibs:Depends}
+Conflicts: libpcre3 (<< 6.4-1.1)
+Replaces: libpcre3 (<< 6.4-1.1)
+Description: Perl 5 Compatible Regular Expression Library - C++ runtime files
+ This is a C++ library of functions to support regular expressions whose syntax
+ and semantics are as close as possible to those of the Perl 5 language.
+ .
+ This package contains the C++ runtime library.
+
 Package: libpcre3-dev
 Section: libdevel
 Architecture: any
-Depends: libc6-dev, libpcre3 (=${Source-Version})
+Depends: libc6-dev, libpcre3 (= ${Source-Version}), libpcrecpp0 (= ${Source-Version})
 Conflicts: libpcre1-dev, libpcre2-dev
 Description: Perl 5 Compatible Regular Expression Library - development files
  This is a library of functions to support regular expressions whose syntax
diff -u pcre3-6.4/debian/rules pcre3-6.4/debian/rules
--- pcre3-6.4/debian/rules
+++ pcre3-6.4/debian/rules
@@ -62,7 +62,7 @@
 ### cp -f /usr/share/misc/config.guess config.guess

- rm -f dftables RunTest
+ rm -f dftables RunTest testsavedregex
  dh_clean

 install: build
@@ -116,7 +116,8 @@
  dh_strip -a
  dh_compress -a
  dh_fixperms -a
- dh_makeshlibs -a -V 'libpcre3 (>= 4.5)'
+ dh_makeshlibs -plibpcre3 -V 'libpcre3 (>= 4.5)'
+ dh_makeshlibs -plibpcrecpp0 -V 'libpcrecpp0'
  dh_installdeb -a
 # dh_perl -a
  dh_shlibdeps -a -ldebian/libpcre3/usr/lib
diff -u pcre3-6.4/debian/changelog pcre3-6.4/debian/changelog
--- pcre3-6.4/debian/changelog
+++ pcre3-6.4/debian/changelog
@@ -1,3 +1,13 @@
+pcre3 (6.4-1.1) unstable; urgency=low
+
+ * Split out the C++ library into it's own package libpcrecpp0, as
+ discussed in #339250. The C++ library was recently added, no
+ package references the C++ library yet.
+ Closes: #339250.
+ * debian/rules: Remove testsavedregex in clean target.
+
+ -- Matthias Klose <email address hidden> Fri, 25 Nov 2005 07:59:14 +0100
+
 pcre3 (6.4-1) unstable; urgency=low

   * New upstream release (Closes: 333191)
diff -u pcre3-6.4/debian/libpcre3.files pcre3-6.4/debian/libpcre3.files
--- pcre3-6.4/debian/libpcre3.files
+++ pcre3-6.4/debian/libpcre3.files
@@ -1,4 +1,5 @@
-usr/lib/lib*.so.*
+usr/lib/libpcre.so.*
+usr/lib/libpcreposix.so.*
 usr/bin/pcretest
 usr/share/man/man1/pcretest.1
 usr/share/man/man3/pcrepattern.3
diff -u pcre3-6.4/debian/copyright pcre3-6.4/debian/copyright
--- pcre3-6.4/debian/copyright
+++ pcre3-6.4/debian/copyright
@@ -50,0 +51,4 @@
+
+
+On Debian GNU/Linux systems, the complete text of the GNU General
+Public License can be found in `/usr/share/common-licenses/GPL'.
only in patch2:
unchanged:
--- pcre3-6.4.orig/debian/libpcrecpp0.dirs
+++ pcre3-6.4/debian/libpcrecpp0.dirs
@@ -0,0 +1,2 @@
+usr/lib
+
only in patch2:
unchanged:
--- pcre3-6.4.orig/debian/libpcrecpp0.files
+++ pcre3-6.4/debian/libpcrecpp0.files
@@ -0,0 +1 @@
+usr/lib/libpcrecpp.so.*
only in patch2:
unchanged:
--- pcre3-6.4.orig/debian/libpcrecpp0.docs
+++ pcre3-6.4/debian/libpcrecpp0.docs
@@ -0,0 +1,2 @@
+README AUTHORS NEWS
+