Bladeren bron

upgrading package: dos2unix 4.1.2 -> 5.0

master
Dr. Ralf S. Engelschall 16 jaren geleden
bovenliggende
commit
1015b7cd3c
  1. 6
      dos2unix/dos2unix.patch
  2. 20
      dos2unix/dos2unix.spec

6
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

20
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

Laden…
Annuleren
Opslaan