- Dropped really unnecessary Provides of sg_utils (#226414)

- Use --disable-static in configure (#226414)
This commit is contained in:
Phil Knirsch 2008-03-28 14:07:31 +00:00
parent 5d41669265
commit 67a9d65d55

View File

@ -1,12 +1,11 @@
Summary: Utilities for devices that use SCSI command sets
Name: sg3_utils
Version: 1.25
Release: 3%{?dist}
Release: 4%{?dist}
License: GPLv2+ and BSD
Group: Applications/System
Source: http://sg.torque.net/sg/p/sg3_utils-%{version}.tgz
Url: http://sg.torque.net/sg/sg3_utils.html
Provides: sg_utils = 1.02
BuildRequires: libtool
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@ -44,7 +43,7 @@ developing applications.
%setup -q
%build
%configure
%configure --disable-static
make %{?_smp_mflags}
%install
@ -53,7 +52,6 @@ if [ "$RPM_BUILD_ROOT" != "/" ]; then
fi
make install DESTDIR=$RPM_BUILD_ROOT
rm -rf $RPM_BUILD_ROOT/%{_libdir}/*.la
rm -rf $RPM_BUILD_ROOT/%{_libdir}/*.a
%clean
rm -rf $RPM_BUILD_ROOT
@ -78,6 +76,10 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/*.so
%changelog
* Fri Mar 28 2008 Phil Knirsch <pknirsch@redhat.com> - 1.25-4
- Dropped really unnecessary Provides of sg_utils (#226414)
- Use --disable-static in configure (#226414)
* Thu Mar 27 2008 Phil Knirsch <pknirsch@redhat.com> - 1.25-3
- Specfile cleanup, removal of static development libraries (#226414)