mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-03-14 00:21:08 +00:00
* Drop preinst (pbuilder-dist bash_completion handling), it is not required
for any current upgrade path on Debian or Ubuntu. * Switch to dh_python2: - Use X-Python-Version instead of XS-Python-Version. - Use ${python:Breaks} to specify Python version compatibility.
This commit is contained in:
commit
af53674200
7
debian/changelog
vendored
7
debian/changelog
vendored
@ -2,8 +2,13 @@ ubuntu-dev-tools (0.109) UNRELEASED; urgency=low
|
||||
|
||||
* Convert debian/copyright to DEP5, make sure all scripts are listed
|
||||
(LP: #692003)
|
||||
* Drop preinst (pbuilder-dist bash_completion handling), it is not required
|
||||
for any current upgrade path on Debian or Ubuntu.
|
||||
* Switch to dh_python2:
|
||||
- Use X-Python-Version instead of XS-Python-Version.
|
||||
- Use ${python:Breaks} to specify Python version compatibility.
|
||||
|
||||
-- Stefano Rivera <stefanor@ubuntu.com> Sun, 19 Dec 2010 02:26:12 +0200
|
||||
-- Stefano Rivera <stefanor@ubuntu.com> Mon, 20 Dec 2010 11:32:42 +0200
|
||||
|
||||
ubuntu-dev-tools (0.108) experimental; urgency=low
|
||||
|
||||
|
6
debian/control
vendored
6
debian/control
vendored
@ -6,10 +6,9 @@ Uploaders: Luca Falavigna <dktrkranz@debian.org>,
|
||||
Benjamin Drung <bdrung@ubuntu.com>
|
||||
Vcs-Bzr: lp:ubuntu-dev-tools
|
||||
Vcs-Browser: https://code.launchpad.net/~ubuntu-dev/ubuntu-dev-tools/trunk
|
||||
Build-Depends: debhelper (>= 7), python (>= 2.5)
|
||||
Build-Depends-Indep: python-support (>= 0.5.3)
|
||||
Build-Depends: debhelper (>= 7), python-all (>= 2.6.5-13~)
|
||||
DM-Upload-Allowed: yes
|
||||
XS-Python-Version: >= 2.5
|
||||
X-Python-Version: >= 2.5
|
||||
Homepage: https://launchpad.net/ubuntu-dev-tools
|
||||
Standards-Version: 3.9.1
|
||||
|
||||
@ -42,6 +41,7 @@ Recommends: bzr,
|
||||
python-soappy,
|
||||
reportbug (>= 3.39ubuntu1)
|
||||
Suggests: qemu-kvm-extras-static
|
||||
Breaks: ${python:Breaks}
|
||||
Description: useful tools for Ubuntu developers
|
||||
This is a collection of useful tools that Ubuntu developers use to make their
|
||||
packaging work a lot easier.
|
||||
|
2
debian/rules
vendored
2
debian/rules
vendored
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/make -f
|
||||
|
||||
%:
|
||||
dh $@
|
||||
dh $@ --with python2
|
||||
|
20
debian/ubuntu-dev-tools.preinst
vendored
20
debian/ubuntu-dev-tools.preinst
vendored
@ -1,20 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
if [ -e /etc/bash_completion.d/pbuilder-dist/pbuilder-dist ]; then
|
||||
tmp_file="$(mktemp /etc/bash_completion.d/pbuilder-dist.XXXXXX)"
|
||||
mv -fv /etc/bash_completion.d/pbuilder-dist/pbuilder-dist \
|
||||
"$tmp_file"
|
||||
rmdir --ignore-fail-on-non-empty /etc/bash_completion.d/pbuilder-dist
|
||||
# dir non-empty
|
||||
if [ -d /etc/bash_completion.d/pbuilder-dist ]; then
|
||||
echo "W: /etc/bash_completion.d/pbuilder-dist not empty; moving /etc/bash_completion.d/pbuilder-dist out of the way"
|
||||
mv -fv /etc/bash_completion.d/pbuilder-dist /etc/bash_completion.d/pbuilder-dist.dpkg-disabled
|
||||
|
||||
fi
|
||||
mv -fv "$tmp_file" /etc/bash_completion.d/pbuilder-dist
|
||||
fi
|
||||
|
||||
#DEBHELPER#
|
||||
|
Loading…
x
Reference in New Issue
Block a user