Add a lintian override for the font duplication
This will probably never be fixed and the override is there to document that this is ignored explicitly.
This commit is contained in:
@@ -6,6 +6,7 @@ DEB_BUILD_ROOT=./root
|
||||
|
||||
LIBDIR=/usr/lib/openra
|
||||
DOCDIR=/usr/share/doc/openra
|
||||
LINTIANORDIR=/usr/share/lintian/overrides
|
||||
|
||||
E_BADARGS=85
|
||||
if [ $# -ne "3" ]
|
||||
@@ -42,6 +43,10 @@ cp "${DEB_BUILD_ROOT}/${LIBDIR}/AUTHORS" "${DEB_BUILD_ROOT}/${DOCDIR}"
|
||||
gzip -9 "${DEB_BUILD_ROOT}/${DOCDIR}/AUTHORS"
|
||||
DATE=`date -R`
|
||||
|
||||
# Put the lintian overrides in /usr/share/lintian/overrides/
|
||||
mkdir -p "${DEB_BUILD_ROOT}/${LINTIANORDIR}"
|
||||
cp openra.lintian-overrides "${DEB_BUILD_ROOT}/${LINTIANORDIR}/openra"
|
||||
|
||||
echo -e "openra (${VERSION}) unstable; urgency=low\n" > "${DEB_BUILD_ROOT}/${DOCDIR}/changelog"
|
||||
echo -e " * New upstream release: $TAG" >> "${DEB_BUILD_ROOT}/${DOCDIR}/changelog"
|
||||
echo -e "\n -- Paul Chote <paul@chote.net> ${DATE}" >> "${DEB_BUILD_ROOT}/${DOCDIR}/changelog"
|
||||
|
||||
2
packaging/linux/deb/openra.lintian-overrides
Normal file
2
packaging/linux/deb/openra.lintian-overrides
Normal file
@@ -0,0 +1,2 @@
|
||||
openra: duplicate-font-file usr/lib/openra/mods/common/FreeSans.ttf also in fonts-freefont-ttf
|
||||
openra: duplicate-font-file usr/lib/openra/mods/common/FreeSansBold.ttf also in fonts-freefont-ttf
|
||||
Reference in New Issue
Block a user