Hello community,
here is the log from the commit of package sg3_utils for openSUSE:Factory
checked in at Sat Apr 18 14:04:24 CEST 2009.
--------
--- sg3_utils/sg3_utils.changes 2009-01-26 15:31:38.000000000 +0100
+++ /mounts/work_src_done/STABLE/sg3_utils/sg3_utils.changes 2009-04-17 20:16:14.000000000 +0200
@@ -1,0 +2,5 @@
+Fri Apr 17 20:15:58 CEST 2009 - crrodriguez@suse.de
+
+- remove static libraries and "la" files
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ sg3_utils.spec ++++++
--- /var/tmp/diff_new_pack.dc8164/_old 2009-04-18 14:04:14.000000000 +0200
+++ /var/tmp/diff_new_pack.dc8164/_new 2009-04-18 14:04:14.000000000 +0200
@@ -28,7 +28,7 @@
AutoReqProv: on
PreReq: %insserv_prereq
Version: 1.27
-Release: 18
+Release: 19
Summary: A collection of tools that send SCSI commands to devices
Source: http://sg.torque.net/sg/p/sg3_utils-%{sgver}.tar.bz2
Source2: http://www.garloff.de/kurt/linux/rescan-scsi-bus.sh
@@ -74,7 +74,7 @@
Kurt Garloff
%prep
-%setup
+%setup -q
%patch1
%patch2 -p1
@@ -83,9 +83,8 @@
export RPM_OPT_FLAGS=`echo $RPM_OPT_FLAGS | sed 's/\-O2/-Os/'`
CFLAGS="$RPM_OPT_FLAGS -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" \
PREFIX=%{_prefix} LIBDIR=%{_libdir} CC=gcc \
-./configure --prefix=%{_prefix} --mandir=%{_mandir} --infodir=%{_infodir} \
- --libdir=%{_libdir}
-make
+%configure --disable-static --with-pic
+%{__make} %{?jobs:-j%jobs}
%install
make install DESTDIR=$RPM_BUILD_ROOT INSTDIR=$RPM_BUILD_ROOT%{_bindir} \
@@ -93,12 +92,12 @@
PREFIX=%{_prefix}
install -m 755 scripts/scsi_logging_level $RPM_BUILD_ROOT%{_bindir}
install -m 755 %{S:2} $RPM_BUILD_ROOT%{_bindir}
+%{__rm} -f %{buildroot}%{_libdir}/*.la
+grep -r -E '^#include[ \t]+[<"][^>"]+[">]' %{buildroot}%{_includedir} | awk -F: '{print $2}'
-%post
-%{run_ldconfig}
+%post -p /sbin/ldconfig
-%postun
-%{run_ldconfig}
+%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
@@ -206,10 +205,7 @@
%files devel
%defattr(644,root,root)
%attr(755,root,root) %{_libdir}/libsgutils.so
-%attr(755,root,root) %{_libdir}/libsgutils.la
-%attr(644,root,root) %{_libdir}/libsgutils.a
%attr(755,root,root) %dir %{_prefix}/include/scsi
-%{_libdir}/libsgutils.a
%{_prefix}/include/scsi/sg_cmds.h
%{_prefix}/include/scsi/sg_cmds_basic.h
%{_prefix}/include/scsi/sg_cmds_extra.h
@@ -225,6 +221,8 @@
rm -rf $RPM_BUILD_DIR/sg3_utils-%{sgver}
%changelog
+* Fri Apr 17 2009 crrodriguez@suse.de
+- remove static libraries and "la" files
* Mon Jan 26 2009 hare@suse.de
- Fixes to rescan-scsi-bus.sh:
* Implement '--forcerescan' to force a rescan of existing devices
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org