mirror of
https://github.com/eLvErDe/hwraid.git
synced 2025-07-25 06:44:26 +02:00
Update sas2ircu-status packaging
This commit is contained in:
parent
4510e20a86
commit
6d3b7f04e8
@ -1,3 +1,9 @@
|
|||||||
|
sas2ircu-status (0.8) 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:32:26 +0200
|
||||||
|
|
||||||
sas2ircu-status (0.7) unstable; urgency=medium
|
sas2ircu-status (0.7) unstable; urgency=medium
|
||||||
|
|
||||||
* New release with better disk handling (Closes: GitHub#23).
|
* New release with better disk handling (Closes: GitHub#23).
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
Source: sas2ircu-status
|
Source: sas2ircu-status
|
||||||
Section: admin
|
Section: admin
|
||||||
Priority: extra
|
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.5
|
Standards-Version: 3.9.5
|
||||||
|
|
||||||
Package: sas2ircu-status
|
Package: sas2ircu-status
|
||||||
|
@ -3,6 +3,16 @@
|
|||||||
# Uncomment this to turn on verbose mode.
|
# Uncomment this to turn on verbose mode.
|
||||||
#export DH_VERBOSE=1
|
#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:
|
||||||
build-arch:
|
build-arch:
|
||||||
build-indep:
|
build-indep:
|
||||||
@ -35,7 +45,7 @@ binary-indep: 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