Add some more Specs file tag handling.
This commit is contained in:
parent
05720c75c1
commit
2af80c76ee
|
@ -370,7 +370,7 @@ if(CPACK_RPM_PACKAGE_RELOCATABLE)
|
||||||
endif(CPACK_RPM_PACKAGE_RELOCATABLE)
|
endif(CPACK_RPM_PACKAGE_RELOCATABLE)
|
||||||
|
|
||||||
# check if additional fields for RPM spec header are given
|
# check if additional fields for RPM spec header are given
|
||||||
FOREACH(_RPM_SPEC_HEADER URL REQUIRES SUGGESTS PROVIDES OBSOLETES PREFIX)
|
FOREACH(_RPM_SPEC_HEADER URL REQUIRES SUGGESTS PROVIDES OBSOLETES PREFIX CONFLICTS AUTOPROV AUTOREQ AUTOREQPROV)
|
||||||
IF(CPACK_RPM_PACKAGE_${_RPM_SPEC_HEADER})
|
IF(CPACK_RPM_PACKAGE_${_RPM_SPEC_HEADER})
|
||||||
STRING(LENGTH ${_RPM_SPEC_HEADER} _PACKAGE_HEADER_STRLENGTH)
|
STRING(LENGTH ${_RPM_SPEC_HEADER} _PACKAGE_HEADER_STRLENGTH)
|
||||||
MATH(EXPR _PACKAGE_HEADER_STRLENGTH "${_PACKAGE_HEADER_STRLENGTH} - 1")
|
MATH(EXPR _PACKAGE_HEADER_STRLENGTH "${_PACKAGE_HEADER_STRLENGTH} - 1")
|
||||||
|
@ -579,6 +579,10 @@ Vendor: \@CPACK_RPM_PACKAGE_VENDOR\@
|
||||||
\@TMP_RPM_REQUIRES\@
|
\@TMP_RPM_REQUIRES\@
|
||||||
\@TMP_RPM_PROVIDES\@
|
\@TMP_RPM_PROVIDES\@
|
||||||
\@TMP_RPM_OBSOLETES\@
|
\@TMP_RPM_OBSOLETES\@
|
||||||
|
\@TMP_RPM_CONFLICTS\@
|
||||||
|
\@TMP_RPM_AUTOPROV\@
|
||||||
|
\@TMP_RPM_AUTOREQ\@
|
||||||
|
\@TMP_RPM_AUTOREQPROV\@
|
||||||
\@TMP_RPM_BUILDARCH\@
|
\@TMP_RPM_BUILDARCH\@
|
||||||
\@TMP_RPM_PREFIX\@
|
\@TMP_RPM_PREFIX\@
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue