mirror of
https://github.com/eLvErDe/hwraid.git
synced 2025-07-24 22:34:21 +02:00
Update megamgr packaging
This commit is contained in:
parent
faa2b16a20
commit
3d63de19a9
@ -1,3 +1,9 @@
|
|||||||
|
megamgr (5.20-4) unstable; urgency=medium
|
||||||
|
|
||||||
|
* Use lsb-release to generate unique distribution tag in pkgs version.
|
||||||
|
|
||||||
|
-- Adam Cecile <acecile@le-vert.net> Wed, 03 Jul 2019 00:18:05 +0200
|
||||||
|
|
||||||
megamgr (5.20-3) unstable; urgency=low
|
megamgr (5.20-3) unstable; urgency=low
|
||||||
|
|
||||||
* Fix typo in package's description.
|
* Fix typo in package's description.
|
||||||
|
@ -2,7 +2,7 @@ Source: megamgr
|
|||||||
Section: admin
|
Section: admin
|
||||||
Priority: optional
|
Priority: optional
|
||||||
Maintainer: Adam Cécile (Le_Vert) <gandalf@le-vert.net>
|
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
|
Standards-Version: 3.9.2
|
||||||
Homepage: http://www.lsi.com/files/support/rsa/utilities/megamgr
|
Homepage: http://www.lsi.com/files/support/rsa/utilities/megamgr
|
||||||
|
|
||||||
|
@ -5,6 +5,16 @@
|
|||||||
|
|
||||||
DESTDIR = $(CURDIR)/debian/megamgr
|
DESTDIR = $(CURDIR)/debian/megamgr
|
||||||
|
|
||||||
|
# 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: build-arch build-indep
|
||||||
build-arch:
|
build-arch:
|
||||||
build-indep:
|
build-indep:
|
||||||
@ -39,7 +49,7 @@ binary-arch: build install
|
|||||||
dh_fixperms
|
dh_fixperms
|
||||||
dh_installdeb
|
dh_installdeb
|
||||||
dh_shlibdeps
|
dh_shlibdeps
|
||||||
dh_gencontrol
|
dh_gencontrol -- -v"$(PKG_VERSION_TAG)" $(SUBSTVARS_BINARY_VERSION) $(SUBSTVARS_SOURCE_VERSION)
|
||||||
dh_md5sums
|
dh_md5sums
|
||||||
dh_builddeb
|
dh_builddeb
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user