~ubuntu-branches/ubuntu/wily/openstack-pkg-tools/wily

« back to all changes in this revision

Viewing changes to build-tools/pkgos-bb

  • Committer: Package Import Robot
  • Author(s): James Page
  • Date: 2015-06-16 10:01:49 UTC
  • mfrom: (2.1.22 sid)
  • Revision ID: package-import@ubuntu.com-20150616100149-tpxddkmuwt3qd53n
Tags: 30ubuntu1
* Merge from Debian unstable.  Remaining changes:
  - debian/control: Drop madison-lite, pristine-tar, libxml-xpath-perl
    from Depends cause they are in universe.

Show diffs side-by-side

added added

removed removed

Lines of Context:
84
84
# Extract the source and make it a backport
85
85
dpkg-source -x *.dsc
86
86
cd ${SOURCE_NAME}-${UPSTREAM_VERSION}
87
 
dch --newversion ${DEB_VERSION}~${BPO_POSTFIX} -b --allow-lower-version -m  "Rebuilt by zigo's BPO script."
 
87
dch --newversion ${DEB_VERSION}~${BPO_POSTFIX} -b --allow-lower-version --distribution ${TARGET_DISTRO}-backports -m  "Rebuilt for ${TARGET_DISTRO}."
88
88
 
89
89
# Build the package
90
90
sbuild
93
93
cd ..
94
94
rm ${SOURCE_NAME}_${DEB_VERSION}~${BPO_POSTFIX}_amd64.build
95
95
TARGET_FTP_FOLDER=${REPO_ROOT}/debian/pool/${REPO_NOCHANGE_BACKPORT_DEST}/main/${PKG_NAME_FIRST_CHAR}/$SOURCE_NAME
 
96
rm -rf ${TARGET_FTP_FOLDER}
96
97
mkdir -p ${TARGET_FTP_FOLDER}
97
98
cp *bpo* *.orig.tar.* ${TARGET_FTP_FOLDER}
98
99