From 2390f8f2c1502deb8b34abe81cd4594f38e2762a Mon Sep 17 00:00:00 2001 From: Andy Grover Date: Tue, 7 Aug 2012 12:50:52 -0700 Subject: [PATCH] update to 2.1.fb20-2 Signed-off-by: Andy Grover --- python-rtslib-no-usb.patch | 27 +++++++++++++++++++++++++++ python-rtslib.spec | 7 ++++++- 2 files changed, 33 insertions(+), 1 deletion(-) create mode 100644 python-rtslib-no-usb.patch diff --git a/python-rtslib-no-usb.patch b/python-rtslib-no-usb.patch new file mode 100644 index 0000000..2fe8286 --- /dev/null +++ b/python-rtslib-no-usb.patch @@ -0,0 +1,27 @@ +diff --git a/specs/usb_gadget.spec b/specs/usb_gadget.spec +deleted file mode 100644 +index 94f82bf..0000000 +--- a/specs/usb_gadget.spec ++++ /dev/null +@@ -1,21 +0,0 @@ +-# The USB-gadget fabric module specification +-# +-# This file is part of RTSLib Community Edition. +-# Copyright (c) 2011 by RisingTide Systems LLC +-# +-# This program is free software: you can redistribute it and/or modify +-# it under the terms of the GNU Affero General Public License as +-# published by the Free Software Foundation, version 3 (AGPLv3). +-# +-# This program is distributed in the hope that it will be useful, +-# but WITHOUT ANY WARRANTY; without even the implied warranty of +-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +-# GNU Affero General Public License for more details. +-# +-# You should have received a copy of the GNU Affero General Public License +-# along with this program. If not, see . +- +-features = ("nexus",) +-wwn_type = "naa" +-kernel_module = "tcm_usb_gadget" +-configfs_group = "usb_gadget" diff --git a/python-rtslib.spec b/python-rtslib.spec index 6df2edb..57f68ad 100644 --- a/python-rtslib.spec +++ b/python-rtslib.spec @@ -5,9 +5,10 @@ License: AGPLv3 Group: System Environment/Libraries Summary: API for RisingTide Systems generic SCSI target Version: 2.1.fb20 -Release: 1%{?dist} +Release: 2%{?dist} URL: https://github.com/agrover/rtslib-fb/ Source: https://github.com/downloads/agrover/%{oname}/%{oname}-%{version}.tar.gz +Patch0: %{name}-no-usb.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: python-ipaddr python-ethtool python-devel epydoc @@ -29,6 +30,7 @@ kernel target. %prep %setup -q -n %{oname}-%{version} +%patch0 -p1 %build %{__python} setup.py build @@ -55,6 +57,9 @@ rm -rf %{buildroot} %doc doc/html %changelog +* Tue Aug 7 2012 Andy Grover - 2.1.fb20-2 +- Add patch no-usb.patch + * Tue Aug 7 2012 Andy Grover - 2.1.fb20-1 - New upstream release. Add kernel version dependency. - Don't claim python_sitelib