I've attached a patch to improve the cl-rt module. Here's an excerpt
from the changelog:

cl-rt (20040621-4.1) unstable; urgency=low

  * Non-maintainer patch sent to package Maintainer (not NMU)
  * debian/rules
  - Simplified rules to a minimum
  - Now uses dh_lisp
  - Ported to Debhelper 7
  * debian/compat
  - Change to version 7
  * debian/control
  - Add dh-lisp to Build-Depends-Indep
  - Remove unneccesary ${shlibs:Depends}. Added ${misc:Depends}
  - Updated standards-version (no other changes)
  * debian/prerm, debian/postinst
  - Removed as now taken care of by dh_lisp
  * debian/watch
  - New file explaining that there is no versioned upstream source

I hope that you find the diff helpful

-- 
Kevin Rosenberg
[email protected]

diff -ruw /home/kevin/tmp/cl-rt-20040621/debian/changelog debian/changelog
--- /home/kevin/tmp/cl-rt-20040621/debian/changelog	2009-08-12 11:22:10.000000000 -0600
+++ debian/changelog	2009-08-12 11:37:15.547324001 -0600
@@ -1,3 +1,23 @@
+cl-rt (20040621-4.1) unstable; urgency=low
+
+  * Non-maintainer patch sent to package Maintainer (not NMU)
+  * debian/rules
+  - Simplified rules to a minimum
+  - Now uses dh_lisp
+  - Ported to Debhelper 7
+  * debian/compat
+  - Change to version 7
+  * debian/control
+  - Add dh-lisp to Build-Depends-Indep
+  - Remove unneccesary ${shlibs:Depends}. Added ${misc:Depends}
+  - Updated standards-version (no other changes)
+  * debian/prerm, debian/postinst
+  - Removed as now taken care of by dh_lisp
+  * debian/watch
+  - New file explaining that there is no versioned upstream source
+  
+ -- Kevin M. Rosenberg <[email protected]>  Wed, 12 Aug 2009 11:30:00 -0600
+
 cl-rt (20040621-3) unstable; urgency=low
 
   * Changed to group maintanance
diff -ruw /home/kevin/tmp/cl-rt-20040621/debian/compat debian/compat
--- /home/kevin/tmp/cl-rt-20040621/debian/compat	2009-08-12 11:22:10.000000000 -0600
+++ debian/compat	2009-08-12 11:27:47.938601938 -0600
@@ -1 +1 @@
-4
+7
diff -ruw /home/kevin/tmp/cl-rt-20040621/debian/control debian/control
--- /home/kevin/tmp/cl-rt-20040621/debian/control	2009-08-12 11:22:10.000000000 -0600
+++ debian/control	2009-08-12 11:30:19.768424257 -0600
@@ -3,17 +3,17 @@
 Priority: optional
 Maintainer: Debian Common Lisp Team <[email protected]>
 Uploaders: Peter Van Eynde <[email protected]>
-Build-Depends: debhelper (>= 4.0.0)
-Standards-Version: 3.7.3
+Build-Depends-Indep: dh-lisp
+Build-Depends: debhelper (>= 7.0.0)
+Standards-Version: 3.8.2.0
 Homepage: http://www-2.cs.cmu.edu/afs/cs/project/ai-repository/ai/lang/lisp/code/testing/rt/
 Vcs-Git: http://git.debian.org/git/pkg-common-lisp/cl-rt.git
 
 Package: cl-rt
 Architecture: all
-Depends: ${shlibs:Depends}, common-lisp-controller (>= 3.37)
+Depends: ${misc:Depends}
 Description: Common Lisp regression tester from MIT
  This is MIT's regression tester for Common Lisp programs. It provides a 
  framework for writing
  regression tests for Common Lisp packages. This package includes
  Paul Dietz's modifications to the original MIT release.
-
Only in /home/kevin/tmp/cl-rt-20040621/debian: postinst
Only in /home/kevin/tmp/cl-rt-20040621/debian: prerm
diff -ruw /home/kevin/tmp/cl-rt-20040621/debian/rules debian/rules
--- /home/kevin/tmp/cl-rt-20040621/debian/rules	2009-08-12 11:22:10.000000000 -0600
+++ debian/rules	2009-08-12 11:32:24.336483193 -0600
@@ -3,68 +3,41 @@
 pkg	:= rt
 debpkg  := cl-rt
 
-
 clc-source	:= usr/share/common-lisp/source
-clc-systems	:= usr/share/common-lisp/systems
-clc-rt	:= $(clc-source)/$(pkg)
-
-doc-dir		:= usr/share/doc/$(debpkg)
-
-
-configure: configure-stamp
-configure-stamp:
-	dh_testdir
-	# Add here commands to configure the package.
-
-	touch configure-stamp
+clc-files	:= $(clc-source)/$(pkg)
 
 
-build: build-stamp
-
-build-stamp: configure-stamp 
-	dh_testdir
-	# Add here commands to compile the package.
-	touch build-stamp
+build:
 
 clean:
 	dh_testdir
 	dh_testroot
-	rm -f build-stamp configure-stamp
-	# Add here commands to clean up after the build process.
-	rm -f debian/cl-rt.postinst.* debian/cl-rt.prerm.*
 	dh_clean
 
 install: build
 	dh_testdir
 	dh_testroot
-	dh_clean -k
-	# Add here commands to install the package into debian/rt.
-	dh_installdirs $(clc-systems) $(clc-rt)
-	dh_install rt.asd rt.lisp $(clc-rt)
-	dh_link $(clc-rt)/rt.asd $(clc-systems)/rt.asd
-
+	dh_prep
+	dh_installdirs
+	dh_install $(pkg).asd $(pkg).lisp $(clc-files)
 
+binary-arch:
 
-# Build architecture-dependent files here.
-binary-arch: build install
-
-
-# Build architecture-independent files here.
-binary-indep: build install
+binary-indep: install
 	dh_testdir
 	dh_testroot
 	dh_installdocs rt-doc.txt
 	dh_installexamples rt-test.lisp
 	dh_installchangelogs
-	dh_strip
+	dh_lisp
 	dh_compress
 	dh_fixperms
 	dh_installdeb
-	dh_shlibdeps
 	dh_gencontrol
 	dh_md5sums
 	dh_builddeb
 
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install configure
+binary: binary-indep
+
 
+.PHONY: build clean binary-indep binary-arch binary install
diff -ruw /home/kevin/tmp/cl-rt-20040621/debian/watch debian/watch
--- /home/kevin/tmp/cl-rt-20040621/debian/watch	2009-08-12 11:38:18.859420344 -0600
+++ debian/watch	2009-08-12 11:34:15.647684672 -0600
@@ -0,0 +1 @@
+# There is no versioned upstream file at the package's homepage

Attachment: signature.asc
Description: Digital signature

_______________________________________________
pkg-common-lisp-devel mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/pkg-common-lisp-devel

Reply via email to