commit smp_utils for openSUSE:Factory

2020-04-25 Thread root
Hello community,

here is the log from the commit of package smp_utils for openSUSE:Factory 
checked in at 2020-04-25 20:07:07

Comparing /work/SRC/openSUSE:Factory/smp_utils (Old)
 and  /work/SRC/openSUSE:Factory/.smp_utils.new.2738 (New)


Package is "smp_utils"

Sat Apr 25 20:07:07 2020 rev:22 rq:795511 version:0.99

Changes:

--- /work/SRC/openSUSE:Factory/smp_utils/smp_utils.changes  2018-08-15 
10:32:29.287648328 +0200
+++ /work/SRC/openSUSE:Factory/.smp_utils.new.2738/smp_utils.changes
2020-04-25 20:07:17.463419914 +0200
@@ -1,0 +2,38 @@
+Thu Apr 16 13:33:25 UTC 2020 - Martin Pluskal 
+
+- Update to version 0.99:
+  - smp_discover(_list): add --dsn option to show
+device slot number in single line per phy summary
+- attached SAS device type, word SAS added (spl4r01)
+- add SAS connector types, shared with NVMe (ses3r8)
+- add buffered phy burst size field (spl4r07)
+- add attached apta capable field
+- update phy capabilities decode (spl5r02)
+- use Report general to get number phys rather
+  than loop until an error occurs
+  - smp_rep_general: add extended fairness field
+- add initial time to delay expander forward open
+  indication field
+- add external port field (spl5r02)
+  - smp_phy_test: change default linkrate from 3 to 6 Gbps
+which is value 0xa
+  - smp_conf_phy_event: fix file pointer leak
+  - add G5 (22.5 Gbps for SAS-4) settings [spl4r06]
+  - convert many two valued ints to bools
+  - smp_lib:
+- add smp_get_connector_type_str(), smp_get_num_nomult()
+  and smp_get_llnum_nomult()
+- add dStrHexErr() and dStrHexStr()
+- add hex2stdout, hex2stderr and hex2str
+- add smp_is_big_endian(), smp_all_zeros() and
+  smp_all_ffs()
+- add sg_unaligned.h and sg_pr2serr.h headers
+- change connector name: 'SAS SlimLine' to 'SlimSAS'
+  - sync with spl5r08
+  - cleanup configure.ac + Makefile.am
+  - update BSD license from 3 to 2 clause aka FreeBSD
+license (without reference to FreeBSD project)
+  - debian: bump compat file contents from 7 to 10
+- Drop no longer needed sysmacros.patch
+
+---

Old:

  smp_utils-0.98.tar.xz
  sysmacros.patch

New:

  smp_utils-0.99.tar.xz



Other differences:
--
++ smp_utils.spec ++
--- /var/tmp/diff_new_pack.v1zIXU/_old  2020-04-25 20:07:19.011423106 +0200
+++ /var/tmp/diff_new_pack.v1zIXU/_new  2020-04-25 20:07:19.015423114 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package smp_utils
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,36 +12,32 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
-Name:   smp_utils
 %define lname   libsmputils1-1
-Version:0.98
+Name:   smp_utils
+Version:0.99
 Release:0
 Summary:Utilities for the SAS Management Protocol (SMP)
 License:BSD-3-Clause AND GPL-2.0-only
 Group:  Hardware/Other
-
-Source: http://sg.danny.cz/sg/p/%name-%version.tar.xz
-Patch:  sysmacros.patch
-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
-Provides:   scsi:/usr/bin/smp_discover_list
-Provides:   scsi:/usr/bin/smp_phy_control
-Provides:   scsi:/usr/bin/smp_phy_test
-Provides:   scsi:/usr/bin/smp_read_gpio
-Provides:   scsi:/usr/bin/smp_rep_exp_route_tbl
-Provides:   scsi:/usr/bin/smp_rep_general
-Provides:   scsi:/usr/bin/smp_rep_manufacturer
-Provides:   scsi:/usr/bin/smp_rep_phy_err_log
-Provides:   scsi:/usr/bin/smp_rep_phy_sata
-Provides:   scsi:/usr/bin/smp_rep_route_info
-Provides:   scsi:/usr/bin/smp_write_gpio
+Source: http://sg.danny.cz/sg/p/%{name}-%{version}.tar.xz
+Provides:   scsi:%{_bindir}/smp_conf_general
+Provides:   scsi:%{_bindir}/smp_conf_route_info
+Provides:   scsi:%{_bindir}/smp_discover
+Provides:   scsi:%{_bindir}/smp_discover_list
+Provides:   scsi:%{_bindir}/smp_phy_control
+Provides:   scsi:%{_bindir}/smp_phy_test
+Provides:   scsi:%{_bindir}/smp_read_gpio
+Provides:   scsi:%{_bindir}/smp_rep_exp_route_tbl
+Provides:   scsi:%{_bindir}/smp_rep_general
+Provides:   scsi:%{_bindir}

