Accepting request 70906 from home:paskov:branches:Base:System

Version update to 5.3

OBS-URL: https://build.opensuse.org/request/show/70906
OBS-URL: https://build.opensuse.org/package/show/Base:System/dos2unix?expand=0&rev=30
This commit is contained in:
Cristian Rodríguez 2011-05-21 17:40:54 +00:00 committed by Git OBS Bridge
parent f5c4971962
commit 8e6cad9343
6 changed files with 24 additions and 33 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:03ae3f10826dcfc3f40c577b12a5aa7c97e17cbed73f49ca5c0225b6e5bbd302
size 34580

3
dos2unix-5.3.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9ac403a207c938e86d9387b82aaf41c27f7e158acbce15a81cddab2cf030c235
size 62325

View File

@ -1,17 +1,16 @@
Index: Makefile
===================================================================
--- Makefile.orig 2011-01-31 22:06:08.000000000 +0100
+++ Makefile 2011-02-03 18:45:16.548761128 +0100
@@ -77,7 +77,7 @@ ifdef ENABLE_NLS
diff -rupN dos2unix-5.3.orig//Makefile dos2unix-5.3//Makefile
--- dos2unix-5.3.orig//Makefile 2011-05-21 19:34:56.217828000 +0300
+++ dos2unix-5.3//Makefile 2011-05-21 19:39:38.670827981 +0300
@@ -94,7 +94,7 @@ ifdef ENABLE_NLS
MOFILES = $(DOS2UNIX_MOFILES) $(UNIX2DOS_MOFILES)
endif
-DOCFILES = $(PACKAGE).txt $(PACKAGE).ps $(PACKAGE).pdf $(PACKAGE).htm
+DOCFILES = $(PACKAGE).txt $(PACKAGE).ps $(PACKAGE).pdf $(PACKAGE).html
-DOCFILES = $(PACKAGE).txt $(PACKAGE).htm
+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)
@@ -249,7 +249,7 @@ $(UNIX2DOS_POT) : unix2dos.c
@@ -293,7 +293,7 @@ $(UNIX2DOS_POT) : unix2dos.c
%.pdf: %.ps
ps2pdf $< $@
@ -20,3 +19,4 @@ Index: Makefile
pod2html --title="$(PACKAGE) $(DOS2UNIX_VERSION) - DOS/MAC to UNIX and vice versa text file format converter" $< > $@
install: all
Binary files dos2unix-5.3.orig//.Makefile.swp and dos2unix-5.3//.Makefile.swp differ

View File

@ -1,15 +0,0 @@
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)

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Sat May 21 16:59:14 UTC 2011 - vlado.paskov@gmail.com
- Version update to 5.3
- removed patch dos2unix-no_pdf.patch, this version doesn't
generate pdf/ps documents.
- updated dos2unix-correct_ending.patch
- fixed Url: in the spec file
-------------------------------------------------------------------
Tue Feb 15 17:50:05 CET 2011 - pth@suse.de

View File

@ -18,16 +18,14 @@
Name: dos2unix
BuildRequires: xz
Summary: Text converters to and from DOS/MAC to UNIX
Version: 5.2
Version: 5.3
Release: 1
Group: Productivity/Text/Convertors
License: BSD3c
Url: http://www.xs4all.nl/~waterlan/#DOS2UNIX
Source: %{name}-%{version}.tar.xz
Url: http://www.xs4all.nl/~waterlan/#DOS2UNIX
Source: %{name}-%{version}.tar.gz
Patch0: dos2unix-correct_ending.patch
Patch1: dos2unix-no_pdf.patch
Provides: unix2dos = %{version}
Obsoletes: unix2dos < %{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -41,8 +39,7 @@ format to DOS format and unix2dos converts from UNIX to MAC format.
%prep
%setup -q
%patch0
%patch1
%patch0 -p1
find . -type f | xargs chmod -x
%build