mirror of https://github.com/eLvErDe/hwraid.git
Update megactl packaging
This commit is contained in:
parent
6d3b7f04e8
commit
4dcfb6ad19
|
@ -1,3 +1,16 @@
|
||||||
|
megactl (0.4.1+svn20090725.r6-7) 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:45:52 +0200
|
||||||
|
|
||||||
|
megactl (0.4.1+svn20090725.r6-6) unstable; urgency=medium
|
||||||
|
|
||||||
|
* Bump debhelper compat to 5 because 4 is not supported anymore
|
||||||
|
on Debian Stretch.
|
||||||
|
|
||||||
|
-- Adam Cecile <acecile@le-vert.net> Wed, 02 Aug 2017 00:34:28 +0200
|
||||||
|
|
||||||
megactl (0.4.1+svn20090725.r6-5) unstable; urgency=medium
|
megactl (0.4.1+svn20090725.r6-5) unstable; urgency=medium
|
||||||
|
|
||||||
* Update 003-Fix_disk_enumeration_loop patch (fix issues with PERC6e).
|
* Update 003-Fix_disk_enumeration_loop patch (fix issues with PERC6e).
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
4
|
5
|
||||||
|
|
|
@ -2,7 +2,7 @@ Source: megactl
|
||||||
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 (>= 4), dpatch, libc6-dev-i386 [amd64], gcc-multilib [amd64] | libc6-dev-i386 (<< 2.7) [amd64]
|
Build-Depends: debhelper (>= 5), dpatch, libc6-dev-i386 [amd64], gcc-multilib [amd64] | libc6-dev-i386 (<< 2.7) [amd64], lsb-release
|
||||||
Standards-Version: 3.8.2
|
Standards-Version: 3.8.2
|
||||||
Homepage: http://sourceforge.net/projects/megactl
|
Homepage: http://sourceforge.net/projects/megactl
|
||||||
|
|
||||||
|
|
|
@ -14,6 +14,16 @@ else
|
||||||
CFLAGS += -O2
|
CFLAGS += -O2
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
# 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-stamp
|
build: build-stamp
|
||||||
build-stamp: patch-stamp
|
build-stamp: patch-stamp
|
||||||
dh_testdir
|
dh_testdir
|
||||||
|
@ -50,7 +60,7 @@ binary-arch: build install
|
||||||
ifeq ($(ARCH),i386)
|
ifeq ($(ARCH),i386)
|
||||||
dh_shlibdeps
|
dh_shlibdeps
|
||||||
endif
|
endif
|
||||||
dh_gencontrol
|
dh_gencontrol -- -v"$(PKG_VERSION_TAG)" $(SUBSTVARS_BINARY_VERSION) $(SUBSTVARS_SOURCE_VERSION)
|
||||||
dh_md5sums
|
dh_md5sums
|
||||||
dh_builddeb
|
dh_builddeb
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue