debian: fpc-src no lintian errors

git-svn-id: trunk@55010 -
This commit is contained in:
mattias 2017-05-19 15:16:31 +00:00
parent e58fb14a93
commit 1e98174230
4 changed files with 14 additions and 1 deletions

2
.gitattributes vendored
View File

@ -10018,10 +10018,12 @@ tools/install/cross_unix/debian_crosswin32/changelog.Debian svneol=native#text/p
tools/install/cross_unix/debian_crosswin32/control svneol=native#text/plain
tools/install/cross_unix/debian_crosswin32/copyright svneol=native#text/plain
tools/install/cross_unix/update_cross_fpc.sh svneol=native#text/plain
tools/install/debian_fpc-src/lintian.overrides svneol=native#text/plain
tools/install/debian_fpc/changelog svneol=native#text/plain
tools/install/debian_fpc/changelog.Debian svneol=native#text/plain
tools/install/debian_fpc/control svneol=native#text/plain
tools/install/debian_fpc/copyright svneol=native#text/plain
tools/install/debian_fpc/lintian.overrides svneol=native#text/plain
tools/install/debian_fpc/postinst svneol=native#text/plain
tools/install/debian_lazarus/conffiles svneol=native#text/plain
tools/install/debian_lazarus/control svneol=native#text/plain

View File

@ -185,6 +185,7 @@ ResourceDir=$CurDir/debian_$PackageName
DebianInstallDir=$FPCBuildDir/usr
DebianRulezDir=$FPCBuildDir/DEBIAN/
DebianDocDir=$FPCBuildDir/usr/share/doc/$PackageName${TARGET_SUFFIX}
DebianLintianDir=$FPCBuildDir/usr/share/lintian
DebianSourceDir=$FPCBuildDir/usr/share/fpcsrc/$FPCVersion
Date=`date --rfc-822`
@ -205,6 +206,8 @@ mkdir -p $DebianDocDir
chmod 755 $DebianDocDir
mkdir -p $DebianRulezDir
chmod 755 $DebianRulezDir
mkdir -p $DebianLintianDir
chmod 755 $DebianLintianDir
if [ "$PackageName" = "fpc-src" ]; then
# copy fpc sources
@ -259,7 +262,8 @@ cat $ResourceDir/control \
-e "s/Depends: binutils/Depends: $DEPENDS/" \
-e "s/DEBSIZE/$DebSize/" \
> $DebianRulezDir/control
mkdir -p $DebianLintianDir/overrides
cp $ResourceDir/lintian.overrides $DebianLintianDir/overrides/$PackageName$TARGET_SUFFIX
# identify conf files
if test -n "$TARGET_SUFFIX"

View File

@ -0,0 +1,4 @@
# ignore special files in /usr/share
fpc-src: arch-dependent-file-in-usr-share
fpc-src: binary-from-other-architecture
fpc-src: wrong-path-for-interpreter

View File

@ -0,0 +1,3 @@
# ignore special files in /usr/share
#fpc: arch-dependent-file-in-usr-share