X-Git-Url: https://review.fuel-infra.org/gitweb?a=blobdiff_plain;f=trusty%2Fdebian%2Frules;h=1caece13f446753b44550c930fd586681091135f;hb=80fa93cbfdd671ca4208ef5c1da213036afcf0ed;hp=90ec76b417ef7a4ed3af308f793998aeacf3e775;hpb=ae14e5615135f13b8598ee678770759493866715;p=openstack-build%2Fceilometer-build.git diff --git a/trusty/debian/rules b/trusty/debian/rules index 90ec76b..1caece1 100755 --- a/trusty/debian/rules +++ b/trusty/debian/rules @@ -2,6 +2,8 @@ #export DH_VERBOSE=1 +include /usr/share/openstack-pkg-tools/pkgos.make + %: dh $@ --with python2 @@ -32,26 +34,3 @@ override_dh_gencontrol: else \ dh_gencontrol -- -T$(CURDIR)/debian/debian_control_vars ; \ fi - -override_dh_builddeb: - dh_builddeb -- -Zxz -z9 - -regen-manifest-patch: - quilt pop -a || true - quilt push install-missing-files.patch - git checkout MANIFEST.in - git ls-files --no-empty-directory --exclude-standard nova | grep -v '.py$$' | sed -n 's/.*/include &/gp' >> MANIFEST.in - quilt refresh - quilt pop -a - -get-vcs-source: - git remote add upstream git://github.com/openstack/$(DEBPKGNAME).git || true - git fetch upstream - if [ ! -f ../$(DEBPKGNAME)_$(VERSION).orig.tar.xz ] ; then \ - git archive --prefix=$(DEBPKGNAME)-$(VERSION)/ $(VERSION) | xz >../$(DEBPKGNAME)_$(VERSION).orig.tar.xz ; \ - fi - if ! git checkout master ; then \ - echo "No upstream branch: checking out" ; \ - git checkout -b master upstream/master ; \ - fi - git checkout debian/experimental