[lsvpd] Update to latest upstream 1.7.3
Vasant Hegde
hegdevasant at fedoraproject.org
Mon Mar 10 06:03:21 UTC 2014
commit 800dc88ec3c2c5f3eb37d4688b7dadb0303e9a2c
Author: Vasant Hegde <hegdevasant at linux.vnet.ibm.com>
Date: Mon Mar 10 11:33:02 2014 +0530
Update to latest upstream 1.7.3
Signed-off-by: Vasant Hegde <hegdevasant at linux.vnet.ibm.com>
.gitignore | 1 +
lsvpd-1.6.12-sg3_utils.patch | 13 -------------
lsvpd.spec | 23 +++++++++++++----------
sources | 2 +-
4 files changed, 15 insertions(+), 24 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 6375609..81114b3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,3 +4,4 @@ lsvpd-1.6.8.tar.gz
/lsvpd-1.6.12.tar.gz
/lsvpd-1.7.1.tar.gz
/lsvpd-1.7.2.tar.gz
+/lsvpd-1.7.3.tar.gz
diff --git a/lsvpd.spec b/lsvpd.spec
index 0047909..249166e 100644
--- a/lsvpd.spec
+++ b/lsvpd.spec
@@ -1,23 +1,21 @@
%define name lsvpd
-%define version 1.7.2
+%define version 1.7.3
Name: %{name}
Version: %{version}
-Release: 3%{?dist}
+Release: 1%{?dist}
Summary: VPD/hardware inventory utilities for Linux
Group: Applications/System
License: GPLv2+
URL: http://linux-diag.sf.net/Lsvpd.html
Source0: http://downloads.sourceforge.net/linux-diag/%{name}-%{version}.tar.gz
-# invscout command is shipped in IBMinvscout package, which
-# is not yet exist in Fedora. Hence exclude building invscout.
-Patch1: lsvpd-1.7.1-exclude_invscout.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: libvpd-devel >= 2.2.1
BuildRequires: sg3_utils-devel zlib-devel automake libtool
BuildRequires: librtas-devel
-Requires(post): /usr/sbin/vpdupdate
+
+Requires(post): %{_sbindir}/vpdupdate
ExclusiveArch: ppc ppc64 ppc64le
@@ -34,23 +32,25 @@ on POWER PC based systems.
%prep
%setup -q
-%patch1 -p1 -b .exclude_invscout
%build
./bootstrap.sh
%configure
%{__make} %{?_smp_mflags}
-%clean
+%clean
%{__rm} -rf $RPM_BUILD_ROOT
%install
%{__rm} -rf $RPM_BUILD_ROOT
%{__make} install DESTDIR=$RPM_BUILD_ROOT
-%post -p /usr/sbin/vpdupdate
+%post
+%{_sbindir}/vpdupdate &
+# Ignore the vpdupdate failures and enforce a success
+exit 0
-%files
+%files
%defattr(-,root,root,-)
%doc COPYING INSTALL NEWS README
%{_sbindir}/lsvpd
@@ -68,6 +68,9 @@ on POWER PC based systems.
%dir %{_sysconfdir}/lsvpd
%changelog
+* Mon Mar 10 2014 Vasant Hegde <hegdevasant at linux.vnet.ibm.com> - 1.7.3
+- Update to latest upstream 1.7.3
+
* Thu Oct 10 2013 Vasant Hegde <hegdevasant at linux.vnet.ibm.com> - 1.7.2-3
- Add ppc64le architecture
diff --git a/sources b/sources
index 504ba2a..be1d35f 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-6510f92adf22d6cf77d10160d73c93f8 lsvpd-1.7.2.tar.gz
+0672af9e929aae78162c30599feabbe2 lsvpd-1.7.3.tar.gz
More information about the scm-commits
mailing list