Control: tags 769508 + patch Control: tags 769508 + pending Dear maintainer,
I've prepared an NMU for apt-spacewalk (versioned as 1.0.6-4.1) and uploaded it to DELAYED/5. Please feel free to tell me if I should delay it longer. Also attached are the two commits which I haven't pushed to collab-maint yet (I will push them later). Regards.
diff -u apt-spacewalk-1.0.6/debian/changelog apt-spacewalk-1.0.6/debian/changelog --- apt-spacewalk-1.0.6/debian/changelog +++ apt-spacewalk-1.0.6/debian/changelog @@ -1,3 +1,11 @@ +apt-spacewalk (1.0.6-4.1) unstable; urgency=medium + + * Non-maintainer upload. + * Check for post_invoke.py to exist before attempting to invoke it + (Closes: 769508) + + -- Andreas Bombe <a...@debian.org> Sat, 22 Nov 2014 18:42:41 +0100 + apt-spacewalk (1.0.6-4) unstable; urgency=medium * [99f9479e] Integrate NMU that went missing. only in patch2: unchanged: --- apt-spacewalk-1.0.6.orig/50spacewalk +++ apt-spacewalk-1.0.6/50spacewalk @@ -11,5 +11,5 @@ } }; DPkg::Post-Invoke { - "/usr/lib/apt-spacewalk/post_invoke.py"; + "[ ! -e /usr/lib/apt-spacewalk/post_invoke.py ] || /usr/lib/apt-spacewalk/post_invoke.py"; };
>From 085f07ace47fc5a852b14ebd2dbc1e47d892ed79 Mon Sep 17 00:00:00 2001 From: Andreas Bombe <a...@debian.org> Date: Sat, 22 Nov 2014 18:38:14 +0100 Subject: [PATCH 1/2] Check for post_invoke.py to exist before attempting to invoke it This is run as DPkg::Post-Invoke, but during package removal the file stops existing before the Post-Invoke is actually started. Checking for its existance beforehand prevents the Post-Invoke reporting an error. Closes: 769508 --- 50spacewalk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/50spacewalk b/50spacewalk index 2c3264c..e86ffa1 100644 --- a/50spacewalk +++ b/50spacewalk @@ -11,5 +11,5 @@ APT { } }; DPkg::Post-Invoke { - "/usr/lib/apt-spacewalk/post_invoke.py"; + "[ ! -e /usr/lib/apt-spacewalk/post_invoke.py ] || /usr/lib/apt-spacewalk/post_invoke.py"; }; -- 2.1.3
>From aa35cae6a4421cb499b488b2f6bf09e41ce717d3 Mon Sep 17 00:00:00 2001 From: Andreas Bombe <a...@debian.org> Date: Sat, 22 Nov 2014 18:44:05 +0100 Subject: [PATCH 2/2] Changelog for NMU upload 1.0.6-4.1 --- debian/changelog | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/debian/changelog b/debian/changelog index 4adf866..0479a87 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,11 @@ +apt-spacewalk (1.0.6-4.1) unstable; urgency=medium + + * Non-maintainer upload. + * Check for post_invoke.py to exist before attempting to invoke it + (Closes: 769508) + + -- Andreas Bombe <a...@debian.org> Sat, 22 Nov 2014 18:42:41 +0100 + apt-spacewalk (1.0.6-4) unstable; urgency=medium * [99f9479e] Integrate NMU that went missing. -- 2.1.3