[packages/sg3_utils] Up to 1.49
arekm
arekm at pld-linux.org
Thu Nov 26 08:28:01 CET 2026
commit 930bc3e966eb8e0e7dfd6aaa48903cb6ae1704bc
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Thu Nov 26 04:20:30 2026 +0100
Up to 1.49
sg3_utils-rescan-scsi-bus.sh.patch | 11 -----------
sg3_utils.spec | 14 +++++++++++---
2 files changed, 11 insertions(+), 14 deletions(-)
---
diff --git a/sg3_utils.spec b/sg3_utils.spec
index 7ce9027..5b052e4 100644
--- a/sg3_utils.spec
+++ b/sg3_utils.spec
@@ -5,14 +5,16 @@
Summary: Utilities and test programs for the Linux sg version 3 device driver
Summary(pl.UTF-8): Programy narzędziowe i testowe dla linuksowego sterownika sg w wersji 3
Name: sg3_utils
-Version: 1.48
+Version: 1.49
Release: 1
License: GPL v2 (utilities), BSD (library)
Group: Applications/System
Source0: http://sg.danny.cz/sg/p/%{name}-%{version}.tar.xz
-# Source0-md5: 0024393d2d2942cc081ce613d98db68a
-Patch0: %{name}-rescan-scsi-bus.sh.patch
+# Source0-md5: 8ee881a470b95fa4af2ec4c9e245b50c
URL: http://sg.danny.cz/sg/sg3_utils.html
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: libtool
BuildRequires: rpmbuild(macros) >= 1.527
BuildRequires: tar >= 1:1.22
BuildRequires: xz
@@ -68,6 +70,11 @@ Statyczna wersja biblioteki sgutils2.
cp -p scripts/README README.scripts
%build
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
%configure \
%{__enable_disable static_libs static}
@@ -112,6 +119,7 @@ rm -rf $RPM_BUILD_ROOT
/lib/udev/rules.d/59-fc-wwpn-id.rules
/lib/udev/rules.d/59-scsi-cciss_id.rules
%{_mandir}/man8/rescan-scsi-bus.sh.8*
+%{_mandir}/man8/scsi-rescan.8*
%{_mandir}/man8/scsi_*.8*
%{_mandir}/man8/sg3_utils.8*
%{_mandir}/man8/sg3_utils_json.8*
diff --git a/sg3_utils-rescan-scsi-bus.sh.patch b/sg3_utils-rescan-scsi-bus.sh.patch
deleted file mode 100644
index 1a0da7f..0000000
--- a/sg3_utils-rescan-scsi-bus.sh.patch
+++ /dev/null
@@ -1,11 +0,0 @@
-diff -ruNp sg3_utils-1.42.orig/scripts/rescan-scsi-bus.sh sg3_utils-1.42/scripts/rescan-scsi-bus.sh
---- sg3_utils-1.42.orig/scripts/rescan-scsi-bus.sh 2016-02-02 05:21:27.000000000 +0100
-+++ sg3_utils-1.42/scripts/rescan-scsi-bus.sh 2018-02-08 12:17:16.792117671 +0100
-@@ -241,6 +241,7 @@ testonline ()
- sg_turs /dev/$SGDEV >/dev/null 2>&1
- RC=$?
-
-+ ctr=0
- # Handle in progress of becoming ready and unit attention
- while test $RC = 2 -o $RC = 6 && test $ctr -le 30; do
- if test $RC = 2 -a "$RMB" != "1"; then echo -n "."; let LN+=1; sleep 1
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/sg3_utils.git/commitdiff/930bc3e966eb8e0e7dfd6aaa48903cb6ae1704bc
More information about the pld-cvs-commit
mailing list