Package: tofrodos
Version: 1.7.13+ds-1
Severity: normal
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu trusty ubuntu-patch

Dear Maintainer,

When building tofrodos in trusty, there was an issue with
dpkg-parsechangelog that caused an error:

dpkg-buildpackage: host architecture i386
 /usr/bin/fakeroot debian/rules clean
dpkg-parsechangelog: unknown option `-SVersion'

dpkg-parsechangelog: unknown option `-SVersion'

I: tofrodos_Usage: dpkg  Options:                     Parser options:
                                   output formats, defaults to 'dpkg'
                              for compatibility with dpkg
                                                           than version


I've attached a patch that fixes the issue.

Thanks for considering the patch.


-- System Information:
Debian Release: wheezy/sid
  APT prefers precise-updates
  APT policy: (500, 'precise-updates'), (500, 'precise-security'), (500,
'precise')
Architecture: amd64 (x86_64)

Kernel: Linux 3.5.0-42-generic (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

diff -Nru tofrodos-1.7.13+ds/debian/changelog tofrodos-1.7.13+ds/debian/changelog
diff -Nru tofrodos-1.7.13+ds/debian/rules tofrodos-1.7.13+ds/debian/rules
--- tofrodos-1.7.13+ds/debian/rules	2013-10-29 03:47:51.000000000 -0500
+++ tofrodos-1.7.13+ds/debian/rules	2013-11-07 11:04:22.000000000 -0600
@@ -7,7 +7,7 @@
 
 PKD   = $(abspath $(dir $(MAKEFILE_LIST)))
 PKG   = $(word 2,$(shell dpkg-parsechangelog -l$(PKD)/changelog | grep ^Source))
-UVER  = $(shell dpkg-parsechangelog -l$(PKD)/changelog -SVersion | cut -d- -f1)
+UVER  = $(shell dpkg-parsechangelog -l$(PKD)/changelog | grep Version: | cut -d' ' -f2-)
 DTYPE = +ds
 VER  ?= $(subst $(DTYPE),,$(UVER))
 

Reply via email to