upgrade to 3.09
This commit is contained in:
parent
cf70ecc764
commit
8a1ecbbbd4
@ -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);
|
||||
Binary file not shown.
BIN
epstool-3.09.tar.gz
Normal file
BIN
epstool-3.09.tar.gz
Normal file
Binary file not shown.
12
epstool.spec
12
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 <jiangxinyu@kylinos.cn> - 3.09-1
|
||||
- upgrade to 3.09
|
||||
|
||||
* Tue May 05 2020 Hubble Zhu <zhuhengbo1@huawei.com> - 3.08-1
|
||||
- First release.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user