Fixed the build failure because of missing def of stderr.

This commit is contained in:
Praveen K Paladugu 2009-12-07 15:36:49 +00:00
parent 45b7c1ca94
commit 067d8acff6
2 changed files with 18 additions and 2 deletions

12
missing-stderr-def.patch Normal file
View File

@ -0,0 +1,12 @@
diff -up sblim-indication_helper-0.4.2/ind_helper.h.org sblim-indication_helper-0.4.2/ind_helper.h
--- sblim-indication_helper-0.4.2/ind_helper.h.org 2009-11-19 10:35:45.000000000 -0600
+++ sblim-indication_helper-0.4.2/ind_helper.h 2009-11-19 10:36:05.000000000 -0600
@@ -13,7 +13,7 @@
* Author: Konrad Rzeszutek <konradr@us.ibm.com>
* Date : 09/20/2004
*/
-
+#include <stdio.h>
#include <cmpift.h>
typedef unsigned int Uint32;

View File

@ -1,6 +1,6 @@
Name: sblim-indication_helper
Version: 0.4.2
Release: 3%{?dist}
Release: 4%{?dist}
Summary: Toolkit for CMPI indication providers
Group: Development/Libraries
@ -9,6 +9,7 @@ URL: http://sblim.wiki.sourceforge.net/
Source0: http://downloads.sourceforge.net/sblim/%{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Patch0: sblim-indication_helper-0.4.2_warnings.patch
Patch1: missing-stderr-def.patch
BuildRequires: sblim-cmpi-devel
%description
@ -35,6 +36,7 @@ This package holds the development files for sblim-indication_helper.
%prep
%setup -q
%patch0
%patch1 -p1
%build
@ -70,7 +72,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog
* Fri Jul 31 2009 Praveen K Paladugu <praveen_paladugu@dell.com> 0.4.2-3
* Mon Dec 7 2009 Praveen K Paladugu <praveen_paladugu@dell.com> - 0.4.2-4
- fixed the build failure because of missing definition of stderr
* Fri Jul 31 2009 Praveen K Paladugu <praveen_paladugu@dell.com> - 0.4.2-3
- fixed the rpmlint message. Removed Requries for glibc-devel.
* Tue Jun 30 2009 Praveen K Paladugu <praveen_paladugu@dell.com> - 0.4.2-1
- Standardized the spec file and changed the build number to 1