- 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
|
Summary: Utilities for devices that use SCSI command sets
|
||||||
Name: sg3_utils
|
Name: sg3_utils
|
||||||
Version: 1.25
|
Version: 1.25
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
License: GPLv2+ and BSD
|
License: GPLv2+ and BSD
|
||||||
Group: Utilities/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
|
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)
|
||||||
|
|
||||||
@ -26,18 +26,18 @@ and the incorrect usage of them may render your system inoperable.
|
|||||||
|
|
||||||
%package libs
|
%package libs
|
||||||
Summary: Shared library for %{name}
|
Summary: Shared library for %{name}
|
||||||
Group: System/Libraries
|
Group: System Environment/Libraries
|
||||||
|
|
||||||
%description libs
|
%description libs
|
||||||
This package contains the shared library for %{name}.
|
This package contains the shared library for %{name}.
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Static library and header files for the sgutils library
|
Summary: Development library and header files for the sg3_utils library
|
||||||
Group: Development/C
|
Group: Development/System
|
||||||
Requires: %{name}-libs = %{version}-%{release}
|
Requires: %{name}-libs = %{version}-%{release}
|
||||||
|
|
||||||
%description devel
|
%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.
|
developing applications.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
@ -52,10 +52,16 @@ if [ "$RPM_BUILD_ROOT" != "/" ]; then
|
|||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
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}/*.a
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
%post 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
|
||||||
@ -70,10 +76,11 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_includedir}/scsi/*.h
|
%{_includedir}/scsi/*.h
|
||||||
%{_libdir}/*.so
|
%{_libdir}/*.so
|
||||||
%{_libdir}/*.a
|
|
||||||
%{_libdir}/*.la
|
|
||||||
|
|
||||||
%changelog
|
%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
|
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.25-2
|
||||||
- Autorebuild for GCC 4.3
|
- Autorebuild for GCC 4.3
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user