summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Mitchell <kevmitch@math.sfu.ca>2014-02-08 04:01:26 -0800
committerKevin Mitchell <kevmitch@math.sfu.ca>2014-02-08 04:01:26 -0800
commit3483d2eaf0e3965d521b4b1f0c3fc29a3be642a6 (patch)
tree1dd2468772733540e2d31b36bc769ad10877ad69
parent2594acf1595ac894d2f1eeed60fc0feaad85f54b (diff)
downloadmpv-build-3483d2eaf0e3965d521b4b1f0c3fc29a3be642a6.tar.bz2
mpv-build-3483d2eaf0e3965d521b4b1f0c3fc29a3be642a6.tar.xz
move debian/changelog to debian/changelog.TEMPLATE
and drop version control on debian/changelog, which gets modified by scripts/debian-update-version
-rw-r--r--debian/changelog.TEMPLATE (renamed from debian/changelog)4
-rwxr-xr-xscripts/debian-update-versions6
2 files changed, 5 insertions, 5 deletions
diff --git a/debian/changelog b/debian/changelog.TEMPLATE
index 27e14bd..eede48e 100644
--- a/debian/changelog
+++ b/debian/changelog.TEMPLATE
@@ -1,8 +1,8 @@
-mpv (1:0.3.4) UNRELEASED; urgency=medium
+mpv (1:1.0noversion) UNRELEASED; urgency=medium
* local build
- -- Local User <localuser@localhost> Tue, 04 Feb 2014 21:48:02 -0800
+ -- Local User <localuser@localhost> Sat, 08 Feb 2014 03:47:26 -0800
mpv (0:0.3.4-1) stable; urgency=medium
diff --git a/scripts/debian-update-versions b/scripts/debian-update-versions
index 8102d0d..b496e87 100755
--- a/scripts/debian-update-versions
+++ b/scripts/debian-update-versions
@@ -19,9 +19,9 @@ get_timestamp_commit()
}
do_subst() {
- sed -i "0,/^mpv (.*)/s/(.*)/(1:$1)/" debian/changelog
- sed -i "s/^ \* local build.*/ \* local build with ffmpeg $2, libass $3/" debian/changelog
- sed -i "s/\(^ -- Local User <localuser@localhost>\).*/\1 $(date -R)/" debian/changelog
+ sed -e "0,/^mpv (.*)/s/(.*)/(1:$1)/"\
+ -e "s/^ \* local build.*/ \* local build with ffmpeg $2, libass $3/" \
+ -e"s/\(^ -- Local User <localuser@localhost>\).*/\1 $(date -R)/" debian/changelog.TEMPLATE > debian/changelog
}
do_version_all() {