diff --git a/a2ps-tmpdir.patch b/a2ps-tmpdir.patch index 77cb9d1..fe6be21 100644 --- a/a2ps-tmpdir.patch +++ b/a2ps-tmpdir.patch @@ -46,3 +46,13 @@ verbose=echo wdiff_prog=${WDIFF:-wdiff} wdiff_options='-w[wd- -x-wd] -y{wd+ -z+wd}' +--- a2ps-4.13/contrib/pdiff.in.tmpdir 1999-10-24 16:07:51.000000000 +0100 ++++ a2ps-4.13/contrib/pdiff.in 2007-02-28 13:30:36.000000000 +0000 +@@ -67,6 +67,7 @@ + + help="Try \`$program --help' for more information." + ++trap "/bin/rm -rf $tmpdir" 0 1 2 3 13 15 + + # Parse command line arguments. + option_without_arguments='vhsqDlw' diff --git a/a2ps.spec b/a2ps.spec index 1199f9e..4b590ab 100644 --- a/a2ps.spec +++ b/a2ps.spec @@ -248,6 +248,7 @@ exit 0 %changelog * Wed Feb 28 2007 Tim Waugh +- Clean up tmpdir in pdiff (bug #214400). - Fixed permissions on C source files (bug #225235). - Use %%configure (bug #225235). - Preserve timestamps (bug #225235).