[Pkg-mono-svn-commits] rev 3863 - moon/trunk/debian
Jo Shields
directhex-guest at alioth.debian.org
Wed Dec 3 00:35:43 UTC 2008
Author: directhex-guest
Date: 2008-12-03 00:35:43 +0000 (Wed, 03 Dec 2008)
New Revision: 3863
Modified:
moon/trunk/debian/rules
moon/trunk/debian/watch
Log:
Fix uscan rules
Modified: moon/trunk/debian/rules
===================================================================
--- moon/trunk/debian/rules 2008-12-02 18:05:13 UTC (rev 3862)
+++ moon/trunk/debian/rules 2008-12-03 00:35:43 UTC (rev 3863)
@@ -20,21 +20,15 @@
--with-ffmpeg=yes
upstream_version=$(shell uscan --dehs | sed -n 's/.*<upstream-version>\(.*\)<\/upstream-version>.*/\1/p')
-get-orig-source::
- uscan --download-version $(upstream_version) --force-download --destdir . \
- --no-symlink
- tar xvfj moon-$(upstream_version).tar.bz2
- cd moon-$(upstream_version) && rm -f \
- test/harness/test-runner/NDesk.Options.dll \
- test/harness/test-runner/MySql.Data.dll \
- test/xaml/Silverlight.js \
- test/xaml/clock/Silverlight.js \
- test/xaml/enums/Silverlight.js \
- test/xaml/fullscreen/Silverlight.js
- mv moon-$(upstream_version) moon-$(upstream_version)+dfsg
- tar cfvz moon_$(upstream_version)+dfsg.orig.tar.gz \
- moon-$(upstream_version)+dfsg
- rm -rf moon-$(upstream_version).tar.bz2 moon-$(upstream_version)+dfsg
+CURVER = $(shell dpkg-parsechangelog | grep ^Version | cut -d' ' -f2 | cut -d'-' -f1)
+get-orig-source:
+ [ -d ../tarballs ] || mkdir ../tarballs
+ uscan \
+ --force-download \
+ --download-version $(CURVER) \
+ --repack \
+ --rename \
+ --destdir ../tarballs
build: build-stamp
build-stamp: config.status
Modified: moon/trunk/debian/watch
===================================================================
--- moon/trunk/debian/watch 2008-12-02 18:05:13 UTC (rev 3862)
+++ moon/trunk/debian/watch 2008-12-03 00:35:43 UTC (rev 3863)
@@ -1,3 +1,3 @@
version=3
-opts=dversionmangle=s/\+dfsg// \
- http://ftp.novell.com/pub/mono/sources/moon/ moon-([.\d]+)\.tar\.bz2
+opts=uversionmangle=s/([.\d]+)b/$1~beta/ \
+ http://ftp.novell.com/pub/mono/sources/moon/ moon-([.\d]+b*\d*)\.tar\.bz2
More information about the Pkg-mono-svn-commits
mailing list