mirror of https://github.com/eLvErDe/hwraid.git
Update megaclisas-status packaging
This commit is contained in:
parent
38abed12ae
commit
faa2b16a20
|
@ -1,3 +1,11 @@
|
|||
megaclisas-status (0.16) unstable; urgency=medium
|
||||
|
||||
* JBOD fixes, various minor fixes.
|
||||
* Support for alternative tools like storcli and perccli.
|
||||
* Add distribution tag to version using lsb-release.
|
||||
|
||||
-- Adam Cecile <acecile@le-vert.net> Mon, 01 Oct 2018 10:24:39 +0200
|
||||
|
||||
megaclisas-status (0.15) unstable; urgency=medium
|
||||
|
||||
* CacheCade, Max LD fixes.
|
||||
|
|
|
@ -2,7 +2,8 @@ Source: megaclisas-status
|
|||
Section: admin
|
||||
Priority: optional
|
||||
Maintainer: Adam Cécile (Le_Vert) <gandalf@le-vert.net>
|
||||
Build-Depends: debhelper (>= 5)
|
||||
Build-Depends: debhelper (>= 5),
|
||||
lsb-release,
|
||||
Standards-Version: 3.9.2
|
||||
|
||||
Package: megaclisas-status
|
||||
|
|
|
@ -3,6 +3,17 @@
|
|||
# Uncomment this to turn on verbose mode.
|
||||
#export DH_VERBOSE=1
|
||||
|
||||
# Get version from changelog as well as lsb_release
|
||||
# to compute unique build version (useful for repo mirroring systems doing file pooling)
|
||||
PKG_VERSION := $(shell dpkg-parsechangelog | grep -E '^Version:' | cut -d' ' -f2)
|
||||
DIST_NAME := $(shell lsb_release -si)
|
||||
DIST_RELEASE := $(shell lsb_release -sc)
|
||||
DIST_VERSION := $(shell lsb_release -sr)
|
||||
PKG_VERSION_TAG := $(PKG_VERSION)+$(DIST_NAME).$(DIST_RELEASE).$(DIST_VERSION)
|
||||
SUBSTVARS_BINARY_VERSION := -Vbinary:Version="$(PKG_VERSION_TAG)"
|
||||
SUBSTVARS_SOURCE_VERSION := -Vsource:Version="$(PKG_VERSION_TAG)"
|
||||
|
||||
|
||||
build: build-arch build-indep
|
||||
build-arch:
|
||||
build-indep:
|
||||
|
@ -32,7 +43,7 @@ binary-indep: build install
|
|||
dh_fixperms -i
|
||||
dh_installdeb -i
|
||||
dh_shlibdeps -i
|
||||
dh_gencontrol -i
|
||||
dh_gencontrol -i -- -v"$(PKG_VERSION_TAG)" $(SUBSTVARS_BINARY_VERSION) $(SUBSTVARS_SOURCE_VERSION)
|
||||
dh_md5sums -i
|
||||
dh_builddeb -i
|
||||
|
||||
|
|
Loading…
Reference in New Issue