Skip to contentSkip to conversation

Fix tgtd.spec to build on SLES

PATCH Applied Roi Dayan 2 participants 2 messages May 2, 2014 – May 7, 2014

lore
Share & tools
lore

Roi Dayan

author
#0 lore raw

PATCH 1/1 Fix tgtd.spec to build on SLES

The docbook package name is different between RedHat and SLES.

---
 scripts/tgtd.spec |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
scripts/tgtd.spec +3 -1
index 19873e4..e0e38db 100644
@@ -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
 %else
+BuildRequires:  docbook-style-xsl
 Requires(post): chkconfig
 Requires(preun): chkconfig
 Requires(preun): initscripts
Signature · 1 line
1.7.8.2