[lsvpd/f17] update patch

Karsten Hopp karsten at fedoraproject.org
Fri May 4 14:25:28 UTC 2012


commit 0ecdbd64710f1bea53b930714b7bdbcb418ff7c5
Author: Karsten Hopp <karsten at redhat.com>
Date:   Fri May 4 16:25:08 2012 +0200

    update patch

 lsvpd-1.6.10-sg3_utils.patch |   12 ------------
 lsvpd-1.6.12-sg3_utils.patch |   13 +++++++++++++
 lsvpd.spec                   |    8 ++++----
 3 files changed, 17 insertions(+), 16 deletions(-)
---
diff --git a/lsvpd-1.6.12-sg3_utils.patch b/lsvpd-1.6.12-sg3_utils.patch
new file mode 100644
index 0000000..63c32fe
--- /dev/null
+++ b/lsvpd-1.6.12-sg3_utils.patch
@@ -0,0 +1,13 @@
+diff -up lsvpd-1.6.12/Makefile.am.sg3_utils lsvpd-1.6.12/Makefile.am
+--- lsvpd-1.6.12/Makefile.am.sg3_utils	2011-12-08 09:27:59.000000000 +0100
++++ lsvpd-1.6.12/Makefile.am	2012-05-04 16:22:53.738981152 +0200
+@@ -40,7 +40,8 @@ lsvio_SOURCES = src/output/lsvio.cpp \
+ lsmcode_SOURCES = src/output/lsmcode.cpp \
+ 		$(update_h_files)
+ 
+-vpdupdate_LDADD = -lz -lstdc++ -lvpd_cxx
++vpdupdate_LDADD = -lz -lstdc++ -lvpd_cxx -lsgutils2
++
+ if SGUTIL1
+ vpdupdate_LDADD += -lsgutils
+ endif
diff --git a/lsvpd.spec b/lsvpd.spec
index 998c171..a054904 100644
--- a/lsvpd.spec
+++ b/lsvpd.spec
@@ -3,7 +3,7 @@
 
 Name:		%{name}
 Version:	%{version}
-Release:	5%{?dist}
+Release:	1%{?dist}
 Summary:	VPD/hardware inventory utilities for Linux
 
 Group:		Applications/System
@@ -11,7 +11,7 @@ License:	GPLv2+
 URL:		http://linux-diag.sf.net/Lsvpd.html
 Source0:	http://downloads.sourceforge.net/linux-diag/%{name}-%{version}.tar.gz
 Patch1:		lsvpd-1.6.7-ids-lookup.patch
-Patch2:		lsvpd-1.6.10-sg3_utils.patch
+Patch2:		lsvpd-1.6.12-sg3_utils.patch
 Patch3:		lsvpd-1.6.11-lsmopts.patch
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires:	libvpd-devel >= 2.1.3
@@ -24,7 +24,7 @@ Requires(post): /usr/sbin/vpdupdate
 # librtas on POWER
 BuildRequires: librtas-devel
 
-ExclusiveArch: ppc ppc64
+#ExclusiveArch: ppc ppc64
 
 %description
 The lsvpd package contains all of the lsvpd, lscfg and lsmcode
@@ -75,7 +75,7 @@ on POWER PC based systems.
 %dir %{_sysconfdir}/lsvpd
 
 %changelog
-* Fri May 04 2012 Karsten Hopp <karsten at redhat.com> 1.6.12-5
+* Fri May 04 2012 Karsten Hopp <karsten at redhat.com> 1.6.12-1
 - update to 1.6.12
 
 * Tue Feb 28 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.6.11-5


More information about the scm-commits mailing list