mirror of https://github.com/eLvErDe/hwraid.git
Update dellmgr packaging
This commit is contained in:
parent
64970e9220
commit
09680c6146
|
@ -1,3 +1,16 @@
|
|||
dellmgr (5.31-4) unstable; urgency=medium
|
||||
|
||||
* Use lsb-release to generate unique distribution tag in pkgs version.
|
||||
|
||||
-- Adam Cecile <acecile@le-vert.net> Tue, 02 Jul 2019 23:01:35 +0200
|
||||
|
||||
dellmgr (5.31-3) unstable; urgency=medium
|
||||
|
||||
* Bump debhelper compat level to 5 because 4 is not supported anymore
|
||||
on Debian Stretch.
|
||||
|
||||
-- Adam Cecile <acecile@le-vert.net> Wed, 02 Aug 2017 00:33:26 +0200
|
||||
|
||||
dellmgr (5.31-2) unstable; urgency=low
|
||||
|
||||
* Update create-devices-nodes to handle kernels 2.6.25rc2+.
|
||||
|
|
|
@ -1 +1 @@
|
|||
4
|
||||
5
|
||||
|
|
|
@ -2,7 +2,7 @@ Source: dellmgr
|
|||
Section: admin
|
||||
Priority: optional
|
||||
Maintainer: Adam Cécile (Le_Vert) <gandalf@le-vert.net>
|
||||
Build-Depends: debhelper (>= 4)
|
||||
Build-Depends: debhelper (>= 5), lsb-release
|
||||
Standards-Version: 3.8.0
|
||||
Homepage: http://linux.dell.com
|
||||
|
||||
|
|
|
@ -5,6 +5,16 @@
|
|||
|
||||
DESTDIR = $(CURDIR)/debian/dellmgr
|
||||
|
||||
# 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:
|
||||
|
||||
clean:
|
||||
|
@ -36,7 +46,7 @@ binary-arch: 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