[PATCH] Fix tgtd.spec to build on SLES
Roi Dayan <[email protected]>
| Newsgroups | org.kernel.vger.stgt |
|---|---|
| Message-ID | <[email protected]> |
The docbook package name is different between RedHat and SLES. Signed-off-by: Roi Dayan <[email protected]> --- 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