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