diff --git a/pesign-obs-integration.changes b/pesign-obs-integration.changes index 482490b..d99fdc5 100644 --- a/pesign-obs-integration.changes +++ b/pesign-obs-integration.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Mar 5 08:23:48 UTC 2013 - mmarek@suse.cz + +- Do not repackage debuginfo package (bnc#806637) + ------------------------------------------------------------------- Mon Mar 4 16:08:34 UTC 2013 - mmarek@suse.cz diff --git a/pesign-obs-integration.spec b/pesign-obs-integration.spec index ad3de54..ab357a8 100644 --- a/pesign-obs-integration.spec +++ b/pesign-obs-integration.spec @@ -15,17 +15,17 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # - +# norootforbuild # needssslcertforbuild + Name: pesign-obs-integration Summary: Macros and scripts to sign the kernel and bootloader License: GPL-2.0 Group: Development/Tools/Other Version: 9.0 Release: 0. -Requires: mozilla-nss-tools -Requires: openssl +Requires: openssl mozilla-nss-tools %ifarch %ix86 x86_64 ia64 Requires: pesign %endif diff --git a/pesign-repackage.spec.in b/pesign-repackage.spec.in index 0300028..0ce22fb 100644 --- a/pesign-repackage.spec.in +++ b/pesign-repackage.spec.in @@ -51,6 +51,14 @@ for rpm in %_sourcedir/*.rpm; do *.src.rpm | *.nosrc.rpm) cp "$rpm" %_srcrpmdir/ continue + ;; + # Do not repackage debuginfo packages (bnc#806637) + *-debuginfo-*.rpm | *-debugsource-*.rpm) + dir=%_rpmdir/$(rpm -qp --qf '%%{arch}' "$rpm") + mkdir -p "$dir" + cp "$rpm" "$dir" + continue + ;; esac # do not repackage baselibs packages # FIXME: needs more generic test (if architecture has different