commit smp_utils for openSUSE:Factory

2018-08-15 Thread root
Hello community,

here is the log from the commit of package smp_utils for openSUSE:Factory 
checked in at 2018-08-15 10:32:27

Comparing /work/SRC/openSUSE:Factory/smp_utils (Old)
 and  /work/SRC/openSUSE:Factory/.smp_utils.new (New)


Package is "smp_utils"

Wed Aug 15 10:32:27 2018 rev:21 rq:627854 version:0.98

Changes:

--- /work/SRC/openSUSE:Factory/smp_utils/smp_utils.changes  2015-03-30 
19:10:32.0 +0200
+++ /work/SRC/openSUSE:Factory/.smp_utils.new/smp_utils.changes 2018-08-15 
10:32:29.287648328 +0200
@@ -1,0 +2,5 @@
+Wed Aug  1 14:19:38 UTC 2018 - sch...@suse.de
+
+- sysmacros.patch: Include  for major/minor/makedev
+
+---

New:

  sysmacros.patch



Other differences:
--
++ smp_utils.spec ++
--- /var/tmp/diff_new_pack.h5cWWb/_old  2018-08-15 10:32:29.919649470 +0200
+++ /var/tmp/diff_new_pack.h5cWWb/_new  2018-08-15 10:32:29.919649470 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package smp_utils
 #
-# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -21,10 +21,11 @@
 Version:0.98
 Release:0
 Summary:Utilities for the SAS Management Protocol (SMP)
-License:BSD-3-Clause and GPL-2.0
+License:BSD-3-Clause AND GPL-2.0-only
 Group:  Hardware/Other
 
 Source: http://sg.danny.cz/sg/p/%name-%version.tar.xz
+Patch:  sysmacros.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  xz
 Provides:   scsi:/usr/bin/smp_conf_general
@@ -73,6 +74,7 @@
 
 %prep
 %setup -q
+%patch -p1
 
 %build
 # None of these is performance-critical, so use -Os rather than -O2:

++ sysmacros.patch ++
Index: smp_utils-0.98/lib/smp_aac_io.c
===
--- smp_utils-0.98.orig/lib/smp_aac_io.c
+++ smp_utils-0.98/lib/smp_aac_io.c
@@ -7,6 +7,7 @@
 #include 
 #include 
 #include 
+#include 
 #include 
 #include 
 #include 
Index: smp_utils-0.98/lib/smp_lin_bsg.c
===
--- smp_utils-0.98.orig/lib/smp_lin_bsg.c
+++ smp_utils-0.98/lib/smp_lin_bsg.c
@@ -41,6 +41,7 @@
 //#include 
 #include 
 #include 
+#include 
 #include 
 #include 
 #include 
Index: smp_utils-0.98/lib/smp_mptctl_io.c
===
--- smp_utils-0.98.orig/lib/smp_mptctl_io.c
+++ smp_utils-0.98/lib/smp_mptctl_io.c
@@ -16,6 +16,7 @@
 //#include 
 #include 
 #include 
+#include 
 #include 
 #include 
 #include 



commit smp_utils for openSUSE:Factory

2015-03-30 Thread h_root
Hello community,

