Blame SPECS/lsscsi.spec

9298dc
Summary:        List SCSI devices (or hosts) and associated information
9298dc
Name:           lsscsi
9298dc
Version:        0.27
9298dc
Release:        6%{?dist}
9298dc
License:        GPLv2+
9298dc
Group:          Applications/System
9298dc
Source0:        http://sg.danny.cz/scsi/%{name}-%{version}.tgz
9298dc
URL:            http://sg.danny.cz/scsi/lsscsi.html
9298dc
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
9298dc
9298dc
Patch0:         0001-Remove-enclosure-information-for-FCP-FCoE.patch
9298dc
Patch1:         0002-Fix-truncation-of-128-bit-wwn.patch
9298dc
Patch2:         BZ_1429361-if-very-long-h-c-t-l-then-append-space-rather-than-l.patch
9298dc
9298dc
%description
9298dc
Uses information provided by the sysfs pseudo file system in Linux kernel
9298dc
2.6 series to list SCSI devices or all SCSI hosts. Includes a "classic"
9298dc
option to mimic the output of "cat /proc/scsi/scsi" that has been widely
9298dc
used prior to the lk 2.6 series.
9298dc
9298dc
Author:
9298dc
--------
9298dc
    Doug Gilbert <dgilbert(at)interlog(dot)com>
