[stgt] [PATCH] Fix tgtd.spec to build on SLES

Roi Dayan roid at mellanox.com
Fri May 2 09:13:00 CEST 2014

The docbook package name is different between RedHat and SLES.

Signed-off-by: Roi Dayan <roid at mellanox.com>
 scripts/tgtd.spec |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/scripts/tgtd.spec b/scripts/tgtd.spec
index 19873e4..e0e38db 100644
--- a/scripts/tgtd.spec
+++ b/scripts/tgtd.spec
@@ -8,10 +8,12 @@ License:        GPLv2
 URL:            http://stgt.sourceforge.net/
 Source0:        %{name}-%{version}-%{release}.tgz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildRequires:  pkgconfig libibverbs-devel librdmacm-devel libxslt docbook-style-xsl libaio-devel
+BuildRequires:  pkgconfig libibverbs-devel librdmacm-devel libxslt libaio-devel
 %if %{defined suse_version}
+BuildRequires:  docbook-xsl-stylesheets
 Requires: aaa_base
+BuildRequires:  docbook-style-xsl
 Requires(post): chkconfig
 Requires(preun): chkconfig
 Requires(preun): initscripts

To unsubscribe from this list: send the line "unsubscribe stgt" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

More information about the stgt mailing list