Bug#356901: openoffice.org: Cleanup duplicate control fields
Package: openoffice.org
Version: 2.0.1-5
Severity: minor
Tags: patch
Hi,
your control file specifies the 'replaces' and 'section' fields multiple
time for a single package which is illegal. The attached patch merges
the multiple 'replaces' line into one and for the 'section' duplicate it
chooses one of the conflictions sections.
Please check the latter one and consider applying.
Regards,
Stefan
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages openoffice.org depends on:
ii openoffice.org-base 2.0.1-5 OpenOffice.org office suite - data
ii openoffice.org-calc 2.0.1-5 OpenOffice.org office suite - spre
ii openoffice.org-core 2.0.1-5 OpenOffice.org office suite archit
ii openoffice.org-draw 2.0.1-5 OpenOffice.org office suite - draw
ii openoffice.org-impress 2.0.1-5 OpenOffice.org office suite - pres
ii openoffice.org-java-common 2.0.1-5 OpenOffice.org office suite Java s
ii openoffice.org-math 2.0.1-5 OpenOffice.org office suite - equa
ii openoffice.org-writer 2.0.1-5 OpenOffice.org office suite - word
openoffice.org recommends no packages.
-- no debconf information
diff -ur openoffice.org-2.0.1/debian/control openoffice.org-2.0.1.mod/debian/control
--- openoffice.org-2.0.1/debian/control 2006-03-14 17:40:36.000000000 +0100
+++ openoffice.org-2.0.1.mod/debian/control 2006-03-14 17:39:17.000000000 +0100
@@ -144,7 +144,6 @@
Depends: openoffice.org-core (>> ${base-version}), openoffice.org-draw (>> ${base-version}), ${shlibs:Depends}
Replaces: openoffice.org (<< 1.9), openoffice.org-debian-files, openoffice.org2-impress
Conflicts: openoffice.org-debian-files, openoffice.org2-impress
-Replaces: openoffice.org2-impress
Description: OpenOffice.org office suite - presentation
OpenOffice.org is a full-featured office productivity suite that provides
a near drop-in replacement for Microsoft(R) Office.
@@ -329,7 +328,6 @@
all OOo documents.
Package: openoffice.org-officebean
-Section: interpreters
Architecture: i386 powerpc sparc
Section: misc
Depends: ${shlibs:Depends}, openoffice.org-core (>> ${base-version}), ${java-common-depends}
diff -ur openoffice.org-2.0.1/debian/control.in openoffice.org-2.0.1.mod/debian/control.in
--- openoffice.org-2.0.1/debian/control.in 2006-03-14 17:40:36.000000000 +0100
+++ openoffice.org-2.0.1.mod/debian/control.in 2006-03-14 17:39:44.000000000 +0100
@@ -144,7 +144,6 @@
Depends: openoffice.orgVER-core (>> ${base-version}), openoffice.orgVER-draw (>> ${base-version}), ${shlibs:Depends}
Replaces: openoffice.org (<< 1.9), openoffice.org-debian-files, openoffice.org2-impress
Conflicts: openoffice.org-debian-files, openoffice.org2-impress
-Replaces: openoffice.org2-impress
Description: OpenOffice.org office suite - presentation
OpenOffice.org is a full-featured office productivity suite that provides
a near drop-in replacement for Microsoft(R) Office.
@@ -329,7 +328,6 @@
all OOo documents.
Package: openoffice.orgVER-officebean
-Section: interpreters
Architecture: i386 powerpc sparc %AMD64%
Section: misc
Depends: ${shlibs:Depends}, openoffice.orgVER-core (>> ${base-version}), ${java-common-depends}
Reply to: