Hello community,

here is the log from the commit of package liboop for openSUSE:Factory checked 
in at 2012-02-07 14:46:08
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/liboop (Old)
 and      /work/SRC/openSUSE:Factory/.liboop.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "liboop", Maintainer is "[email protected]"

Changes:
--------
--- /work/SRC/openSUSE:Factory/liboop/liboop.changes    2011-09-23 
02:09:07.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.liboop.new/liboop.changes       2012-02-07 
14:46:12.000000000 +0100
@@ -1,0 +2,8 @@
+Tue Jan 31 11:28:37 UTC 2012 - [email protected]
+
+- Remove redundant tags/sections per specfile guideline suggestions
+- Parallel building using %_smp_mflags
+- Employ shlib policy
+- Make pkgconfig provides available
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ liboop.spec ++++++
--- /var/tmp/diff_new_pack.bPfYEY/_old  2012-02-07 14:46:15.000000000 +0100
+++ /var/tmp/diff_new_pack.bPfYEY/_new  2012-02-07 14:46:15.000000000 +0100
@@ -1,7 +1,7 @@
 #
-# spec file for package liboop (Version 1.0)
+# spec file for package liboop
 #
-# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2012 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
@@ -15,19 +15,18 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-# norootforbuild
-
 
 Name:           liboop
+%define lname  liboop4
 Version:        1.0
-Release:        138
-License:        LGPL-2.1+
-Group:          Development/Libraries/C and C++
+Release:        0
 Url:            http://liboop.org/
-AutoReqProv:    on
 Summary:        Low-Level Event Loop Management Library
+License:        LGPL-2.1+
+Group:          Development/Libraries/C and C++
 Source:         http://download.ofb.net/liboop/liboop.tar.bz2
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+BuildRequires:  pkgconfig
 
 %description
 Liboop is a low-level event loop management library for POSIX-based
@@ -44,11 +43,26 @@
 --------
     Dan Egnor <egnor at ofb dot net>
 
+%package -n %lname
+Summary:        Low-Level Event Loop Management Library
+Group:          System/Libraries
+#O/P added for 12.1
+Obsoletes:      liboop < %version-%release
+Provides:       liboop = %version-%release
+
+%description -n %lname
+Liboop is a low-level event loop management library for POSIX-based
+operating systems. It supports the development of modular, multiplexed
+applications that may respond to events from several sources. It
+replaces the "select() loop" and allows the registration of event
+handlers for file and network I/O, timers, and signals. Because
+processes use these mechanisms for almost all external communication,
+liboop can be used as the basis for almost any application.
+
 %package devel
-License:        LGPL-2.1+
-Group:          Development/Libraries/C and C++
 Summary:        Development Libraries and Header Files of liboop
-Requires:       %{name} = %{version}
+Group:          Development/Libraries/C and C++
+Requires:       %lname = %version
 
 %description devel
 This package contains the static libraries and header files needed to
@@ -64,24 +78,23 @@
 %setup -q
 
 %build
-export CFLAGS="$RPM_OPT_FLAGS"
 %configure --disable-static --with-pic
-%{__make} all check
+make %{?_smp_mflags}
+
+%check
+make check %{?_smp_mflags}
 
 %install
 %{__make} DESTDIR=${RPM_BUILD_ROOT} install
 
-%clean
-rm -rf ${RPM_BUILD_ROOT}
-
-%post -p /sbin/ldconfig
+%post -n %lname -p /sbin/ldconfig
 
-%postun -p /sbin/ldconfig
+%postun -n %lname -p /sbin/ldconfig
 
-%files
+%files -n %lname
 %defattr(-,root,root)
-%{_libdir}/liboop.so.*
-%doc COPYING INSTALL
+%_libdir/liboop.so.4*
+%doc COPYING
 
 %files devel
 %defattr(-,root,root)

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to