Mailinglist Archive: opensuse-commit (999 mails)
| < Previous | Next > |
commit sg3_utils for openSUSE:Factory
- From: root@xxxxxxxxxxxxxxx (h_root)
- Date: Thu, 23 Jul 2009 17:21:35 +0200
- Message-id: <20090723152138.227B263AA@xxxxxxxxxxxxxxx>
Hello community,
here is the log from the commit of package sg3_utils for openSUSE:Factory
checked in at Thu Jul 23 17:21:35 CEST 2009.
--------
--- sg3_utils/sg3_utils.changes 2009-04-17 20:16:14.000000000 +0200
+++ sg3_utils/sg3_utils.changes 2009-07-21 14:05:15.000000000 +0200
@@ -1,0 +2,5 @@
+Tue Jul 21 14:00:16 CEST 2009 - hare@xxxxxxx
+
+- Clean up spec file and remove obsolete cruft
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
Old:
----
sg3_lib_v1.diff
sg3_utils.diff
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ sg3_utils.spec ++++++
--- /var/tmp/diff_new_pack.mMIdJT/_old 2009-07-23 17:21:08.000000000 +0200
+++ /var/tmp/diff_new_pack.mMIdJT/_new 2009-07-23 17:21:08.000000000 +0200
@@ -20,7 +20,7 @@
Name: sg3_utils
%define sgver 1.27
-License: BSD 3-Clause; GPL v2 only; GPL v2 or later
+License: BSD 3-clause (or similar) ; GPL v2 only ; GPL v2 or later
Group: Hardware/Other
Provides: sg_utils
Provides: scsi
@@ -28,12 +28,10 @@
AutoReqProv: on
PreReq: %insserv_prereq
Version: 1.27
-Release: 19
+Release: 20
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
-Patch1: %{name}.diff
-Patch2: sg3_lib_v1.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@@ -52,7 +50,7 @@
Kurt Garloff <garloff@xxxxxxx>
%package devel
-License: BSD 3-Clause; GPL v2 or later
+License: BSD 3-clause (or similar) ; GPL v2 or later
Summary: A collection of tools that send SCSI commands to devices
Group: Development/Libraries/C and C++
AutoReqProv: on
@@ -75,25 +73,16 @@
%prep
%setup -q
-%patch1
-%patch2 -p1
%build
-autoreconf -fi
-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 --disable-static --with-pic
%{__make} %{?jobs:-j%jobs}
%install
-make install DESTDIR=$RPM_BUILD_ROOT INSTDIR=$RPM_BUILD_ROOT%{_bindir} \
- MANDIR=$RPM_BUILD_ROOT%{_mandir} LIBDIR=$RPM_BUILD_ROOT%{_libdir} \
- PREFIX=%{_prefix}
+%makeinstall
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 -p /sbin/ldconfig
@@ -200,11 +189,11 @@
%doc %{_mandir}/man8/sg_sat_set_features.8.gz
%doc %{_mandir}/man8/sg_stpg.8.gz
%doc %{_mandir}/man8/sg3_utils.8.gz
-%attr(755,root,root) %{_libdir}/libsgutils.so.*
+%attr(755,root,root) %{_libdir}/libsgutils2.so.*
%files devel
%defattr(644,root,root)
-%attr(755,root,root) %{_libdir}/libsgutils.so
+%attr(755,root,root) %{_libdir}/libsgutils2.so
%attr(755,root,root) %dir %{_prefix}/include/scsi
%{_prefix}/include/scsi/sg_cmds.h
%{_prefix}/include/scsi/sg_cmds_basic.h
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-commit+help@xxxxxxxxxxxx
| < Previous | Next > |