![](https://seccdn.libravatar.org/avatar/e2145bc5cf53dda95c308a3c75e8fef3.jpg?s=120&d=mm&r=g)
Hello community, here is the log from the commit of package python-rtslib-fb for openSUSE:Factory checked in at 2016-04-28 16:55:27 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-rtslib-fb (Old) and /work/SRC/openSUSE:Factory/.python-rtslib-fb.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-rtslib-fb" Changes: -------- --- /work/SRC/openSUSE:Factory/python-rtslib-fb/python-rtslib-fb.changes 2015-05-16 19:02:05.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.python-rtslib-fb.new/python-rtslib-fb.changes 2016-04-28 16:58:52.000000000 +0200 @@ -1,0 +2,7 @@ +Wed Apr 20 16:17:30 UTC 2016 - lduncan@suse.com + +- Update to version 2.1.fb60 + * no changelog available, but git log shows 59 changes, + some trivial + +------------------------------------------------------------------- Old: ---- rtslib-fb-2.1.51.tar.gz New: ---- rtslib-fb-2.1.fb60.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-rtslib-fb.spec ++++++ --- /var/tmp/diff_new_pack.GSvKip/_old 2016-04-28 16:58:55.000000000 +0200 +++ /var/tmp/diff_new_pack.GSvKip/_new 2016-04-28 16:58:55.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-rtslib-fb # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,42 +16,78 @@ # -Name: python-rtslib-fb -Version: 2.1.51 -Release: 0 +%define oname rtslib-fb +%define realver 2.1.fb60 + +Name: python-%{oname} +Version: 2.1.60 +Release: 1%{?dist} +Url: http://github.com/agrover/rtslib-fb Summary: API for Linux kernel SCSI target (aka LIO) License: Apache-2.0 Group: Development/Languages/Python -Url: http://github.com/agrover/rtslib-fb -Source: https://pypi.python.org/packages/source/r/rtslib-fb/rtslib-fb-%{version}.tar.gz +Source: %{oname}-%{realver}.tar.gz +Provides: python-rtslib = %{version} +Obsoletes: python-rtslib < %{version} +BuildRequires: fdupes BuildRequires: python-devel BuildRequires: python-setuptools BuildRoot: %{_tmppath}/%{name}-%{version}-build -%if 0%{?suse_version} && 0%{?suse_version} <= 1110 -%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} -%else BuildArch: noarch -%endif -# This is the "free branch" of rtslib, they share modules but have differnt code... -Conflicts: python-rtslib %description rtslib-fb is an object-based Python library for configuring the LIO generic SCSI target, present in 3.x Linux kernel versions. rtslib-fb is licensed under the Apache 2.0 license. Contributions are welcome +%package doc +Summary: Documentatoin for Python rtslib-fb +Group: Documentation/HTML +BuildArch: noarch +BuildRequires: epydoc +BuildRequires: pyudev + +%description doc +rtslib-fb is an object-based Python library for configuring the LIO generic +SCSI target, present in 3.x Linux kernel versions. rtslib-fb is licensed under +the Apache 2.0 license. Contributions are welcome + %prep -%setup -q -n rtslib-fb-%{version} +%setup -q -n %{oname}-%{realver} %build -python setup.py build +%__python setup.py build +%__mkdir_p doc/ +epydoc --no-sourcecode --html -n %{oname} --exclude configobj rtslib_fb/*.py +%__mv html doc/ %install -python setup.py install --prefix=%{_prefix} --root=%{buildroot} +[ "%{buildroot}" != "/" ] && %__rm -rf %{buildroot} +%__python setup.py install --skip-build --prefix=%{_prefix} --root=%{buildroot} +%fdupes %{buildroot}%{python_sitelib} +%__install -d -m755 %{buildroot}%{_defaultdocdir}/python-rtslib-doc-%{version} +%__cp -r doc/* %{buildroot}%{_defaultdocdir}/python-rtslib-doc-%{version}/ +%fdupes %{buildroot}%{_defaultdocdir} +%__install -d -m755 %{buildroot}%{_sysconfdir}/target +%__install -d -m755 %{buildroot}%{_mandir}/man5 +%__install -m644 doc/saveconfig.json.5 %{buildroot}%{_mandir}/man5 +%__install -d -m755 %{buildroot}%{_mandir}/man8 +%__install -m644 doc/targetctl.8 %{buildroot}%{_mandir}/man8 + +%clean +[ "%{buildroot}" != "/" ] && %__rm -rf %{buildroot} %files %defattr(-,root,root,-) -/usr/bin/targetctl +%{_bindir}/targetctl %{python_sitelib}/* +%doc COPYING README.md +%dir %{_sysconfdir}/target +%doc %{_mandir}/man5/saveconfig.json.5.gz +%doc %{_mandir}/man8/targetctl.8.gz + +%files doc +%defattr(-,root,root,-) +%{_defaultdocdir}/python-rtslib-doc-%{version} %changelog ++++++ rtslib-fb-2.1.51.tar.gz -> rtslib-fb-2.1.fb60.tar.gz ++++++ ++++ 2406 lines of diff (skipped)