[scsi-target-utils] update to 1.0.21-2
Andy Grover
grover at fedoraproject.org
Thu Nov 3 01:00:32 UTC 2011
commit 4f269f97b2bc99408a2c6a509387ae2a79313b35
Author: Andy Grover <agrover at redhat.com>
Date: Wed Nov 2 17:58:34 2011 -0700
update to 1.0.21-2
Signed-off-by: Andy Grover <agrover at redhat.com>
scsi-target-utils.spec | 15 ++++++++++-----
1 files changed, 10 insertions(+), 5 deletions(-)
---
diff --git a/scsi-target-utils.spec b/scsi-target-utils.spec
index b2f7973..b8e0dcf 100644
--- a/scsi-target-utils.spec
+++ b/scsi-target-utils.spec
@@ -1,6 +1,6 @@
Name: scsi-target-utils
Version: 1.0.21
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: The SCSI target daemon and utility programs
Group: System Environment/Daemons
@@ -16,7 +16,7 @@ Patch2: scsi-target-utils-hack-check-for-eventfd.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildRequires: pkgconfig
+BuildRequires: pkgconfig libxslt
%ifnarch s390 s390x
BuildRequires: libibverbs-devel librdmacm-devel
%endif
@@ -37,15 +37,14 @@ Currently, software iSCSI targets are supported.
%patch2 -p1
%build
-pushd usr
%{__sed} -i -e 's|-g -O2 -Wall|%{optflags}|' Makefile
%{__make} %{?_smp_mflags} ISCSI_RDMA=1
-popd
%install
%{__rm} -rf %{buildroot}
%{__install} -d %{buildroot}%{_sbindir}
+%{__install} -d %{buildroot}%{_mandir}/man5
%{__install} -d %{buildroot}%{_mandir}/man8
%{__install} -d %{buildroot}%{_initrddir}
%{__install} -d %{buildroot}%{_sysconfdir}/tgt
@@ -54,6 +53,7 @@ popd
%{__install} -p -m 0755 scripts/tgt-setup-lun %{buildroot}%{_sbindir}
%{__install} -p -m 0755 %{SOURCE1} %{buildroot}%{_initrddir}/tgtd
%{__install} -p -m 0755 scripts/tgt-admin %{buildroot}/%{_sbindir}/tgt-admin
+%{__install} -p -m 0644 doc/manpages/targets.conf.5 %{buildroot}/%{_mandir}/man5
%{__install} -p -m 0644 doc/manpages/tgtadm.8 %{buildroot}/%{_mandir}/man8
%{__install} -p -m 0644 doc/manpages/tgt-admin.8 %{buildroot}/%{_mandir}/man8
%{__install} -p -m 0644 doc/manpages/tgt-setup-lun.8 %{buildroot}/%{_mandir}/man8
@@ -91,6 +91,7 @@ fi
%{_sbindir}/tgt-setup-lun
%{_sbindir}/tgt-admin
%{_sbindir}/tgtimg
+%{_mandir}/man5/*
%{_mandir}/man8/*
%{_initrddir}/tgtd
%attr(0600,root,root) %config(noreplace) %{_sysconfdir}/sysconfig/tgtd
@@ -98,8 +99,12 @@ fi
%changelog
+* Wed Nov 2 2011 Andy Grover <agrover at redhat.com> - 1.0.21-2
+- Include targets.conf.5 manpage in pkg
+- Add libxslt as buildrequire for xsltproc (manpage generation)
+
* Wed Nov 2 2011 Andy Grover <agrover at redhat.com> - 1.0.21-1
-* New upstream version
+- New upstream version
- Refresh dynamic-link-iser.patch
- Remove upstreamed fix-segfault-on-exit.patch
More information about the scm-commits
mailing list