Skip to content

Commit e746518

Browse files
committed
ZCS-13983:added libnsl2 as dependency for mta-components
1 parent d93ecd7 commit e746518

3 files changed

Lines changed: 5 additions & 1 deletion

File tree

zimbra/mta-components/Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ pname_lc := mta-components
66
zname := zimbra-$(pname_lc)
77
zspec := $(pname_lc).spec
88

9+
osdeps = $(osdeps.$(BUILD_PLATFORM))
10+
911
.PHONY: all clean build setup
1012

1113
all: clean build
@@ -19,6 +21,7 @@ build_rpm: specfile = SPECS/$(zspec)
1921
build_rpm:
2022
$(CD) $(PLATFORM_DIR)/$(zname)/rpm && \
2123
$(replace-pkginfo) $(specfile) && \
24+
$(PERL) -pi -e 's/OSDEPS/$(osdeps)/' $(specfile) && \
2225
$(MKDIR) BUILD BUILDROOT RPMS SOURCES SRPMS && \
2326
$(PKG_BUILD) $(specfile)
2427

zimbra/mta-components/RHEL.def

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
osdeps.RHEL9_64 := libnsl2

zimbra/mta-components/zimbra-mta-components/rpm/SPECS/mta-components.spec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Requires: zimbra-cluebringer >= 2.1.0.0.cf484f1b93cf9965886cc89d33bdee
99
Requires: zimbra-mariadb >= 10.1.25-1zimbra8.7b3ZAPPEND
1010
Requires: zimbra-opendkim >= 2.10.3-1zimbra8.7b6ZAPPEND, zimbra-perl-mail-spamassassin >= 3.4.6-1zimbra8.8b5ZAPPEND
1111
Requires: zimbra-postfix >= 3.6.1-1zimbra8.7b4ZAPPEND
12-
Requires: zimbra-spamassassin-rules >= 1.0.0-1zimbra8.8b7ZAPPEND
12+
Requires: zimbra-spamassassin-rules >= 1.0.0-1zimbra8.8b7ZAPPEND, OSDEPS
1313
Packager: Zimbra Packaging Services <packaging-devel@zimbra.com>
1414
Group: Development/Languages
1515
AutoReqProv: no

0 commit comments

Comments
 (0)