Source: scsh-0.6
Version: 0.6.7-8
Author: Guillem Jover <guillem@debian.org>
Status: applied
Debbug: 473602
Description:
 Use arch wildcards instead of generating them via type-handling


diff --git a/debian/control b/debian/control
index 2e85d1a..ce9e23d 100644
--- a/debian/control
+++ b/debian/control
@@ -4,11 +4,13 @@ Priority: optional
 Maintainer: Scheme48 Maintainers Task Force <pkg-scheme48-maintainers@lists.alioth.debian.org>
 Uploaders: Lionel Elie Mamane <lmamane@debian.org>, Jorgen Schäfer <forcer@debian.org>
 Standards-Version: 3.8.3
-Build-Depends: debhelper (>= 7), libelfg0-dev, type-handling
+Build-Depends: debhelper (>= 7), libelfg0-dev
 Homepage: http://www.scsh.net/
 
 Package: scsh-0.6
-Architecture: darwin-arm freebsd-arm hurd-arm kfreebsd-arm knetbsd-arm kopensolaris-arm arm netbsd-arm openbsd-arm solaris-arm ucarm darwin-armeb freebsd-armeb hurd-armeb kfreebsd-armeb knetbsd-armeb kopensolaris-armeb armeb netbsd-armeb openbsd-armeb solaris-armeb ucarmeb armel ucarmel darwin-avr32 freebsd-avr32 hurd-avr32 kfreebsd-avr32 knetbsd-avr32 kopensolaris-avr32 avr32 netbsd-avr32 openbsd-avr32 solaris-avr32 ucavr32 darwin-hppa freebsd-hppa hurd-hppa kfreebsd-hppa knetbsd-hppa kopensolaris-hppa hppa netbsd-hppa openbsd-hppa solaris-hppa uchppa darwin-i386 freebsd-i386 hurd-i386 kfreebsd-i386 knetbsd-i386 kopensolaris-i386 i386 netbsd-i386 openbsd-i386 solaris-i386 uci386 darwin-m32r freebsd-m32r hurd-m32r kfreebsd-m32r knetbsd-m32r kopensolaris-m32r m32r netbsd-m32r openbsd-m32r solaris-m32r ucm32r darwin-m68k freebsd-m68k hurd-m68k kfreebsd-m68k knetbsd-m68k kopensolaris-m68k m68k netbsd-m68k openbsd-m68k solaris-m68k ucm68k darwin-mips freebsd-mips hurd-mips kfreebsd-mips knetbsd-mips kopensolaris-mips mips netbsd-mips openbsd-mips solaris-mips ucmips darwin-mipsel freebsd-mipsel hurd-mipsel kfreebsd-mipsel knetbsd-mipsel kopensolaris-mipsel mipsel netbsd-mipsel openbsd-mipsel solaris-mipsel ucmipsel darwin-powerpc freebsd-powerpc hurd-powerpc kfreebsd-powerpc knetbsd-powerpc kopensolaris-powerpc powerpc netbsd-powerpc openbsd-powerpc solaris-powerpc ucpowerpc darwin-s390 freebsd-s390 hurd-s390 kfreebsd-s390 knetbsd-s390 kopensolaris-s390 s390 netbsd-s390 openbsd-s390 solaris-s390 ucs390 darwin-sh3 freebsd-sh3 hurd-sh3 kfreebsd-sh3 knetbsd-sh3 kopensolaris-sh3 sh3 netbsd-sh3 openbsd-sh3 solaris-sh3 ucsh3 darwin-sh3eb freebsd-sh3eb hurd-sh3eb kfreebsd-sh3eb knetbsd-sh3eb kopensolaris-sh3eb sh3eb netbsd-sh3eb openbsd-sh3eb solaris-sh3eb ucsh3eb darwin-sh4 freebsd-sh4 hurd-sh4 kfreebsd-sh4 knetbsd-sh4 kopensolaris-sh4 sh4 netbsd-sh4 openbsd-sh4 solaris-sh4 ucsh4 darwin-sh4eb freebsd-sh4eb hurd-sh4eb kfreebsd-sh4eb knetbsd-sh4eb kopensolaris-sh4eb sh4eb netbsd-sh4eb openbsd-sh4eb solaris-sh4eb ucsh4eb darwin-sparc freebsd-sparc hurd-sparc kfreebsd-sparc knetbsd-sparc kopensolaris-sparc sparc netbsd-sparc openbsd-sparc solaris-sparc ucsparc
+Architecture: any-i386 any-arm any-armel any-armeb any-avr32 any-hppa
+ any-m32r any-m68k any-mips any-mipsel any-powerpc any-s390 any-sh3
+ any-sh3eb any-sh4 any-sh4eb any-sparc
 Depends: ${shlibs:Depends}, scsh-common-0.6 (= ${source:Version})
 Replaces: scsh (<= 0.6.6-3)
 Conflicts: scsh (<= 0.6.6-3)