here is the log from the commit of package smp_utils for openSUSE:Factory 
checked in at 2015-03-30 19:10:31

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-06-18 
10:38:05.0 +0200
+++ /work/SRC/openSUSE:Factory/.smp_utils.new/smp_utils.changes 2015-03-30 
19:10:32.0 +0200
@@ -1,0 +2,24 @@
+Wed Mar 25 12:46:15 UTC 2015 - p.drou...@gmail.com
+
+- Update to version 0.98
+  * add Linux aacraid support, interface name : aac
+ - device name has form /dev/aac[N[,E_ID]]
+   * smp_discover, smp_discover_list: in 1 line summary use
+routing attribute "U" instead of "T" if "table to
+table supported" set in report general response
+ - output device slot (group) number if len > 109
+ - add 'attached persistent capable' bit (spl3r2)
+ - add pwr_dis_* fields (spl3r3)
+ - add '--cap' option to decode phy capabilities
+ - change 'end device' to 'SAS or SATA device'
+   * smp_discover: '-mm' produces full output for each phy
+   * smp_rep_broadcast: add broadcast type names
+   * smp_general: add 'initiates ssp close' and 'ssp
+maximum connect time limit' fields (spl3r04)
+   * add support for mpt3ctl (Linux LSI 12 Gbps HBAs)
+   * change binary install from /usr/sbin to /usr/bin since
+ sbin caused problems
+   * examples folder scripts cleanup
+   * make code more C11/C++ friendly
+   
+---

Old:

  smp_utils-0.97.tar.xz

New:

  smp_utils-0.98.tar.xz



Other differences:
--
++ smp_utils.spec ++
--- /var/tmp/diff_new_pack.QNiEZK/_old  2015-03-30 19:10:33.0 +0200
+++ /var/tmp/diff_new_pack.QNiEZK/_new  2015-03-30 19:10:33.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package smp_utils
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
 
 Name:   smp_utils
 %define lname   libsmputils1-1
-Version:0.97
+Version:0.98
 Release:0
 Summary:Utilities for the SAS Management Protocol (SMP)
 License:BSD-3-Clause and GPL-2.0
@@ -49,12 +49,6 @@
 well processing the response. The response is either decoded, printed
 out in ASCII hexadecimal or sent as binary to stdout.
 
-
-
-Authors:
-
-Doug Gilbert 
-
 %package -n %lname
 Summary:Library for SAS SMP control of expanders
 Group:  System/Libraries
@@ -94,7 +88,7 @@
 %defattr(-,root,root)
 # smp_utils
 %doc README ChangeLog
