소스 검색

Add Requires: libxslt if BUILD_XMLCONF is defined

Signed-off-by: Steven Dake <sdake@redhat.com>
Reviewed-by: Angus Salkled <asalkeld@redhat.com>
Steven Dake 14 년 전
부모
커밋
23b93ccb0f
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      corosync.spec.in

+ 3 - 0
corosync.spec.in

@@ -54,6 +54,9 @@ BuildRequires: dbus-devel
 %if %{with systemd}
 BuildRequires: systemd-units
 %endif
+%if %{with xmlconf}
+Requires: libxslt
+%endif
 
 BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)