Empaquetage paquets binaires OK

This commit is contained in:
2015-09-23 21:59:29 +02:00
parent 2cff8041dc
commit 913945a08c
5 changed files with 13 additions and 80 deletions

View File

@ -61,15 +61,10 @@ do
# Define project_version opt if not defined
if [ -z "$(get_opt project_version)" ]; then
# Share computed package version
# Share computed project version
set_opt project_version "${version}"
fi
# Native packages should not have a revision number
if [ $(get_opt package_format) == 'native' ]; then
package_version=$(echo ${version} | grep -oE '^[0-9.]+')
fi
echo "${project_name} (${package_version}) ${distribution}; urgency=${urgency}" >> debian/changelog
echo >> debian/changelog

View File

@ -1,15 +0,0 @@
#!/bin/bash
source "${TAMARIN_UTIL}"
if [ -f "debian/source/format" ]; then
format=$(cat debian/source/format)
case ${format} in
"3.0 (native)")
set_opt package_format "native"
;;
"3.0 (quilt)")
set_opt package_format "quilt"
;;
esac
fi

View File

@ -1,12 +0,0 @@
#!/usr/bin/env bash
source "${TAMARIN_UTIL}"
project_name=$(get_opt project_name)
project_version=$(get_opt project_version)
src_tarball="../${project_name}_${project_version}.orig.tar.gz"
info "Creating sources tarball ${src_tarball}"
tar -czf "${src_tarball}" .