Hello community,

here is the log from the commit of package sg3_utils for openSUSE:Factory 
checked in at 2013-06-14 15:48:28
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/sg3_utils (Old)
 and      /work/SRC/openSUSE:Factory/.sg3_utils.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "sg3_utils"

Changes:
--------
--- /work/SRC/openSUSE:Factory/sg3_utils/sg3_utils.changes      2013-03-12 
11:33:26.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.sg3_utils.new/sg3_utils.changes 2013-06-14 
15:48:29.000000000 +0200
@@ -1,0 +2,39 @@
+Thu Jun 13 14:15:26 UTC 2013 - [email protected]
+
+- Implement shlib packaging guidelines; rename sg3_utils-devel
+  to libsgutils-devel (upstream recommendation)
+- More robust make install call; remove redundant %clean section;
+  simplify file lists
+
+-------------------------------------------------------------------
+Tue Jun 11 08:56:39 UTC 2013 - [email protected]
+
+- Update to version 1.36
+  - sg_vpd: Protocol-specific port information VPD page
+    for SAS SSP, persistent connection (spl3r2), power
+    disable (spl3r3)
+    - block device characteristics: add FUAB bit
+  - sg_xcopy: handle more descriptor types; handle zero
+    maximum segment length; allow list IDs to be disabled;
+    improve skip/seek handling; allow xcopy on destination
+  - sg_reset: and --no-esc option to stop reset escalation
+    - clean up cli, add long option names
+  - sg_luns: add --test=ALUN option for decoding LUNs
+    - decoded luns output in decimal or hex (if -HH given)
+    - add '--linux' option to show Linux LUN after T10
+      representation, can map one to the other
+  - sg_inq: add --vendor option to show standard inquiry's
+    vendor specific fields in ASCII
+    - take resid into account with response output
+  - sg_sync: add --16 (for 16 byte command) and --timeout=
+  - sg_logs: add data compression page (ssc4)
+  - sg_sat_set_features: increase --lba from 1 to 4 bytes
+  - sg_write_same: add --ndob option (sbc3r35d)
+  - sg_map: mark as deprecated
+  - sginfo: mark as deprecated, especially -l (list)
+  - sg_lib: improve snprintf handling
+  - sg_lib_data: sync asc/ascq codes with T10 20130117
+  - sg_cmds (lib): if noisy given, give more UA info
+  - make code more C++ friendly 
+
+-------------------------------------------------------------------

Old:
----
  sg3_utils-1.35.tgz

New:
----
  sg3_utils-1.36.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ sg3_utils.spec ++++++
--- /var/tmp/diff_new_pack.uh0QEm/_old  2013-06-14 15:48:29.000000000 +0200
+++ /var/tmp/diff_new_pack.uh0QEm/_new  2013-06-14 15:48:29.000000000 +0200
@@ -16,20 +16,22 @@
 #
 
 
-Url:            http://sg.danny.cz/sg/sg3_utils.html
-
 Name:           sg3_utils
-Version:        1.35
+%define lname  libsgutils2-2
+Version:        1.36
 Release:        0
 Summary:        A collection of tools that send SCSI commands to devices
 License:        GPL-2.0+ and BSD-3-Clause
 Group:          Hardware/Other
-Source:         http://sg.danny.cz/sg/p/sg3_utils-%{version}.tgz
+Url:            http://sg.danny.cz/sg/sg3_utils.html
+
+Source:         http://sg.danny.cz/sg/p/%name-%version.tar.xz
+BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+BuildRequires:  xz
 Requires(pre):  %insserv_prereq
 Provides:       scsi
 Provides:       sg_utils
 Obsoletes:      scsi <= 1.7_2.38_1.25_0.19_1.02_0.93
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
 The sg3_utils package contains utilities that send SCSI commands to
@@ -39,12 +41,32 @@
 ATAPI cd/dvd drives and SATA disks that connect via a translation layer
 or a bridge device are examples of devices that use SCSI command sets.
 
-%package devel
+%package -n %lname
+Summary:        Library to hold functions common to the SCSI utilities
+License:        BSD-3-Clause
+Group:          System/Libraries
+
+%description -n %lname
+The sg3_utils package contains utilities that send SCSI commands to
+devices. As well as devices on transports traditionally associated with
+SCSI (e.g. Fibre Channel (FCP), Serial Attached SCSI (SAS) and the SCSI
+Parallel Interface(SPI)) many other devices use SCSI command sets.
+ATAPI cd/dvd drives and SATA disks that connect via a translation layer
+or a bridge device are examples of devices that use SCSI command sets.
+
+This subpackage contains the library of common sg_utils code, such as
+SCSI error processing.
+
+%package -n libsgutils-devel
 Summary:        A collection of tools that send SCSI commands to devices
