[python-rtslib] update to 2.1.fb41-3
Andy Grover
grover at fedoraproject.org
Wed Nov 6 22:58:15 UTC 2013
commit 204c2281b2f9490492e8f85b721ac4ae51072c44
Author: Andy Grover <agrover at redhat.com>
Date: Wed Nov 6 14:28:21 2013 -0800
update to 2.1.fb41-3
Signed-off-by: Andy Grover <agrover at redhat.com>
python-rtslib.spec | 10 ++++++++--
1 files changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/python-rtslib.spec b/python-rtslib.spec
index af2e03b..102dbb2 100644
--- a/python-rtslib.spec
+++ b/python-rtslib.spec
@@ -9,7 +9,7 @@ License: ASL 2.0
Group: System Environment/Libraries
Summary: API for Linux kernel LIO SCSI target
Version: 2.1.fb41
-Release: 2%{?dist}
+Release: 3%{?dist}
URL: https://fedorahosted.org/targetcli-fb/
Source: https://fedorahosted.org/released/targetcli-fb/%{oname}-%{version}.tar.gz
Source1: target.service
@@ -82,7 +82,10 @@ install -m 644 doc/saveconfig.json.5.gz %{buildroot}%{_mandir}/man5/
%if 0%{?with_python3}
pushd %{py3dir}
-%{__python3} setup.py install --skip-build --root %{buildroot}
+# We don't want py3-converted scripts overwriting py2 scripts
+# Shunt them elsewhere then delete
+%{__python3} setup.py install --skip-build --root %{buildroot} --install-scripts py3scripts
+rm -rf %{buildroot}/py3scripts
popd
%endif
@@ -113,6 +116,9 @@ popd
%doc doc/html
%changelog
+* Wed Nov 6 2013 Andy Grover <agrover at redhat.com> - 2.1.fb41-3
+- Don't overwrite py2 scripts with py3 scripts
+
* Mon Nov 4 2013 Andy Grover <agrover at redhat.com> - 2.1.fb41-2
- Update rtslib-fix-setup.patch with backported fixups
- Add in missing systemd requires
More information about the scm-commits
mailing list