r1398 - in /unstable/ffmpeg-debian/debian: changelog rules
lool at users.alioth.debian.org
lool at users.alioth.debian.org
Tue Aug 26 14:40:24 UTC 2008
Author: lool
Date: Tue Aug 26 14:40:24 2008
New Revision: 1398
URL: http://svn.debian.org/wsvn/pkg-multimedia/?sc=1&rev=1398
Log:
Use DEB_SOURCE from the Source: field of dpkg-parsechangelog's output
instead of hardcoding the name of the source.
Modified:
unstable/ffmpeg-debian/debian/changelog
unstable/ffmpeg-debian/debian/rules
Modified: unstable/ffmpeg-debian/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-multimedia/unstable/ffmpeg-debian/debian/changelog?rev=1398&op=diff
==============================================================================
--- unstable/ffmpeg-debian/debian/changelog (original)
+++ unstable/ffmpeg-debian/debian/changelog Tue Aug 26 14:40:24 2008
@@ -6,6 +6,8 @@
in a slightly more readable manner, whitespaces, .PHONY fixes,
internalencoders handling, shlibs logic...
* Rename SRC_VERSION to UPSTREAM_VERSION in rules.
+ * Use DEB_SOURCE from the Source: field of dpkg-parsechangelog's output
+ instead of hardcoding the name of the source.
-- Loic Minier <lool at dooz.org> Tue, 26 Aug 2008 14:38:19 +0200
Modified: unstable/ffmpeg-debian/debian/rules
URL: http://svn.debian.org/wsvn/pkg-multimedia/unstable/ffmpeg-debian/debian/rules?rev=1398&op=diff
==============================================================================
--- unstable/ffmpeg-debian/debian/rules (original)
+++ unstable/ffmpeg-debian/debian/rules Tue Aug 26 14:40:24 2008
@@ -2,6 +2,7 @@
include /usr/share/quilt/quilt.make
+DEB_SOURCE := $(shell dpkg-parsechangelog | sed -n 's/^Source: //p')
DEB_VERSION := $(shell dpkg-parsechangelog | sed -n 's/^Version: //p')
UPSTREAM_VERSION := $(shell echo $(DEB_VERSION) | sed -r 's/[^:]+://; s/-[^-]+$$//')
SVN_VERSION := $(shell echo $(UPSTREAM_VERSION) | sed -nr 's/^[0-9.:-]+\.svn([0-9]+)$$/\1/p')
@@ -65,7 +66,7 @@
chmod +x debian/strip.sh
sh debian/get-orig-source.sh -r{$(SVN_VERSION)} \
$(if $(internalencoders),, -c $(CURDIR)/debian/strip.sh) \
- -o ../ffmpeg-debian_$(UPSTREAM_VERSION).orig.tar.gz
+ -o ../$(DEB_SOURCE)_$(UPSTREAM_VERSION).orig.tar.gz
define install_flavor
$(MAKE) -C debian-$(1) install DESTDIR=$(CURDIR)/debian/tmp \
More information about the pkg-multimedia-commits
mailing list