Fix tgtd.spec to build on SLES
PATCH 1/1 Fix tgtd.spec to build on SLES
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(-)
scripts/tgtd.spec +3 -1
@@ -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
FUJITA Tomonori
AppliedQuoted 6 lines · On Fri, 2 May 2014 10:13:00 +0300 Roi Dayan <[email protected]> wrote:
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(-)
Applied, thanks!