From 1015b7cd3c17fa9ad191e1aa696e3ad80dee8496 Mon Sep 17 00:00:00 2001 From: "Ralf S. Engelschall" Date: Wed, 17 Feb 2010 17:16:40 +0000 Subject: [PATCH] upgrading package: dos2unix 4.1.2 -> 5.0 --- dos2unix/dos2unix.patch | 6 +++--- dos2unix/dos2unix.spec | 20 ++++++++++++-------- 2 files changed, 15 insertions(+), 11 deletions(-) diff --git a/dos2unix/dos2unix.patch b/dos2unix/dos2unix.patch index 0f9bcefc47..340eb1f9ad 100644 --- a/dos2unix/dos2unix.patch +++ b/dos2unix/dos2unix.patch @@ -1,6 +1,6 @@ -Index: dos2unix-4.1.2/Makefile ---- dos2unix-4.1.2/Makefile.orig 2009-12-28 14:49:53 +0100 -+++ dos2unix-4.1.2/Makefile 2010-01-22 22:37:20 +0100 +Index: dos2unix-5.0/Makefile +--- dos2unix-5.0/Makefile.orig 2009-12-28 14:49:53 +0100 ++++ dos2unix-5.0/Makefile 2010-01-22 22:37:20 +0100 @@ -9,8 +9,6 @@ PACKAGE=dos2unix MAC2UNIX=mac2unix diff --git a/dos2unix/dos2unix.spec b/dos2unix/dos2unix.spec index 102acfc2f8..4744f862ed 100644 --- a/dos2unix/dos2unix.spec +++ b/dos2unix/dos2unix.spec @@ -21,6 +21,10 @@ ## SUCH DAMAGE. ## +# package version +%define V_dos2unix 5.0 +%define V_unix2dos 4.1.2 + # package information Name: dos2unix Summary: DOS/MAC to UNUIX Text File Format Converter @@ -31,12 +35,12 @@ Distribution: OpenPKG Community Class: BASE Group: Charset License: GPL -Version: 4.1.2 -Release: 20100125 +Version: 5.0 +Release: 20100217 # list of sources -Source0: http://www.xs4all.nl/~waterlan/dos2unix/dos2unix-%{version}.tar.gz -Source1: http://www.xs4all.nl/~waterlan/unix2dos/unix2dos-%{version}.tar.gz +Source0: http://www.xs4all.nl/~waterlan/dos2unix/dos2unix-%{V_dos2unix}.tar.gz +Source1: http://www.xs4all.nl/~waterlan/unix2dos/unix2dos-%{V_unix2dos}.tar.gz Patch0: dos2unix.patch # build information @@ -53,12 +57,12 @@ AutoReqProv: no %track prog dos2unix:dos2unix = { - version = %{version} + version = %{V_dos2unix} url = http://www.xs4all.nl/~waterlan/dos2unix.html regex = dos2unix-(__VER__)\.tar\.gz } prog dos2unix:unix2dos = { - version = %{version} + version = %{V_unix2dos} url = http://www.xs4all.nl/~waterlan/dos2unix.html regex = unix2dos-(__VER__)\.tar\.gz } @@ -69,12 +73,12 @@ AutoReqProv: no %patch -p0 %build - ( cd dos2unix-%{version} + ( cd dos2unix-%{V_dos2unix} %{l_make} %{l_mflags} \ CC="%{l_cc} %{l_cflags -O}" \ dos2unix ) || exit $? - ( cd unix2dos-%{version} + ( cd unix2dos-%{V_unix2dos} %{l_make} %{l_mflags} \ CC="%{l_cc} %{l_cflags -O}" \ unix2dos