diff --git a/_service b/_service
index 08804ed..c92d97b 100644
--- a/_service
+++ b/_service
@@ -1,24 +1,19 @@
-
+
git
- https://github.com/openSUSE/sg3_utils.git
-
+ https://github.com/doug-gilbert/sg3_utils
sg3_utils
-
- 1.45@PARENT_TAG@+@TAG_OFFSET@.%h
- r[0-9]*
-
- (1\.[0-9]*)r([0-9]*)
- \1~\2
- factory
+ @PARENT_TAG@+@TAG_OFFSET@.%h
+ r[0-9]\.[0-9]*
+ r([^+]*)(\+[1-9\..*])?(\+0\..*)?
+ \1\2
+ master
enable
-
- *sg3_utils*.tar
- xz
+
+
+
+ *.tar
+ gz
-
-
diff --git a/_servicedata b/_servicedata
index 46b0de8..ce96222 100644
--- a/_servicedata
+++ b/_servicedata
@@ -1,4 +1,6 @@
https://github.com/openSUSE/sg3_utils.git
- 6aa67ed94a6c135d6a462c55b3764732259b162e
\ No newline at end of file
+ 6aa67ed94a6c135d6a462c55b3764732259b162e
+ https://github.com/doug-gilbert/sg3_utils
+ ed556a52933d29309849dbb24ba49f8b829c1058
\ No newline at end of file
diff --git a/sg3_utils-1.46.tar.xz b/sg3_utils-1.46.tar.xz
deleted file mode 100644
index ad126a6..0000000
--- a/sg3_utils-1.46.tar.xz
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:59c268b10b93ce31a517af13e19c88f285c12b7dd065f50e36b16a7b6fa7b9a0
-size 1031800
diff --git a/sg3_utils-1.47.obscpio b/sg3_utils-1.47.obscpio
new file mode 100644
index 0000000..5d2ec51
--- /dev/null
+++ b/sg3_utils-1.47.obscpio
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:dcc4cf10ac5c91f95006c2384a9a76e25a0561c4aa6222bb909fdc65f5ba4af4
+size 7372301
diff --git a/sg3_utils.changes b/sg3_utils.changes
index 95f29bf..1265236 100644
--- a/sg3_utils.changes
+++ b/sg3_utils.changes
@@ -1,3 +1,46 @@
+-------------------------------------------------------------------
+Thu Nov 11 21:15:17 UTC 2021 - mwilck@suse.com
+
+- Update to version 1.47:
+ * sg_rep_zones: add support for REPORT ZONE DOMAINS and
+ REPORT REALMS in this utility
+ * sg_raw: fix prints of NVMe NVM command names
+ * sg_logs: additions to Volume statistics lpage [ssc5r05c]
+ - additions to Command duration limits statistics log
+ page [spc6r06]
+ * sg_vpd: fix do_hex type on some recent pages
+ - zoned block dev char vpd: add zone alignment mode and
+ zone starting LBA granularity [zbc2r11]
+ * sg_read_buffer: fix --length= problem
+ * sg_dd, sgm_dd, sgp_dd: don't close negative file descriptors
+ * sg_dd: srand48_r() and mrand48_r() are GNU libc specific,
+ put conditional in so non-reentrant version used otherwise
+ - 'iflag=00,ff' places the 32 bit block address (big endian)
+ into each block
+ * sgp_dd: major rework, fix issue with error being ignored
+ - new: --chkaddr which checks for block address in each block
+ - add check for stdatomic.h presence in configure.ac
+ * sg_xcopy: tweak CSCD identification descriptor
+ * sg_get_elem_status: fix issue with '--maxlen=' option
+ - add 2 depopulation revocation health attributes [sbc5r01]
+ * transport error handling improved. To fix report of a
+ BAD_TARGET transport error but the utility still continued.
+ - introduce SG_LIB_TRANSPORT_ERROR [35] exit status
+ * several utilities: override '--maxlen=LEN' when LEN
+ is < 16 (or 4), take default (or 4) instead
+ * scripts: 55-scsi-sg3_id.rules remove outdated rule (bsc#1189297)
+ * sg_lib: add sg_scsi_status_is_good(),
+ sg_scsi_status_is_bad() and sg_get_zone_type_str()
+ * pt_linux: fix verify(BytChk=0) which Linux SNTL translated
+ to write, other SNTL cleanups
+ * pt_linux_nvme: fix fua setting
+ * pt: check_pt_file_handle() add return value of 5 for
+
+- _service updates:
+ * re-enable service, hadn't been used for 1.46 release
+ * use upstream author's git repository, simplify versioning scheme
+ * use obscpio format
+
-------------------------------------------------------------------
Tue Apr 20 09:15:11 UTC 2021 - Paolo Stivanin
@@ -61,6 +104,10 @@ Tue Apr 20 09:15:11 UTC 2021 - Paolo Stivanin
* testing: remove master-slave terminology for sgv4
* examples: add nvme_read_ctl.hex and nvme_write_ctl.hex
+- Earlier SUSE fixes included in 1.46:
+ * 40-usb-blacklist.rules: use ID_SCSI_INQUIRY
+ (bsc#840054, bsc#1131482)
+
-------------------------------------------------------------------
Thu Apr 25 19:11:45 UTC 2019 - mwilck@suse.com
diff --git a/sg3_utils.obsinfo b/sg3_utils.obsinfo
new file mode 100644
index 0000000..38f0974
--- /dev/null
+++ b/sg3_utils.obsinfo
@@ -0,0 +1,5 @@
+name: sg3_utils
+version: 1.47
+mtime: 1636576643
+commit: ed556a52933d29309849dbb24ba49f8b829c1058
+
diff --git a/sg3_utils.spec b/sg3_utils.spec
index 2aeda8a..890ad21 100644
--- a/sg3_utils.spec
+++ b/sg3_utils.spec
@@ -17,15 +17,14 @@
Name: sg3_utils
-%define lname libsgutils2-1_46-2
-Version: 1.46
+Version: 1.47
+%global lname libsgutils2-%(echo %{version} | sed y/./_/)-2
Release: 0
Summary: A collection of tools that send SCSI commands to devices
License: BSD-3-Clause AND GPL-2.0-or-later
Group: Hardware/Other
URL: http://sg.danny.cz/sg/sg3_utils.html
-Source: https://sg.danny.cz/sg/p/sg3_utils-%{version}.tar.xz
-#Source: sg3_utils-%{version}.tar.xz
+Source: https://sg.danny.cz/sg/p/sg3_utils-%{version}.tar.gz
Source1: dracut.conf
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: libtool