[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#491682: marked as done (twin: Hard codes package version information in four places)

Your message dated Mon, 21 Jul 2008 20:37:42 +0100
with message-id <200807211937.m6LJbgNn006908@kmos.homeip.net>
and subject line twin has been removed from Debian, closing #491682
has caused the Debian Bug report #491682,
regarding twin: Hard codes package version information in four places
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org

491682: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=491682
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: twin
Version: 0.5.1-3
Severity: serious
Tags: patch

Twin currently requires versioning information be replaced in four
different places in its packaging. This is unacceptable, and it should
get the information from one place (the changelog). Attached is a patch
that achieves that.

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

Kernel: Linux 2.6.24-19-generic (SMP w/1 CPU core)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -u twin-0.5.1/debian/control twin-0.5.1/debian/control
--- twin-0.5.1/debian/control
+++ twin-0.5.1/debian/control
@@ -36,7 +36,7 @@
 Package: libtw0-dev
 Section: devel
 Architecture: any
-Depends: libtw0(=4.5.1-3), libc6-dev
+Depends: libtw0(= ${binary:Version}), libc6-dev
 Conflicts: libtw-dev
 Replaces: libtw-dev
 Description: a Text mode WINdow environment library, development
diff -u twin-0.5.1/debian/rules twin-0.5.1/debian/rules
--- twin-0.5.1/debian/rules
+++ twin-0.5.1/debian/rules
@@ -13,8 +13,8 @@
 #export DH_COMPAT=4
 #Version of twin
+TWIN_VERSION:=$(shell dpkg-parsechangelog | grep Version | cut -d\  -f2)
+LIBTW_VERSION:=$(shell echo $(TWIN_VERSION) | sed 's/^0/4/')
 include /usr/share/dpatch/dpatch.make

--- End Message ---
--- Begin Message ---
Version: 0.5.1-3+rm

The twin package has been removed from Debian testing, unstable and
experimental, so I am now closing the bugs that were still opened
against it.

For more information about this package's removal, read
http://bugs.debian.org/446692 . That bug might give the reasons why
this package was removed, and suggestions of possible replacements.

Don't hesitate to reply to this mail if you have any question.

Thank you for your contribution to Debian.

Marco Rodrigues

--- End Message ---

Reply to: