Hello community,
here is the log from the commit of package lsvpd
checked in at Mon Jul 2 16:40:21 CEST 2007.
--------
--- lsvpd/lsvpd.changes 2007-05-21 23:31:12.000000000 +0200
+++ /mounts/work_src_done/STABLE/lsvpd/lsvpd.changes 2007-07-02 14:35:18.000000000 +0200
@@ -1,0 +2,6 @@
+Mon Jul 2 14:29:33 CEST 2007 - olh@suse.de
+
+- update to 1.3.0
+ add udev support
+
+-------------------------------------------------------------------
Old:
----
db43.diff
lsvpd-1.0.3.tar.bz2
lsvpd.include-path.patch
lsvpd.non-void-function.patch
New:
----
lsvpd-1.3.0.tar.bz2
lsvpd.db_cxx.patch
lsvpd.runlevel-script.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ lsvpd.spec ++++++
--- /var/tmp/diff_new_pack.X27097/_old 2007-07-02 16:39:00.000000000 +0200
+++ /var/tmp/diff_new_pack.X27097/_new 2007-07-02 16:39:00.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package lsvpd (Version 1.0.3)
+# spec file for package lsvpd (Version 1.3.0)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@@ -14,18 +14,17 @@
BuildRequires: db43-devel gcc-c++ pciutils scsi usbutils zlib-devel
URL: http://sourceforge.net/projects/linux-diag/
Summary: VPD Hardware Inventory Utilities for Linux
-Version: 1.0.3
-Release: 23
-License: GNU General Public License (GPL)
+Version: 1.3.0
+Release: 1
+License: GPL v2 or later
Group: System/Monitoring
BuildRoot: %{_tmppath}/%{name}-%{version}-build
PreReq: %insserv_prereq %fillup_prereq
Requires: /bin/sed
Source0: http://cesnet.dl.sourceforge.net/sourceforge/linux-diag/lsvpd-%{version}.tar.bz2
-Patch2: lsvpd.include-path.patch
-Patch3: lsvpd.non-void-function.patch
+Patch1: lsvpd.db_cxx.patch
+Patch2: lsvpd.runlevel-script.patch
Patch4: lsvpd.sgutils_dep.patch
-Patch5: db43.diff
%description
The lsvpd package contains both the lsvpd, lscfg and lsmcode commands.
@@ -45,29 +44,22 @@
%prep
%setup -q
+%patch1 -p1
%patch2 -p1
-%patch3 -p1
%patch4 -p1
-%patch5
%build
autoreconf -fi
-%if 0
-CFLAGS="$RPM_OPT_FLAGS" \
-CXXFLAGS="$RPM_OPT_FLAGS" \
-./configure \
- --prefix=/ \
- --libdir=/%{_lib}
-%else
%configure
-%endif
make %{?jobs:-j%jobs}
+chmod 644 README* COPYING NEWS
%clean
rm -rf $RPM_BUILD_ROOT
%install
rm -rf $RPM_BUILD_ROOT
+mkdir $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install
mkdir $RPM_BUILD_ROOT/sbin
for i in lscfg lsmcode lsvio lsvpd update-lsvpd-db
@@ -80,16 +72,23 @@
%ifarch ppc ppc64
%post
+%run_ldconfig
%{fillup_and_insserv vpdupdater}
%endif
%postun
+%run_ldconfig
%{insserv_cleanup}
%files
%defattr(-,root,root)
%doc README COPYING NEWS
+%dir /etc/udev
+%dir /etc/udev/rules.d
+%dir /etc/lsvpd
%attr (755,root,root) %config /etc/init.d/vpdupdater
+%attr (644,root,root) %config /etc/lsvpd/scsi_templates.conf
+%attr (644,root,root) %config /etc/udev/rules.d/99-lsvpd.rules
/sbin/*
%attr (755,root,root) /usr/sbin/*
/usr/include/libvpd-1
@@ -97,6 +96,9 @@
%{_mandir}/*/*
%changelog
+* Mon Jul 02 2007 - olh@suse.de
+- update to 1.3.0
+ add udev support
* Mon May 21 2007 - dmueller@suse.de
- build against db 4.3
* Thu Mar 29 2007 - olh@suse.de
++++++ lsvpd-1.0.3.tar.bz2 -> lsvpd-1.3.0.tar.bz2 ++++++
++++ 16758 lines of diff (skipped)
++++++ lsvpd.db_cxx.patch ++++++
---
Makefile.am | 10 +++++-----
configure.in | 4 ++--
2 files changed, 7 insertions(+), 7 deletions(-)
--- lsvpd-1.3.0.orig/Makefile.am
+++ lsvpd-1.3.0/Makefile.am
@@ -83,7 +83,7 @@ lsvio_LDFLAGS = -Wall
lsmcode_LDADD = -L. -lz -lstdc++ ./libvpd-1.3.la
lsmcode_LDFLAGS = -Wall
-libvpd_1_3_la_LDFLAGS = /usr/lib/libdb_cxx.a -module -lstdc++ -lpthread
+libvpd_1_3_la_LDFLAGS = -ldb_cxx-4.3 -module -lstdc++ -lpthread
AM_CXXFLAGS = -DDEST_DIR='"${exec_prefix}"' -DVPD_VERSION='"@VERSION@"'
@@ -102,11 +102,11 @@ endif
if DB_CXX_H
AM_CXXFLAGS += -DDB_CXX='