diff --git a/debian/control.in b/debian/control.in
deleted file mode 100644
index 99e9fae..0000000
--- a/debian/control.in
+++ /dev/null
@@ -1,82 +0,0 @@
-Source: scsh-0.6
-Section: interpreters
-Priority: optional
-Maintainer: Scheme48 Maintainers Task Force <pkg-scheme48-maintainers@lists.alioth.debian.org>
-Uploaders: Lionel Elie Mamane <lmamane@debian.org>, Jorgen Schäfer <forcer@debian.org>
-Standards-Version: 3.8.3
-Build-Depends: debhelper (>= 7), libelfg0-dev, type-handling
-Homepage: http://www.scsh.net/
-
-Package: scsh-0.6
-Cpu: i386,arm,armel,armeb,avr32,hppa,m32r,m68k,mips,mipsel,powerpc,s390,sh3,sh3eb,sh4,sh4eb,sparc
-System: any
-Depends: ${shlibs:Depends}, scsh-common-0.6 (= ${source:Version})
-Replaces: scsh (<= 0.6.6-3)
-Conflicts: scsh (<= 0.6.6-3)
-Suggests: scsh-0.6-doc
-Description: A `scheme' interpreter designed for writing system programs
- Scsh has a high-level process notation for doing shell-script like
- tasks: running programs, establishing pipelines and I/O redirection.
- Scsh embeds this process notation within a full implementation of
- Scheme, a minimal and clean dialect of the Lisp programming language.
- The process notation is realized as a set of macro definitions, and
- is carefully designed to allow full integration with standard Scheme
- code. Scsh isn't Scheme-like; it is Scheme.
- .
- At the scripting level, scsh also has an Awk design, also implemented
- as a macro that can be embedded inside general Scheme code.
- .
- Scsh additionally provides the low-level access to the operating
- system normally associated with C. The current release provides full
- access to POSIX, plus important non-POSIX extensions, such as
- complete sockets support. "Full access to POSIX" means: fork, exec &
- wait, sockets, full read, write, open & close, seek & tell, complete
- file-system access, including stat, chmod/chgrp/chown, symlink, FIFO
- & directory access, tty & pty support, file locking, pipes, select,
- file-name pattern-matching, time & date, environment variables,
- signal handlers, and more.
-
-Package: scsh-common-0.6
-Architecture: all
-Depends: ${misc:Depends}
-Replaces: scsh (<= 0.6.6-3)
-Conflicts: scsh (<= 0.6.6-3)
-Suggests: scsh-0.6-doc
-Description: A `scheme' interpreter designed for writing system programs
- Scsh has a high-level process notation for doing shell-script like
- tasks: running programs, establishing pipelines and I/O redirection.
- Scsh embeds this process notation within a full implementation of
- Scheme, a minimal and clean dialect of the Lisp programming language.
- The process notation is realized as a set of macro definitions, and
- is carefully designed to allow full integration with standard Scheme
- code. Scsh isn't Scheme-like; it is Scheme.
- .
- At the scripting level, scsh also has an Awk design, also implemented
- as a macro that can be embedded inside general Scheme code.
- .
- Scsh additionally provides the low-level access to the operating
- system normally associated with C. The current release provides full
- access to POSIX, plus important non-POSIX extensions, such as
- complete sockets support. "Full access to POSIX" means: fork, exec &
- wait, sockets, full read, write, open & close, seek & tell, complete
- file-system access, including stat, chmod/chgrp/chown, symlink, FIFO
- & directory access, tty & pty support, file locking, pipes, select,
- file-name pattern-matching, time & date, environment variables,
- signal handlers, and more.
- .
- This package contains the architecture-independent files.
-
-Package: scsh-0.6-doc
-Section: doc
-Architecture: all
-Depends: ${misc:Depends}
-Replaces: scsh-doc (<= 0.6.6-3)
-Conflicts: scsh-doc (<= 0.6.6-3)
-Description: Documentation for scsh, "The Scheme Shell"
- This package contains the documentation for scsh: The Scheme Shell.
- Scsh is used for shell-script like tasks.
- .
- Included in the package are the scsh manual (in html and postscript),
- the s48 manual (the scheme that scsh is based on) (in html and
- postscript), a paper written in 1994 describing scsh, and some
- miscellaneous documentation.
diff --git a/debian/rules b/debian/rules
index f9cdccd..6775775 100755
--- a/debian/rules
+++ b/debian/rules
@@ -50,15 +50,6 @@ touch-autogens:
 # in the GNU Emacs.
 EMACS = emacs
 
-control_cpu             := $(shell grep "^Cpu:" debian/control.in | sed -e "s/^.*: //g" -e "s/ /,/g")
-control_system          := $(shell grep "^System:" debian/control.in | sed -e "s/^.*: //g" -e "s/ /,/g")
-control_arch            = $(shell type-handling $(control_cpu) $(control_system))
-debian/control: debian/control.in
-	@sed \
-		-e "s/^Cpu: .*/Architecture: $(control_arch)/g" \
-		-e "/^System: /d" \
-	< debian/control.in  > debian/control
-
 build: build-stamp
 build-stamp: configure
 	dh_testdir
