Hello community,

here is the log from the commit of package sg3_utils for openSUSE:Factory 
checked in at 2014-06-26 07:57:57
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
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      2014-06-24 
15:15:37.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.sg3_utils.new/sg3_utils.changes 2014-06-26 
07:57:59.000000000 +0200
@@ -1,0 +2,12 @@
+Wed Jun 25 07:53:48 UTC 2014 - rmila...@suse.com
+
+- Fix missing rule for generating links for partitions also (bnc#883032)
+  Add:
+  sg3_utils-fix-missing-rule-for-scsi_serial-partitions.patch 
+
+-------------------------------------------------------------------
+Fri Jun 20 13:15:12 UTC 2014 - jeng...@inai.de
+
+- Add symbol versions to library
+
+-------------------------------------------------------------------

New:
----
  sg3_utils-fix-missing-rule-for-scsi_serial-partitions.patch

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

Other differences:
------------------
++++++ sg3_utils.spec ++++++
--- /var/tmp/diff_new_pack.tPdRS6/_old  2014-06-26 07:58:00.000000000 +0200
+++ /var/tmp/diff_new_pack.tPdRS6/_new  2014-06-26 07:58:00.000000000 +0200
@@ -26,6 +26,7 @@
 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
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  udev
 BuildRequires:  xz
@@ -80,9 +81,14 @@
 
 %prep
 %setup -q
+%patch0 -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"
 make %{?_smp_mflags}
 
 %install

++++++ sg3_utils-fix-missing-rule-for-scsi_serial-partitions.patch ++++++
Index: sg3_utils-1.39/scripts/58-scsi-sg3_symlink.rules
===================================================================
--- sg3_utils-1.39/scripts/58-scsi-sg3_symlink.rules
+++ sg3_utils-1.39/scripts/58-scsi-sg3_symlink.rules
@@ -10,6 +10,7 @@ ENV{DM_MULTIPATH_DEVICE_PATH}=="1", GOTO
 # Select which identifier to use per default
 # 0: vpd page 0x80 identifier
 ENV{SCSI_IDENT_SERIAL}=="?*", ENV{DEVTYPE}=="disk", 
SYMLINK+="disk/by-id/scsi-S$env{SCSI_VENDOR}_$env{SCSI_MODEL}_$env{SCSI_IDENT_SERIAL}"
+ENV{SCSI_IDENT_SERIAL}=="?*", ENV{DEVTYPE}=="partition", 
SYMLINK+="disk/by-id/scsi-S$env{SCSI_VENDOR}_$env{SCSI_MODEL}_$env{SCSI_IDENT_SERIAL}-part%n"
 # 1: NAA identifier (prefix 3)
 ENV{SCSI_IDENT_LUN_NAA}=="?*", ENV{DEVTYPE}=="disk", 
SYMLINK+="disk/by-id/scsi-3$env{SCSI_IDENT_LUN_NAA}"
 ENV{SCSI_IDENT_LUN_NAA}=="?*", ENV{DEVTYPE}=="partition", 
SYMLINK+="disk/by-id/scsi-3$env{SCSI_IDENT_LUN_NAA}-part%n"
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to