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

Re: Packaging Python extensions and applications



Le 15/04/2016 07:37, Andreas Tille a écrit :
> On Thu, Apr 14, 2016 at 04:14:08PM +0200, Julien Lamy wrote:
>>
>> If the package looks OK, could I ask for a sponsored upload?

Thanks for the upload!

> Please note my change
> 
> diff --git a/debian/odil.postinst b/debian/odil.postinst
> index 84f293d..84dcb24 100644
> --- a/debian/odil.postinst
> +++ b/debian/odil.postinst
> @@ -13,3 +13,5 @@ case "$1" in
>          exit 1
>          ;;
>  esac
> +
> +#DEBHELPER#
> diff --git a/debian/odil.prerm b/debian/odil.prerm
> index acfa16c..b29da18 100644
> --- a/debian/odil.prerm
> +++ b/debian/odil.prerm
> @@ -4,3 +4,4 @@ set -e
>  
>  dpkg --listfiles odil | awk '$0~/\.py$/ {print $0"c\n" $0"o"}' | xargs rm -f >&2
>  
> +#DEBHELPER#

The documentation I found about this is a bit scarce: is it a
placeholder that various dh_XXX tools will replace by some boilerplate code?

> As a final hint:  Please try injecting
> 
>    export DEB_BUILD_MAINT_OPTIONS = hardening=+all
> 
> in your d/rules file.  This might help against the lintian info about
> hardening.

Done: my various pbuilders still build successfully so that was an easy
addition.

Cheers,
-- 
Julien


Reply to: