rpms/sg3_utils/devel sg3_utils.spec,1.21,1.22

Phil Knirsch (pknirsch) fedora-extras-commits at redhat.com
Thu Mar 27 14:31:28 UTC 2008


Author: pknirsch

Update of /cvs/pkgs/rpms/sg3_utils/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv29476

Modified Files:
	sg3_utils.spec 
Log Message:
- Specfile cleanup, removal of static development libraries (#226414)



Index: sg3_utils.spec
===================================================================
RCS file: /cvs/pkgs/rpms/sg3_utils/devel/sg3_utils.spec,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -r1.21 -r1.22
--- sg3_utils.spec	19 Feb 2008 19:50:30 -0000	1.21
+++ sg3_utils.spec	27 Mar 2008 14:30:50 -0000	1.22
@@ -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 @@
 
 %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 @@
         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 @@
 %defattr(-,root,root)
 %{_includedir}/scsi/*.h
 %{_libdir}/*.so
-%{_libdir}/*.a
-%{_libdir}/*.la
  
 %changelog
+* Thu Mar 27 2008 Phil Knirsch <pknirsch at redhat.com> - 1.25-3
+- Specfile cleanup, removal of static development libraries (#226414)
+
 * Tue Feb 19 2008 Fedora Release Engineering <rel-eng at fedoraproject.org> - 1.25-2
 - Autorebuild for GCC 4.3
 




More information about the fedora-extras-commits mailing list