Upstream moved to official Openstack project
Ondřej Nový
7 years ago
0 | 0 |
liberasurecode (1.2.0-1) UNRELEASED; urgency=medium
|
1 | 1 |
|
2 | 2 |
* New upstream release
|
|
3 |
* Upstream moved to official Openstack project
|
3 | 4 |
* Standards-Version is 3.9.8 now (no change)
|
4 | 5 |
|
5 | 6 |
-- Ondřej Nový <novy@ondrej.org> Sat, 09 Apr 2016 19:23:28 +0200
|
0 | 0 |
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
1 | 1 |
Upstream-Name: liberasurecode
|
2 | |
Source: https://bitbucket.org/tsg-/liberasurecode
|
|
2 |
Source: https://github.com/openstack/liberasurecode/
|
3 | 3 |
|
4 | 4 |
Files: *
|
5 | 5 |
Copyright: (c) 2014, Eric Lambert <eric_lambert@xyratex.com>
|
0 | 0 |
#!/usr/bin/make -f
|
1 | 1 |
|
2 | |
UPSTREAM_GIT ?= https://bitbucket.org/tsg-/liberasurecode.git
|
3 | |
|
4 | |
DEBVERS ?= $(shell dpkg-parsechangelog | sed -n -e 's/^Version: //p')
|
5 | |
VERSION ?= $(shell echo '$(DEBVERS)' | sed -e 's/^[[:digit:]]*://' -e 's/[-].*//')
|
6 | |
DEBFLAVOR ?= $(shell dpkg-parsechangelog | grep -E ^Distribution: | cut -d" " -f2)
|
7 | |
DEBPKGNAME ?= $(shell dpkg-parsechangelog | grep -E ^Source: | cut -d" " -f2)
|
8 | |
GIT_TAG ?= $(shell echo '$(VERSION)' | sed -e 's/~/_/')
|
9 | |
|
10 | |
export HOME=$(CURDIR)
|
11 | 2 |
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
|
|
3 |
-include /usr/share/openstack-pkg-tools/pkgos.make
|
12 | 4 |
|
13 | 5 |
%:
|
14 | 6 |
dh $@ --with autoreconf --parallel
|
15 | |
|
16 | |
gen-orig-xz:
|
17 | |
git tag -v $(GIT_TAG) || true
|
18 | |
if [ ! -f ../$(DEBPKGNAME)_$(VERSION).orig.tar.xz ] ; then \
|
19 | |
git archive --prefix=$(DEBPKGNAME)-$(VERSION)/ $(GIT_TAG) | xz >../$(DEBPKGNAME)_$(VERSION).orig.tar.xz ; \
|
20 | |
fi
|
21 | |
[ ! -e ../build-area ] && mkdir ../build-area || true
|
22 | |
[ ! -e ../build-area/$(DEBPKGNAME)_$(VERSION).orig.tar.xz ] && cp ../$(DEBPKGNAME)_$(VERSION).orig.tar.xz ../build-area
|
23 | |
|
24 | |
fetch-upstream-remote:
|
25 | |
git remote add upstream $(UPSTREAM_GIT) || true
|
26 | |
git fetch upstream
|