[DRE-commits] r1561 - packages-wip/mongrel/trunk/debian

Filipe Lautert filipe-guest at alioth.debian.org
Sat May 12 21:21:16 UTC 2007


Author: filipe-guest
Date: 2007-05-12 21:21:15 +0000 (Sat, 12 May 2007)
New Revision: 1561

Modified:
   packages-wip/mongrel/trunk/debian/rules
Log:
* Removed gem cheats.



Modified: packages-wip/mongrel/trunk/debian/rules
===================================================================
--- packages-wip/mongrel/trunk/debian/rules	2007-05-12 20:46:26 UTC (rev 1560)
+++ packages-wip/mongrel/trunk/debian/rules	2007-05-12 21:21:15 UTC (rev 1561)
@@ -12,34 +12,9 @@
 
 DEB_RUBY_CONFIG_ARGS = --installdirs=std --shebang=all
 
-# Upstream distributes only "Ruby gems". What do we do? Just gzip the gem
-# and use it as our orig.tar.gz - A gem contains two files: metadata.gz
-# (a YAML package description for the Ruby Gems package system) and 
-# data.tar.gz, which we unceremoniously unpack right here, right now.
-# And why do we hide tar's STDERR? Well, our upstream author ships tarballs
-# made in December 1969 - tar complains too much, at every line. We can just
-# skip it (and enable it in case we think it is necessary)
-reverse-config::
-	tar xzf data.tar.gz 2>/dev/null
-	touch README
-
-# Usually, we would run unpatch here. Sadly, setup.rb modifies bin/mongrel*,
-# replacing /usr/bin/ruby by /usr/bin/ruby1.8 (or something like that). Ok, so
-# we don't depend on unpatch for clean, but do remove all of its tracks: 
-# patch-stamp and debian/patched. Niiiiice.
-#clean::
-#	dh_testdir
-#	dh_testroot
-#	dh_clean
-#	[ ! -f setup.rb ] || ruby setup.rb clean
-#	rm -rf $(BUILDDIR)
-#	rm -rf bin doc examples ext lib test tools COPYING LICENSE \
-#		README Rakefile setup.rb patch-stamp debian/patched/
-
 install::
 	-find $(CURDIR)/debian -type d | xargs \
 		rmdir -p --ignore-fail-on-non-empty
 
 build/mongrel::
-	dh_installman debian/mongrel_rails.1\
-		debian/mongrel.1
+	dh_installman debian/mongrel_rails.1




More information about the Pkg-ruby-extras-commits mailing list