9298dc
9298dc
9298dc
%prep
9298dc
%setup -q
9298dc
%patch0 -p1
9298dc
%patch1 -p1
9298dc
%patch2 -p1 -b .long_scsi_id
9298dc
9298dc
%build
9298dc
%configure
9298dc
make %{?_smp_mflags}
9298dc
9298dc
9298dc
%install
9298dc
rm -rf %{buildroot}
9298dc
make DESTDIR=%{buildroot} install
9298dc
9298dc
9298dc
%clean
9298dc
rm -rf %{buildroot}
9298dc
9298dc
9298dc
%files
9298dc
%defattr(-,root,root)
9298dc
%doc ChangeLog INSTALL README CREDITS AUTHORS COPYING
9298dc
%attr(0755,root,root) %{_bindir}/*
9298dc
%{_mandir}/man8/*
9298dc
9298dc
9298dc
%changelog
9298dc
* Wed Mar 15 2017 Gris Ge <fge@redhat.com> - 0.27-6
9298dc
- Append a space if [hctl] is too long. (RHBZ #1429361)
9298dc
9298dc
* Tue Feb 28 2017 Gris Ge <fge@redhat.com> 0.27-5
9298dc
- Fix truncation of 128-bit wwn of disk.
9298dc
9298dc
* Fri Jun 19 2015 David Sommerseth <davids@redhat.com> - 0.27-4
9298dc
- Remove enclosure queries for FCP/FCoE (#1062322)
9298dc
9298dc
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 0.27-3
9298dc
- Mass rebuild 2014-01-24
9298dc
9298dc
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 0.27-2
9298dc
- Mass rebuild 2013-12-27
9298dc
9298dc
* Fri May 17 2013 Dan Horák <dan[at]danny.cz> - 0.27-1
9298dc
- update to 0.27
9298dc
9298dc
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.26-3
9298dc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
9298dc
9298dc
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.26-2
9298dc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
9298dc
9298dc
* Wed Mar 28 2012 Dan Horák <dan[at]danny.cz> - 0.26-1
9298dc
- update to 0.26
9298dc
9298dc
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.25-2
9298dc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
9298dc
9298dc
* Mon Jul 18 2011 Dan Horák <dan[at]danny.cz> - 0.25-1
9298dc
- update to 0.25
9298dc
9298dc
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.23-3
9298dc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
9298dc
9298dc
* Thu May  6 2010 Dan Horák <dan[at]danny.cz> - 0.23-2
9298dc
- fix path separator for FC devices (#589327)
9298dc
- fix for kernels with unified string representation of NULL (#589860)
9298dc
9298dc
* Sun Dec  6 2009 Dan Horák <dan[at]danny.cz> - 0.23-1
9298dc
- update to 0.23
9298dc
9298dc
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.22-3
9298dc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
9298dc
9298dc
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.22-2
9298dc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
9298dc
9298dc
* Mon Feb  2 2009 Dan Horák <dan[at]danny.cz> - 0.22-1
9298dc
- update to 0.22
9298dc
9298dc
* Tue Nov  4 2008 Dan Horák <dan[at]danny.cz> - 0.21-2
9298dc
- add disttag
9298dc
9298dc
* Tue Nov  4 2008 Dan Horák <dan[at]danny.cz> - 0.21-1
9298dc
- update to 0.21
9298dc
- update urls
9298dc
9298dc
* Thu May 22 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.17-6
9298dc
- fix license tag
9298dc
9298dc
* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.17-5
9298dc
- Autorebuild for GCC 4.3
9298dc
9298dc
* Thu Oct 05 2006 Christian Iseli <Christian.Iseli@licr.org> 0.17-4
9298dc
 - rebuilt for unwind info generation, broken in gcc-4.1.1-21
9298dc
9298dc
* Tue Sep 19 2006 - Chip Coldwell <coldwell@redhat.com> 0.17-3
9298dc
- bump the EVR for FC6 rebuild
9298dc
* Mon Jul 17 2006 - Chip Coldwell <coldwell@redhat.com> 0.17-2
9298dc
- modify spec file to meet Fedora Project packaging guidelines
9298dc
* Mon Feb 06 2006 - Doug Gilbert <dgilbert(at)interlog(dot)com> 0.17-1
9298dc
- fix disappearance of block device names in lk 2.6.16-rc1
9298dc
* Fri Dec 30 2005 - Doug Gilbert <dgilbert(at)interlog(dot)com> 0.16-1
9298dc
- wlun naming, osst and changer devices
9298dc
* Tue Jul 19 2005 - Doug Gilbert <dgilbert(at)interlog(dot)com> 0.15-1
9298dc
- does not use libsysfs, add filter argument, /dev scanning
9298dc
* Fri Aug 20 2004 - Doug Gilbert <dgilbert(at)interlog(dot)com> 0.13-1
9298dc
- add 'timeout'
9298dc
* Sun May 9 2004 - Doug Gilbert <dgilbert(at)interlog(dot)com> 0.12-1
9298dc
- rework for lk 2.6.6, device state, host name, '-d' for major+minor
9298dc
* Fri Jan 09 2004 - Doug Gilbert <dgilbert(at)interlog(dot)com> 0.11-1
9298dc
- rework for lk 2.6.1
9298dc
* Tue May 06 2003 - Doug Gilbert <dgilbert(at)interlog(dot)com> 0.10-1
9298dc
- adjust HBA listing for lk > 2.5.69
9298dc
* Fri Apr 04 2003 - Doug Gilbert <dgilbert(at)interlog(dot)com> 0.09-1
9298dc
- fix up sorting, GPL + copyright notice
9298dc
* Sun Mar 2 2003 - Doug Gilbert <dgilbert(at)interlog(dot)com> 0.08-1
9298dc
- start to add host listing support (lk >= 2.5.63)
9298dc
* Fri Feb 14 2003 - Doug Gilbert <dgilbert(at)interlog(dot)com> 0.07-1
9298dc
- queue_depth name change in sysfs (lk 2.5.60)
9298dc
* Mon Jan 20 2003 - Doug Gilbert <dgilbert(at)interlog(dot)com> 0.06-1
9298dc
- osst device file names fix
9298dc
* Sat Jan 18 2003 - Doug Gilbert <dgilbert(at)interlog(dot)com> 0.05-1
9298dc
- output st and osst device file names (rather than "-")
9298dc
* Tue Jan 14 2003 - Doug Gilbert <dgilbert(at)interlog(dot)com> 0.04-1
9298dc
- fix multiple listings of st devices (needed for lk 2.5.57)
9298dc
* Thu Jan 09 2003 - Doug Gilbert <dgilbert(at)interlog(dot)com> 0.03-1
9298dc
- add --generic option (list sg devices), scsi_level output
9298dc
* Wed Dec 18 2002 - Doug Gilbert <dgilbert(at)interlog(dot)com> 0.02-1
9298dc
- add more options including classic mode
9298dc
* Fri Dec 13 2002 - Doug Gilbert <dgilbert(at)interlog(dot)com> 0.01-1
9298dc
- original