mirror of https://github.com/eLvErDe/hwraid.git
Updated packaging for 3dm2
This commit is contained in:
parent
2cc8f7dd73
commit
a30b89f27d
|
@ -1,3 +1,16 @@
|
|||
3ware-status (0.6) unstable; urgency=medium
|
||||
|
||||
* Use lsb-release to generate unique distribution tag in pkgs version.
|
||||
|
||||
-- Adam Cecile <acecile@le-vert.net> Tue, 02 Jul 2019 20:38:34 +0200
|
||||
|
||||
3ware-status (0.5) unstable; urgency=medium
|
||||
|
||||
* Fix a nasty typo (Closes: #279).
|
||||
* Don't treat verifying array as a failure (Closes: #273).
|
||||
|
||||
-- Adam Cécile (Le_Vert) <gandalf@le-vert.net> Sat, 25 Jan 2014 23:31:20 +0100
|
||||
|
||||
3ware-status (0.4) unstable; urgency=low
|
||||
|
||||
* Now handle different tw-cli output for 9000 series cards.
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
Source: 3ware-status
|
||||
Section: admin
|
||||
Priority: extra
|
||||
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: 3ware-status
|
||||
|
|
|
@ -3,6 +3,16 @@
|
|||
# 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 | egrep '^Version:' | cut -f2 -d' ')
|
||||
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:
|
||||
|
@ -34,7 +44,7 @@ binary-indep: build install
|
|||
dh_fixperms
|
||||
dh_installdeb
|
||||
dh_shlibdeps
|
||||
dh_gencontrol
|
||||
dh_gencontrol -- -v"$(PKG_VERSION_TAG)" $(SUBSTVARS_BINARY_VERSION) $(SUBSTVARS_SOURCE_VERSION)
|
||||
dh_md5sums
|
||||
dh_builddeb
|
||||
|
||||
|
|
Loading…
Reference in New Issue