update to 2.1.fb36-1
Signed-off-by: Andy Grover <agrover@redhat.com>
This commit is contained in:
parent
026774bf66
commit
dc03ae275d
1
.gitignore
vendored
1
.gitignore
vendored
@ -30,3 +30,4 @@
|
||||
/rtslib-fb-2.1.fb33.tar.gz
|
||||
/rtslib-fb-2.1.fb34.tar.gz
|
||||
/rtslib-fb-2.1.fb35.tar.gz
|
||||
/rtslib-fb-2.1.fb36.tar.gz
|
||||
|
@ -1,32 +0,0 @@
|
||||
commit 44223d7bd966164387fbaaade7da58fad617f427
|
||||
Author: Andy Grover <agrover@redhat.com>
|
||||
Date: Fri Jun 7 15:31:34 2013 -0700
|
||||
|
||||
tabs -> spaces
|
||||
|
||||
Signed-off-by: Andy Grover <agrover@redhat.com>
|
||||
|
||||
diff --git a/rtslib/tcm.py b/rtslib/tcm.py
|
||||
index 4152a98..32d53ee 100644
|
||||
--- a/rtslib/tcm.py
|
||||
+++ b/rtslib/tcm.py
|
||||
@@ -83,8 +83,8 @@ class StorageObject(CFSNode):
|
||||
if not lines[0].startswith("PR_REG_START:"):
|
||||
return
|
||||
|
||||
- reservations = []
|
||||
- for line in lines:
|
||||
+ reservations = []
|
||||
+ for line in lines:
|
||||
if line.startswith("PR_REG_START:"):
|
||||
res_list = []
|
||||
elif line.startswith("PR_REG_END:"):
|
||||
@@ -92,7 +92,7 @@ class StorageObject(CFSNode):
|
||||
else:
|
||||
res_list.append(line.strip())
|
||||
|
||||
- for res in reservations:
|
||||
+ for res in reservations:
|
||||
fwrite(self.path + "/pr/res_aptpl_metadata", ",".join(res))
|
||||
|
||||
@classmethod
|
@ -8,11 +8,10 @@ Name: python-rtslib
|
||||
License: AGPLv3
|
||||
Group: System Environment/Libraries
|
||||
Summary: API for Linux kernel LIO SCSI target
|
||||
Version: 2.1.fb35
|
||||
Version: 2.1.fb36
|
||||
Release: 1%{?dist}
|
||||
URL: https://fedorahosted.org/targetcli-fb/
|
||||
Source: https://fedorahosted.org/released/targetcli-fb/%{oname}-%{version}.tar.gz
|
||||
Patch0: %{name}-fix-tabs.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
BuildArch: noarch
|
||||
BuildRequires: python-devel epydoc
|
||||
@ -46,7 +45,6 @@ API for generic Linux SCSI kernel target.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{oname}-%{version}
|
||||
%patch0 -p1
|
||||
|
||||
%if 0%{?with_python3}
|
||||
rm -rf %{py3dir}
|
||||
@ -93,6 +91,10 @@ rm -rf %{buildroot}
|
||||
%doc doc/html
|
||||
|
||||
%changelog
|
||||
* Tue Jul 2 2013 Andy Grover <agrover@redhat.com> - 2.1.fb36-1
|
||||
- New upstream version
|
||||
- Remove fix-tabs.patch
|
||||
|
||||
* Fri Jun 7 2013 Andy Grover <agrover@redhat.com> - 2.1.fb35-1
|
||||
- New upstream version
|
||||
- add fix-tabs.patch
|
||||
|
Loading…
Reference in New Issue
Block a user