SPECS: lsvpd.spec - up to 0.15.0, but doesn't build with current l...

qboosh qboosh at pld-linux.org
Sat May 27 19:40:14 CEST 2006


Author: qboosh                       Date: Sat May 27 17:40:14 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- up to 0.15.0, but doesn't build with current libsysfs

---- Files affected:
SPECS:
   lsvpd.spec (1.15 -> 1.16) 

---- Diffs:

================================================================
Index: SPECS/lsvpd.spec
diff -u SPECS/lsvpd.spec:1.15 SPECS/lsvpd.spec:1.16
--- SPECS/lsvpd.spec:1.15	Thu Mar  2 23:56:30 2006
+++ SPECS/lsvpd.spec	Sat May 27 19:40:09 2006
@@ -2,18 +2,19 @@
 Summary:	VPD/hardware inventory utilities for Linux
 Summary(pl):	Narzędzia do inwentaryzacji VPD/sprzętu dla Linuksa
 Name:		lsvpd
-Version:	0.14.1
+Version:	0.15.0
 Release:	1
 License:	GPL
 Group:		Applications/System
 Source0:	http://dl.sourceforge.net/linux-diag/%{name}-%{version}.tar.gz
-# Source0-md5:	f310891ca548358e778d7009ba0c0976
+# Source0-md5:	1019318fa4d81c080153682c36bd5831
 URL:		http://linux-diag.sourceforge.net/Lsvpd.html
 BuildRequires:	perl-base
 BuildRequires:	rpmbuild(macros) >= 1.268
 BuildRequires:	sed >= 4.0
 BuildRequires:	sg3_utils-devel >= 1.01
 BuildRequires:	sysfsutils-devel >= 1.3.0-3
+BuildRequires:	sysfsutils-devel < 2.0.0
 Requires(post,preun):	/sbin/chkconfig
 Requires:	/bin/bash
 Requires:	/bin/sed
@@ -46,9 +47,10 @@
 sed -i -e "s,#!/bin/sh,#!/bin/bash," scripts/lsvpd.in
 
 %build
+# disable unit-at-a-time - see src/init.h
 %{__make} \
 	CC="%{__cc}" \
-	CFLAGS="%{rpmcflags} -Wall -I../lib" \
+	CFLAGS="%{rpmcflags} -fstrict-aliasing -fno-unit-at-a-time -Wall -Werror -I../lib" \
 	LDLIBS="-lsysfs -lsgutils"
 
 %install
@@ -123,6 +125,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.16  2006/05/27 17:40:09  qboosh
+- up to 0.15.0, but doesn't build with current libsysfs
+
 Revision 1.15  2006/03/02 22:56:30  glen
 - whoops
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/lsvpd.spec?r1=1.15&r2=1.16&f=u



More information about the pld-cvs-commit mailing list