update to 2.1.fb36-1

Signed-off-by: Andy Grover <agrover@redhat.com>
This commit is contained in:
Andy Grover 2013-07-02 11:03:01 -07:00
parent 026774bf66
commit dc03ae275d
4 changed files with 7 additions and 36 deletions

1
.gitignore vendored
View File

@ -30,3 +30,4 @@
/rtslib-fb-2.1.fb33.tar.gz /rtslib-fb-2.1.fb33.tar.gz
/rtslib-fb-2.1.fb34.tar.gz /rtslib-fb-2.1.fb34.tar.gz
/rtslib-fb-2.1.fb35.tar.gz /rtslib-fb-2.1.fb35.tar.gz
/rtslib-fb-2.1.fb36.tar.gz

View File

@ -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

View File

@ -8,11 +8,10 @@ Name: python-rtslib
License: AGPLv3 License: AGPLv3
Group: System Environment/Libraries Group: System Environment/Libraries
Summary: API for Linux kernel LIO SCSI target Summary: API for Linux kernel LIO SCSI target
Version: 2.1.fb35 Version: 2.1.fb36
Release: 1%{?dist} Release: 1%{?dist}
URL: https://fedorahosted.org/targetcli-fb/ URL: https://fedorahosted.org/targetcli-fb/
Source: https://fedorahosted.org/released/targetcli-fb/%{oname}-%{version}.tar.gz 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) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch BuildArch: noarch
BuildRequires: python-devel epydoc BuildRequires: python-devel epydoc
@ -46,7 +45,6 @@ API for generic Linux SCSI kernel target.
%prep %prep
%setup -q -n %{oname}-%{version} %setup -q -n %{oname}-%{version}
%patch0 -p1
%if 0%{?with_python3} %if 0%{?with_python3}
rm -rf %{py3dir} rm -rf %{py3dir}
@ -93,6 +91,10 @@ rm -rf %{buildroot}
%doc doc/html %doc doc/html
%changelog %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 * Fri Jun 7 2013 Andy Grover <agrover@redhat.com> - 2.1.fb35-1
- New upstream version - New upstream version
- add fix-tabs.patch - add fix-tabs.patch

View File

@ -1 +1 @@
1f9f69150b388672b6ab91b9cb04cb9d rtslib-fb-2.1.fb35.tar.gz 20c7ff2c15bdb64f5897fe22804ea242 rtslib-fb-2.1.fb36.tar.gz