tags 616869 + patch pending
tags 701403 + patch pending
thanks

Dear maintainer,

I've prepared an NMU for libpreludedb (versioned as 1.0.0-2.1) and
uploaded it to DELAYED/7. Please feel free to tell me if I
should delay it longer.

Regards.
diff -u libpreludedb-1.0.0/debian/control libpreludedb-1.0.0/debian/control
--- libpreludedb-1.0.0/debian/control
+++ libpreludedb-1.0.0/debian/control
@@ -1,7 +1,6 @@
 Source: libpreludedb
 Priority: extra
 Section: libs
-XS-Python-Version: all
 Maintainer: Mickael Profeta <prof...@debian.org>
 Uploaders: Pierre Chifflier <pol...@debian.org>
 Build-Depends: debhelper (>= 5.0.37.2),
@@ -12,7 +11,7 @@
     libgnutls-dev(>= 1.2.9),
     libperl-dev,
     swig,
-    python, python-all-dev, python-central (>= 0.5)
+    python-all-dev (>= 2.6.6-3)
 Standards-Version: 3.8.4
 
 Package: libpreludedb-dev
@@ -69,7 +68,6 @@
 Package: python-preludedb
 Section: python
 Architecture: any
-XB-Python-Version: ${python:Versions}
 Depends: ${python:Depends}, libpreludedb0 (= ${binary:Version}), python-prelude, ${shlibs:Depends}, ${misc:Depends}
 Description: Security Information Management System [ Base library ]
  Prelude is a Universal "Security Information Management" (SIM) system.
diff -u libpreludedb-1.0.0/debian/rules libpreludedb-1.0.0/debian/rules
--- libpreludedb-1.0.0/debian/rules
+++ libpreludedb-1.0.0/debian/rules
@@ -67,8 +67,7 @@
 	dh_installdocs README
 	dh_installchangelogs ChangeLog
 	dh_perl
-	#dh_python
-	dh_pycentral -ppython-preludedb
+	dh_python2 -ppython-preludedb
 	dh_link
 	dh_strip
 	dh_compress -X.py
diff -u libpreludedb-1.0.0/debian/changelog libpreludedb-1.0.0/debian/changelog
--- libpreludedb-1.0.0/debian/changelog
+++ libpreludedb-1.0.0/debian/changelog
@@ -1,3 +1,13 @@
+libpreludedb (1.0.0-2.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Convert to dh_python2 (Closes: #616869).
+  * libmissing/stdio.in.h:
+    - Do not try to warn about gets risks if it is not defined, fix
+      FTBFS with eglibc 2.17 (Closes: #701403).
+
+ -- Luca Falavigna <dktrkr...@debian.org>  Thu, 30 May 2013 20:42:16 +0200
+
 libpreludedb (1.0.0-2) unstable; urgency=low
 
   * Do not ship .la files
reverted:
--- libpreludedb-1.0.0/debian/pycompat
+++ libpreludedb-1.0.0.orig/debian/pycompat
@@ -1 +0,0 @@
-2
only in patch2:
unchanged:
--- libpreludedb-1.0.0.orig/libmissing/stdio.in.h
+++ libpreludedb-1.0.0/libmissing/stdio.in.h
@@ -116,8 +116,10 @@
 /* It is very rare that the developer ever has full control of stdin,
    so any use of gets warrants an unconditional warning.  Assume it is
    always declared, since it is required by C89.  */
+#ifdef gets
 #undef gets
 _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
+#endif
 
 #if @GNULIB_FOPEN@
 # if @REPLACE_FOPEN@

Reply via email to