Hello community,

here is the log from the commit of package smp_utils for openSUSE:Factory 
checked in at 2013-06-18 10:38:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/smp_utils (Old)
 and      /work/SRC/openSUSE:Factory/.smp_utils.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "smp_utils"

Changes:
--------
--- /work/SRC/openSUSE:Factory/smp_utils/smp_utils.changes      2013-03-01 
21:03:23.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.smp_utils.new/smp_utils.changes 2013-06-18 
10:38:05.000000000 +0200
@@ -1,0 +2,23 @@
+Thu Jun 13 14:33:43 UTC 2013 - [email protected]
+
+- Update to new upstream release 0.95
+* mpt: cope with mpt2 ioctl that uses a different magic number
+- Update to new upstream release 0.96
+* New utilities: smp_conf_zone_perm_tbl, smp_conf_zone_man_pass,
+  smp_conf_zone_phy_info, smp_ena_dis_zoning, smp_rep_broadcast,
+  smp_rep_phy_event, smp_rep_phy_event_list,
+  smp_rep_self_conf_stat, smp_rep_zone_man_pass,
+  smp_rep_zone_perm_tbl, smp_zone_activate, smp_zoned_broadcast,
+  smp_zone_lock, smp_zone_unlock:
+* Allow specifying --phy= IDs up to 254
+- Update to new upstream release 0.97
+* New utilitiy: smp_conf_phy_event
+* Synchronize to SPL-2 r03
+* smp_rep_phy_event, smp_rep_phy_event_list: add --enumerate
+  option to list Phy Event Source names
+- Now builds using autotools, changed %build/%install accordingly.
+- Remove smp_utils-Makefile.diff (no longer applicable),
+  smp_utils-compile-fixes (no longer applies)
+- Simplify filelists. Remove redundant %clean section.
+
+-------------------------------------------------------------------

Old:
----
  smp_utils-0.94.tar.bz2
  smp_utils-Makefile.diff
  smp_utils-compile-fixes

New:
----
  smp_utils-0.97.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ smp_utils.spec ++++++
--- /var/tmp/diff_new_pack.23sYZm/_old  2013-06-18 10:38:06.000000000 +0200
+++ /var/tmp/diff_new_pack.23sYZm/_new  2013-06-18 10:38:06.000000000 +0200
@@ -17,6 +17,16 @@
 
 
 Name:           smp_utils
+%define lname   libsmputils1-1
+Version:        0.97
+Release:        0
+Summary:        Utilities for the SAS Management Protocol (SMP)
+License:        BSD-3-Clause and GPL-2.0
+Group:          Hardware/Other
+
+Source:         http://sg.danny.cz/sg/p/%name-%version.tar.xz
+BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+BuildRequires:  xz
 Provides:       scsi:/usr/bin/smp_conf_general
 Provides:       scsi:/usr/bin/smp_conf_route_info
 Provides:       scsi:/usr/bin/smp_discover
@@ -31,15 +41,6 @@
 Provides:       scsi:/usr/bin/smp_rep_phy_sata
 Provides:       scsi:/usr/bin/smp_rep_route_info
 Provides:       scsi:/usr/bin/smp_write_gpio
-Version:        0.94
-Release:        0
-Summary:        Utilities for the SAS Management Protocol (SMP)
-License:        BSD-3-Clause and GPL-2.0
-Group:          Hardware/Other
-Source:         http://sg.danny.cz/sg/p/%{name}-%{version}.tar.bz2
-Patch1:         smp_utils-Makefile.diff
-Patch2:         %{name}-compile-fixes
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
 The smp_utils package contains utilities for the Serial Attached SCSI
@@ -54,56 +55,55 @@
 --------
     Doug Gilbert <[email protected]>
 
+%package -n %lname
+Summary:        Library for SAS SMP control of expanders
+Group:          System/Libraries
+
+%description -n %lname
+The smp_utils package contains utilities for the Serial Attached SCSI
+(SAS) Management Protocol (SMP).
+
+This subpackage holds the library of shared functions.
+
+%package -n libsmputils-devel
+Summary:        Development files for the SAS SMP Expander Control Library
+Group:          Development/Libraries/C and C++
+Requires:       %lname = %version
+
+%description -n libsmputils-devel
+The smp_utils package contains utilities for the Serial Attached SCSI
+(SAS) Management Protocol (SMP).
+
+This subpackage contains libraries and header files for developing
+applications that want to make use of libsmputils.
+
 %prep
-%setup
-%patch1 -p1
-%patch2 -p1
+%setup -q
 
 %build
 # None of these is performance-critical, so use -Os rather than -O2:
-export RPM_OPT_FLAGS=`echo $RPM_OPT_FLAGS | sed 's/\-O2/-Os/'`
-make CC="%__cc" LD="%__cc" PREFIX=%{_prefix} RPM_OPT_FLAGS="$RPM_OPT_FLAGS"
+export CFLAGS=$(echo "%optflags" | sed 's/\-O2/-Os/')
+%configure --disable-static
+make %{?_smp_mflags}
 
 %install
-make install CC="%__cc" LD="%__cc" DESTDIR=$RPM_BUILD_ROOT PREFIX=%{_prefix} 
MANDIR=$RPM_BUILD_ROOT/%{_mandir}
+make install DESTDIR="%buildroot"
+rm -f "%buildroot/%_libdir"/*.la
 
 %files
 %defattr(-,root,root)
 # smp_utils
 %doc README ChangeLog
-%doc doc/*.html
-%{_bindir}/smp_conf_route_info
-%{_bindir}/smp_discover
-%{_bindir}/smp_discover_list
-%{_bindir}/smp_phy_control
-%{_bindir}/smp_phy_test
-%{_bindir}/smp_read_gpio
-%{_bindir}/smp_rep_general
-%{_bindir}/smp_rep_manufacturer
-%{_bindir}/smp_rep_phy_err_log
-%{_bindir}/smp_rep_phy_sata
-%{_bindir}/smp_rep_route_info
-%{_bindir}/smp_write_gpio
-%{_bindir}/smp_conf_general
-%{_bindir}/smp_rep_exp_route_tbl
-%{_mandir}/man8/smp_conf_route_info.8.gz
-%{_mandir}/man8/smp_discover.8.gz
-%{_mandir}/man8/smp_discover_list.8.gz
-%{_mandir}/man8/smp_phy_control.8.gz
-%{_mandir}/man8/smp_phy_test.8.gz
-%{_mandir}/man8/smp_read_gpio.8.gz
-%{_mandir}/man8/smp_rep_general.8.gz
-%{_mandir}/man8/smp_rep_manufacturer.8.gz
-%{_mandir}/man8/smp_rep_phy_err_log.8.gz
-%{_mandir}/man8/smp_rep_phy_sata.8.gz
-%{_mandir}/man8/smp_rep_route_info.8.gz
-%{_mandir}/man8/smp_utils.8.gz
-%{_mandir}/man8/smp_write_gpio.8.gz
-%{_mandir}/man8/smp_conf_general.8.gz
-%{_mandir}/man8/smp_rep_exp_route_tbl.8.gz
-
-%clean
-test ! -z "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != "/" && rm -rf 
$RPM_BUILD_ROOT
-rm -rf $RPM_BUILD_DIR/smp_utils-%{version}
+%_sbindir/smp_*
+%_mandir/man8/*.8*
+
+%files -n %lname
+%defattr(-,root,root)
+%_libdir/libsmputils1.so.1*
+
+%files -n libsmputils-devel
+%defattr(-,root,root)
+%_includedir/scsi/
+%_libdir/libsmputils1.so
 
 %changelog

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to