+License:        BSD-3-Clause
 Group:          Development/Libraries/C and C++
-Requires:       %{name} = %{version}
+Requires:       %lname = %version
+# Added for 13.1
+Obsoletes:      %name-devel < %version-%release
+Provides:       %name-devel = %version-%release
 
-%description devel
+%description -n libsgutils-devel
 The sg3_utils package contains utilities that send SCSI commands to
 devices. As well as devices on transports traditionally associated with
 SCSI (e.g. Fibre Channel (FCP), Serial Attached SCSI (SAS) and the SCSI
@@ -52,6 +74,9 @@
 ATAPI cd/dvd drives and SATA disks that connect via a translation layer
 or a bridge device are examples of devices that use SCSI command sets.
 
+This subpackage contains libraries and header files for developing
+applications that want to make use of libsgutils.
+
 %prep
 %setup -q
 
@@ -60,56 +85,35 @@
 %{__make} %{?_smp_mflags}
 
 %install
-%makeinstall
+make install DESTDIR="%buildroot"
 install -m 755 scripts/scsi_logging_level $RPM_BUILD_ROOT%{_bindir}
 install -m 755 scripts/rescan-scsi-bus.sh $RPM_BUILD_ROOT%{_bindir}
 %{__rm} -f %{buildroot}%{_libdir}/*.la
 
-%post -p /sbin/ldconfig
+%post   -p /sbin/ldconfig -n %lname
 
-%postun -p /sbin/ldconfig
+%postun -p /sbin/ldconfig -n %lname
 
 %files
 %defattr(-,root,root)
 %doc README README.sg_start 
 %doc ChangeLog CREDITS NEWS
-%attr(755,root,root) %{_bindir}/sg_*
-%attr(755,root,root) %{_bindir}/sginfo
-%attr(755,root,root) %{_bindir}/sgp_dd
-%attr(755,root,root) %{_bindir}/sgm_dd
-%attr(755,root,root) %{_bindir}/scsi_logging_level
-%attr(755,root,root) %{_bindir}/rescan-scsi-bus.sh
-%doc %{_mandir}/man8/sg_*.8.gz
-%doc %{_mandir}/man8/sgp_dd.8.gz
-%doc %{_mandir}/man8/sgm_dd.8.gz
-%doc %{_mandir}/man8/sginfo.8.gz
-%doc %{_mandir}/man8/sg3_utils.8.gz
-%doc %{_mandir}/man8/scsi_readcap.8.gz
-%doc %{_mandir}/man8/scsi_ready.8.gz
-%doc %{_mandir}/man8/scsi_start.8.gz
-%doc %{_mandir}/man8/scsi_stop.8.gz
-%doc %{_mandir}/man8/scsi_logging_level.8.gz
-%doc %{_mandir}/man8/scsi_mandat.8.gz
-%doc %{_mandir}/man8/scsi_satl.8.gz
-%doc %{_mandir}/man8/scsi_temperature.8.gz
-%attr(755,root,root) %{_libdir}/libsgutils2.so.*
-
-%files devel
-%defattr(644,root,root)
-%attr(755,root,root) %{_libdir}/libsgutils2.so
-%attr(755,root,root) %dir %{_prefix}/include/scsi
-%{_includedir}/scsi/sg_cmds.h
-%{_includedir}/scsi/sg_cmds_basic.h
-%{_includedir}/scsi/sg_cmds_extra.h
-%{_includedir}/scsi/sg_lib.h
-%{_includedir}/scsi/sg_pt.h
-%{_includedir}/scsi/sg_io_linux.h
-%{_includedir}/scsi/sg_linux_inc.h
-%{_includedir}/scsi/sg_cmds_mmc.h
-%{_includedir}/scsi/sg_lib_data.h
-
-%clean
-test ! -z "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != "/" && rm -rf 
$RPM_BUILD_ROOT
-rm -rf $RPM_BUILD_DIR/sg3_utils-%{version}
+%_bindir/sg_*
+%_bindir/scsi_*
+%_bindir/sginfo
+%_bindir/sgp_dd
+%_bindir/sgm_dd
+%_bindir/scsi_logging_level
+%_bindir/rescan-scsi-bus.sh
+%_mandir/man8/*.8*
+
+%files -n %lname
+%defattr(-,root,root)
+%_libdir/libsgutils2.so.2*
+
+%files -n libsgutils-devel
+%defattr(-,root,root)
+%_libdir/libsgutils2.so
+%_includedir/scsi/
 
 %changelog

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to