rpms/a2ps/devel a2ps-tmpdir.patch,NONE,1.1 a2ps.spec,1.31,1.32
fedora-cvs-commits at redhat.com
fedora-cvs-commits at redhat.com
Wed Feb 15 11:19:41 UTC 2006
Author: twaugh
Update of /cvs/dist/rpms/a2ps/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv13652
Modified Files:
a2ps.spec
Added Files:
a2ps-tmpdir.patch
Log Message:
* Wed Feb 15 2006 Tim Waugh <twaugh at redhat.com> 4.13b-49
- Use mktemp in scripts.
a2ps-tmpdir.patch:
fixps.in | 2 +-
pdiff.in | 2 +-
psmandup.in | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
--- NEW FILE a2ps-tmpdir.patch ---
--- a2ps-4.13/contrib/psmandup.in.tmpdir 2006-02-15 11:03:50.000000000 +0000
+++ a2ps-4.13/contrib/psmandup.in 2006-02-15 11:03:50.000000000 +0000
@@ -36,7 +36,7 @@
message=
psselect=${PSSELECT:-psselect}
psset=${PSSET:-psset}
-tmpdir=/tmp/$program.$$
+tmpdir=$(mktemp -d /tmp/$program.XXXXXX)
# These two must be kept in synch. They are opposed.
verbose=echo
--- a2ps-4.13/contrib/fixps.in.tmpdir 2006-02-15 11:06:07.000000000 +0000
+++ a2ps-4.13/contrib/fixps.in 2006-02-15 11:06:33.000000000 +0000
@@ -38,7 +38,7 @@
run_gs=0
# What action to perform: fixps, cat, check, and gs
task=fixps
-tmpdir=/tmp/$program.$$
+tmpdir=$(mktemp -d /tmp/$program.XXXXXX)
verbose=echo
# The version/usage strings
--- a2ps-4.13/contrib/pdiff.in.tmpdir 2006-02-15 11:05:44.000000000 +0000
+++ a2ps-4.13/contrib/pdiff.in 2006-02-15 11:05:56.000000000 +0000
@@ -34,7 +34,7 @@
diff_options='-u'
file=
output=
-tmpdir=/tmp/$program.$$
+tmpdir=$(mktemp -d /tmp/$program.XXXXXX)
verbose=echo
wdiff_prog=${WDIFF:-wdiff}
wdiff_options='-w[wd- -x-wd] -y{wd+ -z+wd}'
Index: a2ps.spec
===================================================================
RCS file: /cvs/dist/rpms/a2ps/devel/a2ps.spec,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -r1.31 -r1.32
--- a2ps.spec 11 Feb 2006 02:41:22 -0000 1.31
+++ a2ps.spec 15 Feb 2006 11:19:38 -0000 1.32
@@ -1,5 +1,5 @@
%define ver 4.13b
-%define rel 48.3
+%define rel 49
Summary: Converts text and other types of files to PostScript(TM).
Name: a2ps
@@ -15,6 +15,7 @@
Patch3: a2ps-4.13-security.patch
Patch4: a2ps-4.13-glibcpaper.patch
Patch5: a2ps-4.13-varargs.patch
+Patch6: a2ps-tmpdir.patch
# EUC-JP support
Patch10: a2ps-4.13-eucjp.patch.bz2
Patch11: a2ps-4.13-autoenc.patch
@@ -59,6 +60,7 @@
%patch3 -p1 -b .security
%patch4 -p1 -b .glibcpaper
%patch5 -p1
+%patch6 -p1 -b .tmpdir
%patch10 -p1 -b .euc
%patch11 -p1 -b .ae
@@ -226,6 +228,9 @@
%dir %{_datadir}/a2ps
%changelog
+* Wed Feb 15 2006 Tim Waugh <twaugh at redhat.com> 4.13b-49
+- Use mktemp in scripts.
+
* Fri Feb 10 2006 Jesse Keating <jkeating at redhat.com> - 4.13b-48.3
- bump again for double-long bug on ppc(64)
More information about the fedora-cvs-commits
mailing list