Hello community, here is the log from the commit of package lio-utils for openSUSE:Factory checked in at 2017-04-28 09:12:32 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/lio-utils (Old) and /work/SRC/openSUSE:Factory/.lio-utils.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "lio-utils" Fri Apr 28 09:12:32 2017 rev:13 rq:489643 version:4.1 Changes: -------- --- /work/SRC/openSUSE:Factory/lio-utils/lio-utils.changes 2016-08-12 15:43:26.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.lio-utils.new/lio-utils.changes 2017-04-28 09:12:33.412398068 +0200 @@ -1,0 +2,13 @@ +Thu Apr 20 09:34:53 UTC 2017 - jeng...@inai.de + +- Drop author lists, they do not count as description. +- Replace old $RPM_ shell variables by macros for visual + consistency. + +------------------------------------------------------------------- +Thu Apr 13 17:08:58 UTC 2017 - ldun...@suse.com + +- Updated SPEC file description of lio-mibs + sub-package (bsc#1031855). No functional change. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ lio-utils.spec ++++++ --- /var/tmp/diff_new_pack.AREuk5/_old 2017-04-28 09:12:37.179866806 +0200 +++ /var/tmp/diff_new_pack.AREuk5/_new 2017-04-28 09:12:37.179866806 +0200 @@ -1,7 +1,7 @@ # # spec file for package lio-utils # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 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,13 +16,12 @@ # -Summary: Linux-iSCSI.org Target Userspace utils -License: GPL-2.0+ -Group: System/Kernel - Name: lio-utils Version: 4.1 Release: 0 +Summary: Linux-iSCSI.org Target Userspace utils +License: GPL-2.0+ +Group: System/Kernel Url: http://linux-iscsi.org/index.php/Lio-utils Source: lio-utils-4.1.tar.bz2 Source1: target.service @@ -111,11 +110,6 @@ setup a number of different subsystem storage object backstores for LIO LUN endpoints. - -Authors: --------- - Nicholas Bellinger <n...@linux-iscsi.org> - %package -n lio-mibs Summary: Linux-iSCSI.org Target Userspace utils Group: System/Kernel @@ -123,26 +117,17 @@ Requires: net-snmp %description -n lio-mibs -lio-utils provide a simple low-level configuration tool -set for LIO. - -lio-utils use the configFS kernel API that is available with LIO, which -provides a clean interface for controlling the kernel level Target -engine and its fabric module subsystems. lio-utils require LIO 3 or -higher, and provide iSCSI target functionality on a number of Linux -baremetal and virtualized systems. +lio-mibs add SNMP support to the lio-utils package. -The lio-utils HOWTO gives a good idea of how lio-utils (tcm_node and -lio_node) CLI operations look like. It is based on the lio-core-2.6.git -tree for Linux kernel v2.6.30. The LIO User's Reference Manual contains -detailed operating instructions. It also describes how to setup a -number of different subsystem storage object backstores for LIO LUN -endpoints. +See the lio-utils package description for an overview. +The following standard MIBs are supported: -Authors: --------- - Nicholas Bellinger <n...@linux-iscsi.org> +MIB Files IETF Drafts Level of Support +------------------------------------------------------------------------ +LIO-ISCSI-MIB.txt draft-ietf-ips-iscsi-mib-11.txt Full support +LIO-IPS-AUTH-MIB.txt draft-ietf-ips-auth-mib-08.txt Partial support +LIO-SCSI-MIB.txt RFC 4455 Partial support %prep %setup @@ -206,49 +191,49 @@ %patch42 -p1 %build -make %{?_smp_mflags} OPTFLAGS="$RPM_OPT_FLAGS" +make %{?_smp_mflags} OPTFLAGS="%{optflags}" %install %define _vardir /var/target -install -vD %{S:1} ${RPM_BUILD_ROOT}/etc/sysconfig/SuSEfirewall2.d/services/target -mkdir -p $RPM_BUILD_ROOT%{_vardir} -mkdir $RPM_BUILD_ROOT%{_vardir}/pr -mkdir $RPM_BUILD_ROOT%{_vardir}/alua -mkdir $RPM_BUILD_ROOT%{_vardir}/fabric -mkdir $RPM_BUILD_ROOT%{_vardir}/policy +install -vD %{S:1} %{buildroot}/etc/sysconfig/SuSEfirewall2.d/services/target +mkdir -p %{buildroot}/%{_vardir} +mkdir %{buildroot}/%{_vardir}/pr +mkdir %{buildroot}/%{_vardir}/alua +mkdir %{buildroot}/%{_vardir}/fabric +mkdir %{buildroot}/%{_vardir}/policy -mkdir -p $RPM_BUILD_ROOT/etc/target -echo "#!/bin/bash" > $RPM_BUILD_ROOT/etc/target/tcm_start.sh +mkdir -p %{buildroot}/etc/target +echo "#!/bin/bash" >%{buildroot}/etc/target/tcm_start.sh for mod in target_core_mod target_core_file target_core_iblock target_core_pscsi ; do - echo "modprobe $mod" >> $RPM_BUILD_ROOT/etc/target/tcm_start.sh + echo "modprobe $mod" >>%{buildroot}/etc/target/tcm_start.sh done -chmod 755 $RPM_BUILD_ROOT/etc/target/tcm_start.sh -echo "#!/bin/bash" > $RPM_BUILD_ROOT/etc/target/lio_start.sh -echo "modprobe iscsi_target_mod" >> $RPM_BUILD_ROOT/etc/target/lio_start.sh -echo "udevadm settle -t 3 -E /sys/kernel/config/target" >> $RPM_BUILD_ROOT/etc/target/lio_start.sh -chmod 755 $RPM_BUILD_ROOT/etc/target/lio_start.sh +chmod 755 %{buildroot}/etc/target/tcm_start.sh +echo "#!/bin/bash" >%{buildroot}/etc/target/lio_start.sh +echo "modprobe iscsi_target_mod" >>%{buildroot}/etc/target/lio_start.sh +echo "udevadm settle -t 3 -E /sys/kernel/config/target" >>%{buildroot}/etc/target/lio_start.sh +chmod 755 %{buildroot}/etc/target/lio_start.sh (cd tcm-py; python setup.py install --prefix=%{_prefix} --root=%{buildroot}) (cd lio-py; python setup.py install --prefix=%{_prefix} --root=%{buildroot}) -mkdir $RPM_BUILD_ROOT/usr/sbin -make DESTDIR=$RPM_BUILD_ROOT -C tools install -make DESTDIR=$RPM_BUILD_ROOT DLMODDIR=%{_prefix}/lib/net-snmp -C mib-modules install -install -m 755 mib-modules/setup_snmpd $RPM_BUILD_ROOT/etc/target/setup_snmpd +mkdir %{buildroot}/usr/sbin +make DESTDIR=%{buildroot} -C tools install +make DESTDIR=%{buildroot} DLMODDIR=%{_prefix}/lib/net-snmp -C mib-modules install +install -m 755 mib-modules/setup_snmpd %{buildroot}/etc/target/setup_snmpd for p in tcm_node tcm_dump tcm_fabric tcm_iblock tcm_fileio tcm_pscsi tcm_ramdisk tcm_loop lio_node lio_dump ; do - chmod 755 $RPM_BUILD_ROOT/%{python_sitelib}/$p.py - ln -sf ../../%{python_sitelib}/$p.py $RPM_BUILD_ROOT/usr/sbin/$p + chmod 755 "%{buildroot}/%{python_sitelib}/$p.py" + ln -sf "../../%{python_sitelib}/$p.py" "%{buildroot}/usr/sbin/$p" done %if %{?suse_version} > 1220 -install -D -m 0644 scripts/target.service $RPM_BUILD_ROOT%{_unitdir}/target.service -ln -sf service $RPM_BUILD_ROOT/usr/sbin/rctarget +install -D -m 0644 scripts/target.service %{buildroot}/%{_unitdir}/target.service +ln -sf service %{buildroot}/usr/sbin/rctarget %else -if [ ! -d $RPM_BUILD_ROOT/etc/init.d ] ; then - mkdir -p $RPM_BUILD_ROOT/etc/init.d +if [ ! -d %{buildroot}/etc/init.d ] ; then + mkdir -p %{buildroot}/etc/init.d fi -install -m 755 scripts/rc.target.suse $RPM_BUILD_ROOT/etc/init.d/target -ln -sf ../../etc/init.d/target $RPM_BUILD_ROOT/usr/sbin/rctarget +install -m 755 scripts/rc.target.suse %{buildroot}/etc/init.d/target +ln -sf ../../etc/init.d/target %{buildroot}/usr/sbin/rctarget %endif -install -D -m 0755 %{S:2} ${RPM_BUILD_ROOT}/usr/sbin/ +install -D -m 0755 %{S:2} %{buildroot}/usr/sbin/ %preun %if %{?suse_version} > 1220