- Specfile cleanup, removal of static development libraries (#226414)
This commit is contained in:
parent
d776f3385e
commit
5d41669265
@ -1,12 +1,12 @@
|
||||
Summary: Utilities for devices that use SCSI command sets
|
||||
Name: sg3_utils
|
||||
Version: 1.25
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
License: GPLv2+ and BSD
|
||||
Group: Utilities/System
|
||||
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
|
||||
Provides: sg_utils = 1.02
|
||||
BuildRequires: libtool
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
@ -26,18 +26,18 @@ and the incorrect usage of them may render your system inoperable.
|
||||
|
||||
%package libs
|
||||
Summary: Shared library for %{name}
|
||||
Group: System/Libraries
|
||||
Group: System Environment/Libraries
|
||||
|
||||
%description libs
|
||||
This package contains the shared library for %{name}.
|
||||
|
||||
%package devel
|
||||
Summary: Static library and header files for the sgutils library
|
||||
Group: Development/C
|
||||
Summary: Development library and header files for the sg3_utils library
|
||||
Group: Development/System
|
||||
Requires: %{name}-libs = %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
This package contains the static %{name} library and its header files for
|
||||
This package contains the %{name} library and its header files for
|
||||
developing applications.
|
||||
|
||||
%prep
|
||||
@ -52,10 +52,16 @@ if [ "$RPM_BUILD_ROOT" != "/" ]; then
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
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
|
||||
|
||||
%post libs -p /sbin/ldconfig
|
||||
|
||||
%postun libs -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc ChangeLog COVERAGE CREDITS INSTALL README README.sg_start
|
||||
@ -70,10 +76,11 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%defattr(-,root,root)
|
||||
%{_includedir}/scsi/*.h
|
||||
%{_libdir}/*.so
|
||||
%{_libdir}/*.a
|
||||
%{_libdir}/*.la
|
||||
|
||||
%changelog
|
||||
* Thu Mar 27 2008 Phil Knirsch <pknirsch@redhat.com> - 1.25-3
|
||||
- Specfile cleanup, removal of static development libraries (#226414)
|
||||
|
||||
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.25-2
|
||||
- Autorebuild for GCC 4.3
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user