forked from pool/dos2unix
- Don't generate ps/pdf documents, thus no need for ghostscript.
OBS-URL: https://build.opensuse.org/package/show/Base:System/dos2unix?expand=0&rev=28
This commit is contained in:
parent
3b536f4d98
commit
f5c4971962
15
dos2unix-no_pdf.patch
Normal file
15
dos2unix-no_pdf.patch
Normal file
@ -0,0 +1,15 @@
|
||||
We don't need either ps nor pdf.
|
||||
|
||||
Index: Makefile
|
||||
===================================================================
|
||||
--- Makefile.orig 2011-02-15 17:44:49.000000000 +0100
|
||||
+++ Makefile 2011-02-15 17:47:59.872343582 +0100
|
||||
@@ -77,7 +77,7 @@ ifdef ENABLE_NLS
|
||||
MOFILES = $(DOS2UNIX_MOFILES) $(UNIX2DOS_MOFILES)
|
||||
endif
|
||||
|
||||
-DOCFILES = $(PACKAGE).txt $(PACKAGE).ps $(PACKAGE).pdf $(PACKAGE).html
|
||||
+DOCFILES = $(PACKAGE).txt $(PACKAGE).html
|
||||
INSTALL_OBJS_DOC = README.txt NEWS.txt ChangeLog.txt COPYING.txt TODO.txt BUGS.txt $(DOCFILES)
|
||||
|
||||
#PODFILES = man/man1/dos2unix.pod $(wildcard man/*/man1/dos2unix.pod)
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 15 17:50:05 CET 2011 - pth@suse.de
|
||||
|
||||
- Don't generate ps/pdf documents, thus no need for ghostscript.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 3 18:03:40 CET 2011 - pth@suse.de
|
||||
|
||||
|
@ -18,7 +18,7 @@
|
||||
|
||||
|
||||
Name: dos2unix
|
||||
BuildRequires: xz ghostscript-library
|
||||
BuildRequires: xz
|
||||
Summary: Text converters to and from DOS/MAC to UNIX
|
||||
Version: 5.2
|
||||
Release: 1
|
||||
@ -27,6 +27,7 @@ License: BSD3c
|
||||
Url: http://www.xs4all.nl/~waterlan/#DOS2UNIX
|
||||
Source: %{name}-%{version}.tar.xz
|
||||
Patch0: dos2unix-correct_ending.patch
|
||||
Patch1: dos2unix-no_pdf.patch
|
||||
Provides: unix2dos = %{version}
|
||||
Obsoletes: unix2dos < %{version}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
@ -41,6 +42,7 @@ format to DOS format and unix2dos converts from UNIX to MAC format.
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0
|
||||
%patch1
|
||||
find . -type f | xargs chmod -x
|
||||
|
||||
%build
|
||||
|
Loading…
Reference in New Issue
Block a user