diff --git a/epstool-3.08-gcc43.patch b/epstool-3.08-gcc43.patch deleted file mode 100644 index 398ce08..0000000 --- a/epstool-3.08-gcc43.patch +++ /dev/null @@ -1,20 +0,0 @@ ---- epstool-3.08.orig/src/epstool.c 2005-06-10 04:41:00.000000000 -0500 -+++ epstool-3.08/src/epstool.c 2009-02-16 20:55:43.186140029 -0600 -@@ -2824,7 +2824,7 @@ - code = -1; - } - if ((code==0) && stdout_name && (hChildStdoutWr == -1)) { -- handle = open(stdout_name, O_WRONLY | O_CREAT); -+ handle = open(stdout_name, O_WRONLY | O_CREAT, 0644); - hChildStdoutWr = dup2(handle, 1); - if (handle != -1) - close(handle); -@@ -2832,7 +2832,7 @@ - code = -1; - } - if ((code==0) && stderr_name && (hChildStderrWr == -1)) { -- handle = open(stderr_name, O_WRONLY | O_CREAT); -+ handle = open(stderr_name, O_WRONLY | O_CREAT, 0644); - hChildStderrWr = dup2(handle, 2); - if (handle != -1) - close(handle); diff --git a/epstool-3.08.tar.gz b/epstool-3.08.tar.gz deleted file mode 100644 index 82ba7b7..0000000 Binary files a/epstool-3.08.tar.gz and /dev/null differ diff --git a/epstool-3.09.tar.gz b/epstool-3.09.tar.gz new file mode 100644 index 0000000..bb1a0b9 Binary files /dev/null and b/epstool-3.09.tar.gz differ diff --git a/epstool.spec b/epstool.spec index de5451a..04ae0b0 100644 --- a/epstool.spec +++ b/epstool.spec @@ -1,12 +1,10 @@ Name: epstool -Version: 3.08 -Release: 1%{?dist} +Version: 3.09 +Release: 1 Summary: A utility to create or extract preview images in EPS files License: GPLv2+ URL: http://pages.cs.wisc.edu/~ghost/gsview/epstool.htm -Source0: http://mirror.cs.wisc.edu/pub/mirrors/ghost/ghostgum/%{name}-%{version}.tar.gz -# Patch to compile with gcc 4.3 and newer (taken from Gentoo) -Patch0: epstool-3.08-gcc43.patch +Source0: http://www.ghostgum.com.au/download/%{name}-%{version}.tar.gz BuildRequires: gcc @@ -26,7 +24,6 @@ Features: %prep %setup -q -%patch0 -p1 %build # SMP build doesn't work. @@ -43,5 +40,8 @@ install -D -p -m 644 doc/epstool.1 %{buildroot}%{_mandir}/man1/epstool.1 %{_mandir}/man1/epstool.1.* %changelog +* Wed Dec 15 2021 jiangxinyu - 3.09-1 +- upgrade to 3.09 + * Tue May 05 2020 Hubble Zhu - 3.08-1 - First release.