File tree Expand file tree Collapse file tree
zimbra-mta-components/rpm/SPECS Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,6 +6,8 @@ pname_lc := mta-components
66zname := zimbra-$(pname_lc )
77zspec := $(pname_lc ) .spec
88
9+ osdeps = $(osdeps.$(BUILD_PLATFORM ) )
10+
911.PHONY : all clean build setup
1012
1113all : clean build
@@ -19,6 +21,7 @@ build_rpm: specfile = SPECS/$(zspec)
1921build_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
Original file line number Diff line number Diff line change 1+ osdeps.RHEL9_64 := libnsl2
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ Requires: zimbra-cluebringer >= 2.1.0.0.cf484f1b93cf9965886cc89d33bdee
99Requires: zimbra-mariadb >= 10.1.25-1zimbra8.7b3ZAPPEND
1010Requires: zimbra-opendkim >= 2.10.3-1zimbra8.7b6ZAPPEND, zimbra-perl-mail-spamassassin >= 3.4.6-1zimbra8.8b5ZAPPEND
1111Requires: 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
1313Packager: Zimbra Packaging Services < packaging-devel@zimbra.com>
1414Group: Development/Languages
1515AutoReqProv: no
You can’t perform that action at this time.
0 commit comments