[PATCH] Fix tgtd.spec to build on SLES

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The docbook package name is different between RedHat and SLES.

Signed-off-by: Roi Dayan <roid@xxxxxxxxxxxx>
---
 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
 %else
+BuildRequires:  docbook-style-xsl
 Requires(post): chkconfig
 Requires(preun): chkconfig
 Requires(preun): initscripts
-- 
1.7.8.2

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




[Index of Archives]     [Linux SCSI]     [Linux RAID]     [Linux Clusters]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]

  Powered by Linux