-%_sbindir/smp_*
+%_bindir/smp_*
 %_mandir/man8/*.8*
 
 %files -n %lname

++ smp_utils-0.97.tar.xz -> smp_utils-0.98.tar.xz ++
 14208 lines of diff (skipped)




commit smp_utils for openSUSE:Factory

2013-06-18 Thread h_root
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.0 +0100
+++ /work/SRC/openSUSE:Factory/.smp_utils.new/smp_utils.changes 2013-06-18 
10:38:05.0 +0200
@@ -1,0 +2,23 @@
+Thu Jun 13 14:33:43 UTC 2013 - jeng...@inai.de
+
+- 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.0 +0200
+++ /var/tmp/diff_new_pack.23sYZm/_new  2013-06-18 10:38:06.0 +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 
 
+%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_manufact

commit smp_utils for openSUSE:Factory

2013-03-01 Thread h_root
Hello community,

here is the log from the commit of package smp_utils for openSUSE:Factory 
checked in at 2013-03-01 20:44:45

Comparing /work/SRC/openSUSE:Factory/smp_utils (Old)
 and  /work/SRC/openSUSE:Factory/.smp_utils.new (New)


Package is "smp_utils", Maintainer is "h...@suse.com"

Changes:

--- /work/SRC/openSUSE:Factory/smp_utils/smp_utils.changes  2011-10-04 
18:15:00.0 +0200
+++ /work/SRC/openSUSE:Factory/.smp_utils.new/smp_utils.changes 2013-03-01 
20:44:46.0 +0100
@@ -1,0 +2,11 @@
+Fri Mar  1 11:54:46 UTC 2013 - cfarr...@suse.com
+
+- license update: BSD-3-Clause and GPL-2.0
+  See mptctl.h
+
+---
+Thu Feb 28 06:00:53 UTC 2013 - co...@suse.com
+
+- update license to new format
+
+---



Other differences:
--
++ smp_utils.spec ++
--- /var/tmp/diff_new_pack.ul1i00/_old  2013-03-01 20:44:55.0 +0100
+++ /var/tmp/diff_new_pack.ul1i00/_new  2013-03-01 20:44:55.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package smp_utils
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -15,30 +15,27 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-# norootforbuild
-
 
 Name:   smp_utils
-License:BSD-3-Clause ; GPL-2.0+
-Group:  Hardware/Other
-AutoReqProv:on
+Provides:   scsi:/usr/bin/smp_conf_general
 Provides:   scsi:/usr/bin/smp_conf_route_info
 Provides:   scsi:/usr/bin/smp_discover
 Provides:   scsi:/usr/bin/smp_discover_list
 Provides:   scsi:/usr/bin/smp_phy_control
 Provides:   scsi:/usr/bin/smp_phy_test
 Provides:   scsi:/usr/bin/smp_read_gpio
+Provides:   scsi:/usr/bin/smp_rep_exp_route_tbl
 Provides:   scsi:/usr/bin/smp_rep_general
 Provides:   scsi:/usr/bin/smp_rep_manufacturer
 Provides:   scsi:/usr/bin/smp_rep_phy_err_log
 Provides:   scsi:/usr/bin/smp_rep_phy_sata
 Provides:   scsi:/usr/bin/smp_rep_route_info
 Provides:   scsi:/usr/bin/smp_write_gpio
-Provides:   scsi:/usr/bin/smp_conf_general
-Provides:   scsi:/usr/bin/smp_rep_exp_route_tbl
 Version:0.94
-Release:1
+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

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit smp_utils for openSUSE:Factory

2011-12-06 Thread h_root
Hello community,

here is the log from the commit of package smp_utils for openSUSE:Factory 
checked in at 2011-12-06 19:04:51

Comparing /work/SRC/openSUSE:Factory/smp_utils (Old)
 and  /work/SRC/openSUSE:Factory/.smp_utils.new (New)


Package is "smp_utils", Maintainer is "h...@suse.com"

Changes:




Other differences:
--
++ smp_utils.spec ++
--- /var/tmp/diff_new_pack.VsJrAE/_old  2011-12-06 19:37:46.0 +0100
+++ /var/tmp/diff_new_pack.VsJrAE/_new  2011-12-06 19:37:46.0 +0100
@@ -19,7 +19,7 @@
 
 
 Name:   smp_utils
-License:BSD 3-clause (or similar) ; GPL v2 or later
+License:BSD-3-Clause ; GPL-2.0+
 Group:  Hardware/Other
 AutoReqProv:on
 Provides:   scsi:/usr/bin/smp_conf_route_info

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit smp_utils for openSUSE:Factory

2011-10-04 Thread h_root

Hello community,

here is the log from the commit of package smp_utils for openSUSE:Factory
checked in at Tue Oct 4 18:15:03 CEST 2011.




--- openSUSE:Factory/smp_utils/smp_utils.changes2011-09-23 
12:46:30.0 +0200
+++ /mounts/work_src_done/STABLE/smp_utils/smp_utils.changes2011-09-30 
18:17:09.0 +0200
@@ -1,0 +2,5 @@
+Fri Sep 30 16:16:53 UTC 2011 - u...@suse.com
+
+- cross-build fix: use %__cc macro
+
+---

calling whatdependson for head-i586




Other differences:
--
++ smp_utils.spec ++
--- /var/tmp/diff_new_pack.DCDQMT/_old  2011-10-04 18:14:57.0 +0200
+++ /var/tmp/diff_new_pack.DCDQMT/_new  2011-10-04 18:14:57.0 +0200
@@ -1,7 +1,7 @@
 #
-# spec file for package smp_utils (Version 0.94)
+# spec file for package smp_utils
 #
-# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -65,10 +65,10 @@
 %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=gcc PREFIX=%{_prefix} RPM_OPT_FLAGS="$RPM_OPT_FLAGS"
+make CC="%__cc" LD="%__cc" PREFIX=%{_prefix} RPM_OPT_FLAGS="$RPM_OPT_FLAGS"
 
 %install
-make install DESTDIR=$RPM_BUILD_ROOT PREFIX=%{_prefix} 
MANDIR=$RPM_BUILD_ROOT/%{_mandir}
+make install CC="%__cc" LD="%__cc" DESTDIR=$RPM_BUILD_ROOT PREFIX=%{_prefix} 
MANDIR=$RPM_BUILD_ROOT/%{_mandir}
 
 %files
 %defattr(-,root,root)

continue with "q"...



Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org