- update URL

- include rescan-scsi-bus script 1.29
This commit is contained in:
Dan Horák 2008-11-03 08:33:53 +00:00
parent 9957650409
commit 32e805bcf1
3 changed files with 22 additions and 7 deletions

View File

@ -1 +1,2 @@
sg3_utils-1.26.tgz sg3_utils-1.26.tgz
rescan-scsi-bus.sh-1.29

View File

@ -1,13 +1,17 @@
%define rescan_version 1.29
Summary: Utilities for devices that use SCSI command sets Summary: Utilities for devices that use SCSI command sets
Name: sg3_utils Name: sg3_utils
Version: 1.26 Version: 1.26
Release: 1%{?dist} Release: 2%{?dist}
License: GPLv2+ and BSD License: GPLv2+ and BSD
Group: Applications/System Group: Applications/System
Source: http://sg.torque.net/sg/p/sg3_utils-%{version}.tgz Source0: http://sg.danny.cz/sg/p/sg3_utils-%{version}.tgz
Url: http://sg.torque.net/sg/sg3_utils.html Source1: http://www.garloff.de/kurt/linux/rescan-scsi-bus.sh-%{rescan_version}
URL: http://sg.danny.cz/sg/sg3_utils.html
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%description %description
Collection of Linux utilities for devices that use the SCSI command set. Collection of Linux utilities for devices that use the SCSI command set.
Includes utilities to copy data based on "dd" syntax and semantics (called Includes utilities to copy data based on "dd" syntax and semantics (called
@ -42,6 +46,7 @@ developing applications.
%prep %prep
%setup -q %setup -q
%build %build
%configure --disable-static %configure --disable-static
@ -51,20 +56,23 @@ sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
make %{?_smp_mflags} make %{?_smp_mflags}
%install %install
if [ "$RPM_BUILD_ROOT" != "/" ]; then
rm -rf $RPM_BUILD_ROOT
fi
make install DESTDIR=$RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT
rm -rf $RPM_BUILD_ROOT/%{_libdir}/*.la rm -rf $RPM_BUILD_ROOT/%{_libdir}/*.la
install -p -m 755 %{SOURCE1} $RPM_BUILD_ROOT%{_bindir}/rescan-scsi-bus.sh
%clean %clean
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
%post libs -p /sbin/ldconfig %post libs -p /sbin/ldconfig
%postun libs -p /sbin/ldconfig %postun libs -p /sbin/ldconfig
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%doc ChangeLog COVERAGE CREDITS INSTALL README README.sg_start %doc ChangeLog COVERAGE CREDITS INSTALL README README.sg_start
@ -80,8 +88,13 @@ rm -rf $RPM_BUILD_ROOT
%{_includedir}/scsi/*.h %{_includedir}/scsi/*.h
%{_libdir}/*.so %{_libdir}/*.so
%changelog %changelog
* Mon Jun 30 2008 Dan Horak <dan@danny.cz> - 1.26-1 * Mon Nov 3 2008 Dan Horák <dan@danny.cz> - 1.26-2
- update URL
- include rescan-scsi-bus script 1.29
* Mon Jun 30 2008 Dan Horák <dan@danny.cz> - 1.26-1
- update to upstream version 1.26 - update to upstream version 1.26
* Fri Mar 28 2008 Phil Knirsch <pknirsch@redhat.com> - 1.25-4 * Fri Mar 28 2008 Phil Knirsch <pknirsch@redhat.com> - 1.25-4

View File

@ -1 +1,2 @@
9a7aa8d954d75dc6c91e066e215867f2 sg3_utils-1.26.tgz 9a7aa8d954d75dc6c91e066e215867f2 sg3_utils-1.26.tgz
679aa223710bddffe40d0cfc700009b7 rescan-scsi-bus.sh-1.29