Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
zimbra-package-stub
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Raptor Engineering Public Development
Zimbra
zimbra-package-stub
Commits
8468e4c7
Commit
8468e4c7
authored
Jun 24, 2017
by
Shriram V
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adding PKG_OS_TAG (as a future replacement for ZAPPEND), to add to RPM/DEB release tag
parent
b84eb30c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
1 deletion
+8
-1
def/package-RHEL.def
def/package-RHEL.def
+2
-0
def/package-UBUNTU.def
def/package-UBUNTU.def
+3
-0
def/package.def
def/package.def
+3
-1
No files found.
def/package-RHEL.def
View file @
8468e4c7
...
...
@@ -2,3 +2,5 @@ include $(DEF_ROOT)/package-rpm.def
PKG_APPEND.RHEL7_64 = .el7
PKG_APPEND.RHEL6_64 = .el6
PKG_OS_TAG.RHEL7_64 = r7
PKG_OS_TAG.RHEL6_64 = r6
def/package-UBUNTU.def
View file @
8468e4c7
...
...
@@ -3,3 +3,6 @@ include $(DEF_ROOT)/package-deb.def
PKG_APPEND.UBUNTU16_64 := .16.04
PKG_APPEND.UBUNTU14_64 := .14.04
PKG_APPEND.UBUNTU12_64 := .12.04
PKG_OS_TAG.UBUNTU16_64 := u16
PKG_OS_TAG.UBUNTU14_64 := u14
PKG_OS_TAG.UBUNTU12_64 := u12
def/package.def
View file @
8468e4c7
...
...
@@ -53,6 +53,7 @@ PKG_ITERATION = 1$(PKG_REVISION)
# - PKG_DEV
# - PKG_LIB
# - PKG_APPEND
# - PKG_OS_TAG
BUILD_DISTRIBUTION := $(shell $(SED) -e 's/[0-9]*_[0-9]*$$//' <<< $(BUILD_PLATFORM))
ifneq ($(wildcard $(DEF_ROOT)/package-$(BUILD_DISTRIBUTION).def), )
include $(DEF_ROOT)/package-$(BUILD_DISTRIBUTION).def
...
...
@@ -60,6 +61,7 @@ else
include $(error unsupported BUILD_PLATFORM $(BUILD_PLATFORM))
endif
PKG_APPEND ?= $(PKG_APPEND.$(BUILD_PLATFORM))
PKG_OS_TAG ?= $(PKG_OS_TAG.$(BUILD_PLATFORM))
# Platform specific package overrides
ifneq ($(wildcard $(BUILD_DISTRIBUTION).def), )
...
...
@@ -80,7 +82,7 @@ endef
# $pkg.spec OR $pkg/debian/{changelog,*.shlibs}
define replace-pkginfo
$(PERL) -pi -e 's|VERSION|$(pvers)|
; s|ITERATION|$(PKG_ITERATION)|; s|ZAPPEND|$(PKG_APPEND)|
'
$(PERL) -pi -e 's|VERSION|$(pvers)|
g; s|ITERATION|$(PKG_ITERATION)|g; s|PKG_OS_TAG|$(PKG_OS_TAG)|g; s|ZAPPEND|$(PKG_APPEND)|g
'
endef
# $pkg.spec OR $pkg/debian/rules
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment