Package: rpm
Version: 4.11.1-2
Severity: wishlist
Tags: patch

This patch splits debugedit into its own package
dh_strip can already use debugedit to rewrite base source locations on
..debug files, and I am championing doing this by default.

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: armhf (armv7l)
Foreign Architectures: armel

Kernel: Linux 3.4.0 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages rpm depends on:
ii  debugedit     4.11.1-2
ii  libc6         2.17-7
ii  libelf1       0.153-2
ii  libpopt0      1.16-7
ii  librpm3       4.11.1-1
ii  librpmbuild3  4.11.1-1
ii  librpmio3     4.11.1-1
ii  librpmsign1   4.11.1-1
ii  perl          5.14.2-21
ii  rpm-common    4.11.1-2
ii  rpm2cpio      4.11.1-1

rpm recommends no packages.

Versions of packages rpm suggests:
pn  alien     <none>
ii  elfutils  0.153-2
pn  rpm-i18n  <none>

-- no debconf information
>From c7955172c5187bbad64639a38d4f5c1b1184341a Mon Sep 17 00:00:00 2001
From: Shawn Landden <[email protected]>
Date: Mon, 15 Jul 2013 19:26:56 -0700
Subject: [PATCH] split debugedit out into its own package

---
 debian/changelog         |  6 ++++++
 debian/control           | 14 ++++++++++++++
 debian/debugedit.install |  1 +
 debian/rpm.install       |  1 -
 4 files changed, 21 insertions(+), 1 deletion(-)
 create mode 100644 debian/debugedit.install

diff --git a/debian/changelog b/debian/changelog
index ec9a349..7461555 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+rpm (4.11.1-2) UNRELEASED; urgency=low
+
+  * Split debugedit into its own package.
+
+ -- Shawn Landden <[email protected]>  Mon, 15 Jul 2013 19:48:26 -0700
+
 rpm (4.11.1-1) unstable; urgency=low
 
   * New upstream release.
diff --git a/debian/control b/debian/control
index 1dcfb99..258ba73 100644
--- a/debian/control
+++ b/debian/control
@@ -47,6 +47,7 @@ Depends: ${shlibs:Depends},
          ${misc:Depends},
          perl,
          rpm2cpio,
+         debugedit (= ${binary:Version}),
          rpm-common (= ${binary:Version})
 Replaces: manpages-pl (<< 20051017-1)
 Breaks: manpages-pl (<< 20051017-1), man-db (<< 2.5.0-1)
@@ -223,3 +224,16 @@ Description: Python bindings for RPM
  .
  This package includes the Python bindings for librpm, allowing Python
  scripts to manipulate RPM packages and the RPM database.
+ 
+Package: debugedit
+Architecture: any
+Suggests: rpm-i18n
+Replaces: rpm (<<4.11.1-2)
+Breaks: rpm (<<4.11.1-2)
+Multi-Arch: foreign
+Depends: ${shlibs:Depends},
+         ${misc:Depends}
+Description: tool to mangle source locations in .debug files
+ This tool allows rewriting of source code locations in .debug files
+ to point to /usr/src (or anywhere else). It has been split out of the
+ rpm package to be useful on its own.
diff --git a/debian/debugedit.install b/debian/debugedit.install
new file mode 100644
index 0000000..4117c5d
--- /dev/null
+++ b/debian/debugedit.install
@@ -0,0 +1 @@
+usr/lib/rpm/debugedit
diff --git a/debian/rpm.install b/debian/rpm.install
index d80d9e4..176246d 100644
--- a/debian/rpm.install
+++ b/debian/rpm.install
@@ -5,7 +5,6 @@ usr/bin/rpm[a-z]*
 # which are in rpm-common.
 usr/lib/rpm/brp*
 usr/lib/rpm/check*
-usr/lib/rpm/debugedit
 usr/lib/rpm/find*
 usr/lib/rpm/libtool*
 usr/lib/rpm/mkinstalldirs
-- 
1.8.3.2

Reply via email to