Hello community,
here is the log from the commit of package sg3_utils for openSUSE:Factory checked in at 2015-03-01 14:51:31
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
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 2015-01-07 09:38:18.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.sg3_utils.new/sg3_utils.changes 2015-03-01 14:51:32.000000000 +0100
@@ -1,0 +2,16 @@
+Fri Feb 13 14:22:36 UTC 2015 - jengelh@inai.de
+
+- Update to ne wupstream release 1.40
+* New utilities: sg_write_verify (for WRITE AND VERIFY),
+ sg_ses_microcode, sg_sat_read_gplog.
+* sg_senddiag gained the --maxlen= and --page=PG options
+* sg_opcodes gained the --compact field
+* sg_inq: expand Block limits VPD page output
+- Drop sg3_utils-fix-missing-rule-for-scsi_serial-partitions.patch,
+ sg3_utils-Fixup-formatting-of-invalid-VPD-page-0x83.patch,
+ sg3_utils-Do-not-export-long-identifiers.patch
+ (merged upstream)
+- Replace symbol version hack (it forced lockstep updates) by
+ sgut-libversioning.diff (allows parallel installation).
+
+-------------------------------------------------------------------
Old:
----
sg3_utils-1.39.tar.xz
sg3_utils-Do-not-export-long-identifiers.patch
sg3_utils-Fixup-formatting-of-invalid-VPD-page-0x83.patch
sg3_utils-fix-missing-rule-for-scsi_serial-partitions.patch
New:
----
sg3_utils-1.40.tar.xz
sgut-libversioning.diff
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ sg3_utils.spec ++++++
--- /var/tmp/diff_new_pack.MNy6UJ/_old 2015-03-01 14:51:33.000000000 +0100
+++ /var/tmp/diff_new_pack.MNy6UJ/_new 2015-03-01 14:51:33.000000000 +0100
@@ -1,7 +1,7 @@
#
# spec file for package sg3_utils
#
-# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 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
@@ -17,8 +17,8 @@
Name: sg3_utils
-%define lname libsgutils2-2
-Version: 1.39
+%define lname libsgutils2-1_40-2
+Version: 1.40
Release: 0
Summary: A collection of tools that send SCSI commands to devices
License: GPL-2.0+ and BSD-3-Clause
@@ -26,11 +26,10 @@
Url: http://sg.danny.cz/sg/sg3_utils.html
Source: http://sg.danny.cz/sg/p/%name-%version.tar.xz
-Patch0: sg3_utils-fix-missing-rule-for-scsi_serial-partitions.patch
-Patch1: sg3_utils-Fixup-formatting-of-invalid-VPD-page-0x83.patch
-Patch2: sg3_utils-Do-not-export-long-identifiers.patch
+Patch1: sgut-libversioning.diff
Patch3: sg3_utils-sg_inq-blacklist.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
+BuildRequires: libtool
BuildRequires: udev
BuildRequires: xz
Requires(pre): %insserv_prereq
@@ -84,21 +83,16 @@
%prep
%setup -q
-%patch0 -p1
%patch1 -p1
-%patch2 -p1
%patch3 -p1
%build
-%configure --disable-static --with-pic
-# sg3_utils has added functions between (for example) 1.36 and 1.39
-# without tracking them. Add symvers so RPM updates work in all cases.
-echo 'V_%version { global: *; };' >symvers
-make %{?_smp_mflags} -C lib LDFLAGS="-Wl,--version-script=$PWD/symvers"
+autoreconf -fi
+%configure --disable-static
make %{?_smp_mflags}
%install
-make install DESTDIR="%buildroot"
+%make_install
install -m 755 scripts/scsi_logging_level $RPM_BUILD_ROOT%{_bindir}
install -m 755 scripts/rescan-scsi-bus.sh $RPM_BUILD_ROOT%{_bindir}
install -m 644 doc/rescan-scsi-bus.sh.8 $RPM_BUILD_ROOT%{_mandir}/man8
@@ -128,7 +122,7 @@
%files -n %lname
%defattr(-,root,root)
-%_libdir/libsgutils2.so.2*
+%_libdir/libsgutils2-1.*.so.2*
%files -n libsgutils-devel
%defattr(-,root,root)
++++++ sg3_utils-1.39.tar.xz -> sg3_utils-1.40.tar.xz ++++++
++++ 16352 lines of diff (skipped)
++++++ sgut-libversioning.diff ++++++
From: Jan Engelhardt