Hello community,
here is the log from the commit of package libsmi for openSUSE:Factory
checked in at Wed Oct 6 23:14:50 CEST 2010.
--------
--- libsmi/libsmi.changes 2009-01-09 03:03:35.000000000 +0100
+++ /mounts/work_src_done/STABLE/libsmi/libsmi.changes 2010-10-06 12:04:59.000000000 +0200
@@ -1,0 +2,16 @@
+Mon Mar 29 14:26:21 CEST 2010 - boris@steki.net
+
+- Created subpackage libsmi2 to make rpmlint happy
+
+-------------------------------------------------------------------
+Sat Mar 27 13:51:22 CET 2010 - boris@steki.net
+
+- update to 0.4.8
+ * test/*: updated a couple of checks.
+ * tools/*: fixed a couple of minor compiler warnings.
+ * new MIBs
+ * tools/Makefile.am: added missing files to the distribution.
+- patch for cast correction in parser-sming.y
+- require of bison and flex in spec so build will rebuild parsers
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
Old:
----
libsmi-0.4.5-gnu-source.patch
libsmi-0.4.5-no_redef.diff
libsmi-0.4.5.tar.bz2
New:
----
libsmi-0.4.8-gnu-source.patch
libsmi-0.4.8-parser.patch
libsmi-0.4.8.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libsmi.spec ++++++
--- /var/tmp/diff_new_pack.8c6WUS/_old 2010-10-06 23:14:12.000000000 +0200
+++ /var/tmp/diff_new_pack.8c6WUS/_new 2010-10-06 23:14:12.000000000 +0200
@@ -1,7 +1,7 @@
#
-# spec file for package libsmi (Version 0.4.5)
+# spec file for package libsmi (Version 0.4.8)
#
-# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2010 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
@@ -19,19 +19,20 @@
Name: libsmi
-BuildRequires: wget
-Version: 0.4.5
-Release: 125
+Version: 0.4.8
+Release: 1
AutoReqProv: on
Group: System/Libraries
-License: X11/MIT
+License: MIT
Url: http://www.ibr.cs.tu-bs.de/projects/libsmi
Summary: A Library to Access SMI MIB Information
-Source: %{name}-%{version}.tar.bz2
-Patch0: %{name}-%{version}-no_redef.diff
-Patch1: libsmi-0.4.5-gnu-source.patch
+Source: %{name}-%{version}.tar.gz
+Patch0: libsmi-0.4.8-parser.patch
+Patch1: libsmi-0.4.8-gnu-source.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
+BuildRequires: bison flex
+
%description
The purpose of libsmi is to
@@ -51,11 +52,35 @@
Frank Strauss
%package devel
-License: X11/MIT
-Summary: libsmi header files and static libraries
+License: MIT
+Summary: Libsmi Header Files And Static Libraries
Group: Development/Libraries/C and C++
Requires: %{name} = %{version} glibc-devel
+%package -n libsmi2
+License: MIT
+Group: System/Libraries
+Summary: Libsmi Shared Libraries
+Requires: %{name} = %{version}
+
+%description -n libsmi2
+The purpose of libsmi is to
+
+* Give network management applications a concise programmer-friendly
+ interface to access MIB module information
+
+* Separate the knowledge on SMI from the main parts of management
+ applications
+
+* Allow addition of new kinds of MIB repositories without the need to
+adapt applications that make use of libsmi
+
+
+
+Authors:
+--------
+ Frank Strauss
+
%description devel
This package contains the header files and static libraries of package
libsmi.
@@ -68,23 +93,25 @@
%prep
%setup -q
-%patch0
-%patch1
+%patch0 -p1
+%patch1 -p1
%build
autoreconf --force --install
%configure --disable-static --with-pic --enable-smi \
--enable-sming \
--with-mibdir=%{_datadir}/mibs
+
%{__make} %{?jobs:-j%jobs}
%install
-make DESTDIR=$RPM_BUILD_ROOT install
+make install DESTDIR=%buildroot
+
%{__rm} -f %{buildroot}%{_libdir}/*.la
-%post -p /sbin/ldconfig
+%post -n libsmi2 -p /sbin/ldconfig
-%postun -p /sbin/ldconfig
+%postun -n libsmi2 -p /sbin/ldconfig
%clean
rm -rf $RPM_BUILD_ROOT
@@ -93,11 +120,14 @@
%defattr(-, root, root)
%doc ANNOUNCE COPYING ChangeLog README THANKS TODO doc/*.txt
%doc %{_mandir}/man?/*
-%{_libdir}/libsmi.so.*
%{_bindir}/*
%{_datadir}/mibs
%{_datadir}/pibs
+%files -n libsmi2
+%defattr(-, root, root)
+%{_libdir}/libsmi.so.*
+
%files devel
%defattr(-, root, root)
%{_includedir}/*
++++++ libsmi-0.4.5-gnu-source.patch -> libsmi-0.4.8-gnu-source.patch ++++++
--- libsmi/libsmi-0.4.5-gnu-source.patch 2009-01-09 02:55:41.000000000 +0100
+++ /mounts/work_src_done/STABLE/libsmi/libsmi-0.4.8-gnu-source.patch 2010-03-27 13:57:36.000000000 +0100
@@ -1,12 +1,10 @@
-Index: lib/smi.c
-===================================================================
---- lib/smi.c.orig 2005-11-25 10:14:05.000000000 +0100
-+++ lib/smi.c 2009-01-09 02:55:36.000000000 +0100
-@@ -10,7 +10,7 @@
- *
- * @(#) $Id: smi.c 2128 2005-04-25 22:36:46Z schoenw $
+diff -uNr libsmi-0.4.8-orig/lib/smi.c libsmi-0.4.8/lib/smi.c
+--- libsmi-0.4.8-orig/lib/smi.c 2008-04-18 12:42:50.000000000 +0200
++++ libsmi-0.4.8/lib/smi.c 2010-03-23 10:51:12.373123639 +0100
+@@ -11,6 +11,7 @@
+ * @(#) $Id: smi.c 8071 2008-04-17 11:14:46Z schoenw $
*/
--
+
+#define _GNU_SOURCE
#include
++++++ libsmi-0.4.8-parser.patch ++++++
diff -uNr libsmi-0.4.8-orig/lib/parser-sming.y libsmi-0.4.8/lib/parser-sming.y
--- libsmi-0.4.8-orig/lib/parser-sming.y 2008-04-18 12:42:50.000000000 +0200
+++ libsmi-0.4.8/lib/parser-sming.y 2010-03-23 10:44:11.777122974 +0100
@@ -2161,8 +2161,8 @@
classPtr, thisParserPtr);
setAttributeParentType($$, smiHandle->typeBitsPtr);
if ($1) {
- setAttributeList($$, $1);
- for (p = $1; p; p = p->nextPtr)
+ setAttributeList($$, (void *)$1);
+ for (p = (void *)$1; p; p = (void *)p->nextPtr)
((NamedNumber *)(p->ptr))->typePtr = (Type*)$$;
}
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org