Accepting request 574647 from home:hreinecke:branches:Base:System
- Update to svn r751: * NVMe bugfixes * sg_seek: new utility * sg_stream_ctl: new utility program - 54-before-scsi-sg3_id.rules: compability rule for systemd (bsc#1079873) - Add dracut.conf to install new rule with dracut OBS-URL: https://build.opensuse.org/request/show/574647 OBS-URL: https://build.opensuse.org/package/show/Base:System/sg3_utils?expand=0&rev=74
This commit is contained in:
parent
cfb2b1b8eb
commit
cdb6cb6f02
7
_service
7
_service
@ -6,6 +6,13 @@
|
||||
<param name="filename">sg3_utils</param>
|
||||
<param name="version">1.43</param>
|
||||
<param name="revision">factory</param>
|
||||
<!-- Enable the following to include git tag offset+commit id in
|
||||
version number -->
|
||||
<!--
|
||||
<param name="versionformat">1.43+@TAG_OFFSET@.%h</param>
|
||||
<param name="match-tag">v1.[0-9][0-9]</param>
|
||||
<param name="changesgenerate">enable</param>
|
||||
-->
|
||||
</service>
|
||||
<service name="recompress" mode="disabled">
|
||||
<param name="file">*sg3_utils*.tar</param>
|
||||
|
2
dracut.conf
Normal file
2
dracut.conf
Normal file
@ -0,0 +1,2 @@
|
||||
# Add new rules file to ensure consistency
|
||||
install_items+=" /usr/lib/udev/rules.d/54-before-scsi-sg3_id.rules"
|
@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:374edb0e948cc6bca420ba7a4b381e49aa7e127e921e2ea2713f295a511fdfa0
|
||||
size 856488
|
||||
oid sha256:8370b094af95c95180ccb374938a9119a3482438b4579409469ee4f2526fa3cf
|
||||
size 878964
|
||||
|
@ -1,3 +1,14 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 9 13:53:43 CET 2018 - hare@suse.de
|
||||
|
||||
- Update to svn r751:
|
||||
* NVMe bugfixes
|
||||
* sg_seek: new utility
|
||||
* sg_stream_ctl: new utility program
|
||||
- 54-before-scsi-sg3_id.rules: compability rule for systemd
|
||||
(bsc#1079873)
|
||||
- Add dracut.conf to install new rule with dracut
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 8 15:37:33 CET 2018 - hare@suse.de
|
||||
|
||||
|
@ -26,6 +26,7 @@ Group: Hardware/Other
|
||||
Url: http://sg.danny.cz/sg/sg3_utils.html
|
||||
|
||||
Source: sg3_utils-%{version}.tar.xz
|
||||
Source1: dracut.conf
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: libtool
|
||||
BuildRequires: udev
|
||||
@ -94,9 +95,12 @@ make %{?_smp_mflags}
|
||||
%make_install
|
||||
install -m 644 doc/rescan-scsi-bus.sh.8 $RPM_BUILD_ROOT%{_mandir}/man8
|
||||
mkdir -p $RPM_BUILD_ROOT%{_udevrulesdir}
|
||||
install -m 644 scripts/54-before-scsi-sg3_id.rules $RPM_BUILD_ROOT%{_udevrulesdir}
|
||||
install -m 644 scripts/55-scsi-sg3_id.rules $RPM_BUILD_ROOT%{_udevrulesdir}
|
||||
install -m 644 scripts/58-scsi-sg3_symlink.rules $RPM_BUILD_ROOT%{_udevrulesdir}
|
||||
install -m 644 scripts/40-usb-blacklist.rules $RPM_BUILD_ROOT%{_udevrulesdir}
|
||||
mkdir -p $RPM_BUILD_ROOT/usr/lib/dracut/dracut.conf.d
|
||||
install -m 644 %{SOURCE1} $RPM_BUILD_ROOT/usr/lib/dracut/dracut.conf.d/50-sg3_utils.conf
|
||||
rm -f %{buildroot}%{_libdir}/*.la
|
||||
|
||||
%post
|
||||
@ -125,8 +129,12 @@ rm -f %{buildroot}%{_libdir}/*.la
|
||||
%_bindir/rescan-scsi-bus.sh
|
||||
%_mandir/man8/*.8*
|
||||
%{_udevrulesdir}/40-usb-blacklist.rules
|
||||
%{_udevrulesdir}/54-before-scsi-sg3_id.rules
|
||||
%{_udevrulesdir}/55-scsi-sg3_id.rules
|
||||
%{_udevrulesdir}/58-scsi-sg3_symlink.rules
|
||||
%dir /usr/lib/dracut
|
||||
%dir /usr/lib/dracut/dracut.conf.d
|
||||
/usr/lib/dracut/dracut.conf.d/50-sg3_utils.conf
|
||||
|
||||
%files -n %lname
|
||||
%defattr(-,root,root)
|
||||
|
Loading…
x
Reference in New Issue
Block a user