diff --git a/lsvpd-1.6.4-sg3_utils-1.26.patch b/lsvpd-1.6.4-sg3_utils-1.26.patch new file mode 100644 index 0000000..179dff4 --- /dev/null +++ b/lsvpd-1.6.4-sg3_utils-1.26.patch @@ -0,0 +1,24 @@ +diff -Nru lsvpd-1.6.4.orig/Makefile.am lsvpd-1.6.4/Makefile.am +--- lsvpd-1.6.4.orig/Makefile.am 2008-03-12 21:14:32.000000000 +0100 ++++ lsvpd-1.6.4/Makefile.am 2008-06-30 19:43:44.000000000 +0200 +@@ -40,7 +40,7 @@ + lsmcode_SOURCES = src/output/lsmcode.cpp \ + $(update_h_files) + +-vpdupdate_LDADD = -L. -lz -lstdc++ -lvpd_cxx -lsgutils ++vpdupdate_LDADD = -L. -lz -lstdc++ -lvpd_cxx -lsgutils2 + vpdupdate_LDFLAGS = -Wall + lsvpd_LDADD = -L. -lz -lstdc++ -lvpd_cxx + lsvpd_LDFLAGS = -Wall +diff -Nru lsvpd-1.6.4.orig/Makefile.in lsvpd-1.6.4/Makefile.in +--- lsvpd-1.6.4.orig/Makefile.in 2008-04-25 23:23:11.000000000 +0200 ++++ lsvpd-1.6.4/Makefile.in 2008-06-30 19:43:54.000000000 +0200 +@@ -239,7 +239,7 @@ + lsmcode_SOURCES = src/output/lsmcode.cpp \ + $(update_h_files) + +-vpdupdate_LDADD = -L. -lz -lstdc++ -lvpd_cxx -lsgutils ++vpdupdate_LDADD = -L. -lz -lstdc++ -lvpd_cxx -lsgutils2 + vpdupdate_LDFLAGS = -Wall + lsvpd_LDADD = -L. -lz -lstdc++ -lvpd_cxx + lsvpd_LDFLAGS = -Wall diff --git a/lsvpd.spec b/lsvpd.spec index 2df3806..b5c0028 100644 --- a/lsvpd.spec +++ b/lsvpd.spec @@ -3,13 +3,14 @@ Name: %{name} Version: %{version} -Release: 2%{?dist} +Release: 3%{?dist} Summary: VPD/hardware inventory utilities for Linux Group: Applications/System License: GPLv2+ URL: http://linux-diag.sf.net/Lsvpd.html Source: http://downloads.sourceforge.net/linux-diag/%{name}-%{version}.tar.gz +Patch0: lsvpd-1.6.4-sg3_utils-1.26.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: sg3_utils-devel libvpd-devel zlib-devel Requires(post): /usr/sbin/vpdupdate @@ -37,6 +38,7 @@ on POWER PC based systems. %prep %setup -q +%patch0 -p1 %build %configure @@ -69,6 +71,9 @@ on POWER PC based systems. %dir %{_sysconfdir}/lsvpd %changelog +* Mon Jun 30 2008 - Dan Horak - 1.6.4-3 +- add patch for sg3_utils 1.26 and rebuild + * Fri Jun 06 2008 - Caolán McNamara - 1.6.4-2 - rebuild for dependancies