commit sblim-cmpi-rpm for openSUSE:Factory

2012-08-06 Thread h_root
Hello community,

here is the log from the commit of package sblim-cmpi-rpm for openSUSE:Factory 
checked in at 2012-08-07 08:19:18

Comparing /work/SRC/openSUSE:Factory/sblim-cmpi-rpm (Old)
 and  /work/SRC/openSUSE:Factory/.sblim-cmpi-rpm.new (New)


Package is "sblim-cmpi-rpm", Maintainer is ""

Changes:

--- /work/SRC/openSUSE:Factory/sblim-cmpi-rpm/sblim-cmpi-rpm.changes
2012-05-31 17:10:29.0 +0200
+++ /work/SRC/openSUSE:Factory/.sblim-cmpi-rpm.new/sblim-cmpi-rpm.changes   
2012-08-07 08:19:20.0 +0200
@@ -1,0 +2,5 @@
+Wed Jul 25 16:53:35 UTC 2012 - dval...@suse.com
+
+- set PAGE_SIZE if it is not exported. Fixes ppc build 
+
+---

New:

  page_size.patch



Other differences:
--
++ sblim-cmpi-rpm.spec ++
--- /var/tmp/diff_new_pack.nfcE9x/_old  2012-08-07 08:19:21.0 +0200
+++ /var/tmp/diff_new_pack.nfcE9x/_new  2012-08-07 08:19:21.0 +0200
@@ -40,6 +40,7 @@
 Requires:   sblim-cmpi-base >= 1.2.3, cim-server
 Source0:
http://prdownloads.sourceforge.net/sblim/sblim-cmpi-rpm-%{version}.tar.bz2
 Patch0: link-with-libdl.patch
+Patch1: page_size.patch
 PreReq: sblim-sfcb
 #!BuildIgnore:  tog-pegasus
 
@@ -51,6 +52,7 @@
 %prep
 %setup -q -n %{name}-%{version}
 %patch0 -p1
+%patch1 -p1
 autoreconf -f -i
 
 %build

++ page_size.patch ++
Index: sblim-cmpi-rpm-1.0.1/cimrpmv4.c
===
--- sblim-cmpi-rpm-1.0.1.orig/cimrpmv4.c
+++ sblim-cmpi-rpm-1.0.1/cimrpmv4.c
@@ -25,6 +25,10 @@
 #include 
 #include 
 
+#ifndef PAGE_SIZE
+#define PAGE_SIZE (sysconf(_SC_PAGESIZE))
+#endif
+
 /* Enumeration Helper Structure and eye catcher (MAGIC) */
 
 #define EH_MAGIC 0x17711881
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit sblim-cmpi-rpm for openSUSE:Factory

2012-05-31 Thread h_root
Hello community,

here is the log from the commit of package sblim-cmpi-rpm for openSUSE:Factory 
checked in at 2012-05-31 17:10:25

Comparing /work/SRC/openSUSE:Factory/sblim-cmpi-rpm (Old)
 and  /work/SRC/openSUSE:Factory/.sblim-cmpi-rpm.new (New)


Package is "sblim-cmpi-rpm", Maintainer is ""

Changes:

New Changes file:

--- /dev/null   2012-05-03 01:24:41.895590051 +0200
+++ /work/SRC/openSUSE:Factory/.sblim-cmpi-rpm.new/sblim-cmpi-rpm.changes   
2012-05-31 17:10:29.0 +0200
@@ -0,0 +1,15 @@
+---
+Mon May 28 10:48:16 UTC 2012 - kkae...@suse.com
+
+- add autoconf,automake,libtool to BuildRequires
+
+---
+Mon Sep 13 19:34:06 UTC 2010 - kkae...@novell.com
+
+- Fix RHEL build
+
+---
+Tue Jul 27 13:05:15 UTC 2010 - kkae...@novell.com
+
+- Initial version 1.0.1
+

New:

  link-with-libdl.patch
  sblim-cmpi-rpm-1.0.1.tar.bz2
  sblim-cmpi-rpm.changes
  sblim-cmpi-rpm.spec



Other differences:
--
++ sblim-cmpi-rpm.spec ++
#
# spec file for package sblim-cmpi-rpm (Version 1.0.1)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#



Name:   sblim-cmpi-rpm
BuildRequires:  autoconf
BuildRequires:  automake
BuildRequires:  gcc-c++
BuildRequires:  libtool
BuildRequires:  openssl-devel
BuildRequires:  pam-devel
BuildRequires:  sblim-cmpi-base-devel
BuildRequires:  sblim-indication_helper-devel
BuildRequires:  sblim-testsuite
%if 0%{?suse_version}
BuildRequires:  openslp-devel
%endif
Url:http://sblim.wiki.sourceforge.net/
BuildRoot:  %{_tmppath}/%{name}-%{version}-build
Summary:SBLIM Linux RPM Instrumentation for CMPI
Version:1.0.1
Release:86
Group:  System/Management
License:CPL-1.0
Requires:   sblim-cmpi-base >= 1.2.3, cim-server
Source0:
http://prdownloads.sourceforge.net/sblim/sblim-cmpi-rpm-%{version}.tar.bz2
Patch0: link-with-libdl.patch
PreReq: sblim-sfcb
#!BuildIgnore:  tog-pegasus

%description
Standards Based Linux Instrumentation Base RPM CMPI Providers for
System-related CIM classes


%prep
%setup -q -n %{name}-%{version}
%patch0 -p1
autoreconf -f -i

%build
%configure --disable-static
%{__make}

%install
%if 0%{?suse_version}
%makeinstall docdir=%{_docdir}/%{name}
%else
make install DESTDIR=%{buildroot} docdir=%{_docdir}/%{name}-%{version}
%endif
rm %buildroot%_libdir/cmpi/*.la
rm %buildroot%_libdir/*.la

%clean
%{__rm} -rf $RPM_BUILD_ROOT

%post
%define mof Linux_RpmPackage
# compile MOF
d=%_datadir/%name
$d/provider-register.sh -t sfcb -r $d/%{mof}.registration -m $d/%{mof}.mof

%preun 
if [ "$1" = "0" ]; then
d=%_datadir/%name
$d/provider-register.sh -t sfcb -d -r $d/%{mof}.registration -m 
$d/%{mof}.mof
fi

%files
%defattr(-,root,root)
# skip-check-libtool-deps
%{_libdir}/cmpi/*.so*
%{_libdir}/*.so*
#%{_datadir}/sblim-testsuite
%{_datadir}/%{name}
%if 0%{?suse_version}
%doc %{_docdir}/%{name}
%else
%doc %{_docdir}/%{name}-%{version}
%endif
/usr/include/sblim/cimrpm.h
/usr/include/sblim/cimrpmfp.h
  
%changelog
++ link-with-libdl.patch ++
diff -wruN -x '*~' ../orig-sblim-cmpi-rpm-1.0.1/Makefile.am ./Makefile.am
--- ../orig-sblim-cmpi-rpm-1.0.1/Makefile.am2007-05-17 04:39:01.0 
+0200
+++ ./Makefile.am   2010-07-27 15:09:24.0 +0200
@@ -72,7 +72,7 @@
   libcimrpmv4.la
 
 libcimrpm_la_SOURCES = cimrpm.c
-# libcimrpm_la_LIBADD = -ldl
+libcimrpm_la_LIBADD = -ldl
 libcimrpm_la_LDFLAGS = -Wc,-nostartfiles
 
 libcimrpmv4_la_SOURCES = cimrpmv4.c
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org