Hello community,

here is the log from the commit of package libpgeasy for openSUSE:Factory 
checked in at 2015-11-26 17:03:57
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libpgeasy (Old)
 and      /work/SRC/openSUSE:Factory/.libpgeasy.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libpgeasy"

Changes:
--------
--- /work/SRC/openSUSE:Factory/libpgeasy/libpgeasy.changes      2011-09-23 
02:09:14.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.libpgeasy.new/libpgeasy.changes 2015-11-26 
17:03:58.000000000 +0100
@@ -1,0 +2,8 @@
+Fri Nov 20 09:53:40 UTC 2015 - mplus...@suse.com
+
+- Cleanup spec file with spec-cleaner
+- Split devel package and library
+- Remove old provides
+- Do not ship .la file
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ libpgeasy.spec ++++++
--- /var/tmp/diff_new_pack.2GjTSM/_old  2015-11-26 17:03:59.000000000 +0100
+++ /var/tmp/diff_new_pack.2GjTSM/_new  2015-11-26 17:03:59.000000000 +0100
@@ -1,7 +1,7 @@
 #
-# spec file for package libpgeasy (Version 3.0.4)
+# spec file for package libpgeasy
 #
-# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX 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,63 +15,73 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-# norootforbuild
-
 
+%define                                lname %{name}3
 Name:           libpgeasy
-BuildRequires:  krb5-devel postgresql-devel
-Url:            http://gborg.postgresql.org/project/pgeasy
-Summary:        Simplified C Client Interface for PostgreSQL
 Version:        3.0.4
-Release:        181
+Release:        0
+Summary:        Simplified C Client Interface for PostgreSQL
 License:        BSD-3-Clause
 Group:          Productivity/Databases/Clients
-Source0:        %name-%version.tar.bz2
+Url:            http://gborg.postgresql.org/project/pgeasy
+Source0:        %{name}-%{version}.tar.bz2
+BuildRequires:  krb5-devel
+BuildRequires:  postgresql-devel
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-Provides:       postgresql-libs:%_libdir/libpgeasy.so.2.2 pgeasy
 
 %description
 LIBPGEASY is a simplified C interface that hides some of the complexity
 of LIBPQ.
 
+%package -n %{lname}
+Summary:        Simplified C Client Interface for PostgreSQL
+Group:          System/Libraries
+Provides:       %{name} = %{version}
+Obsoletes:      %{name} = %{version}
 
+%description -n %{lname}
+LIBPGEASY is a simplified C interface that hides some of the complexity
+of LIBPQ.
+
+%package devel
+Summary:        Development files for Simplified C Client Interface for 
PostgreSQL
+Group:          Development/Libraries/C and C++
+Requires:       %{lname} = %{version}
+
+%description devel
+LIBPGEASY is a simplified C interface that hides some of the complexity
+of LIBPQ.
 
-Authors:
---------
-    Andrew Yu <and...@cs.berkeley.edu>
-    Jolly Chen <jo...@cs.berkeley.edu>
-    Bruce Momjian <maill...@candle.pha.pa.us>
-    Thomas G. Lockhart <lockh...@alumni.caltech.edu>
-    Tom Lane <t...@sss.pgh.pa.us>
-    The Hermit Hacker <scra...@hub.org>
-    etc.
+This subpackage contains the headers for libcec.
 
 %prep
 %setup -q
 
 %build
-export CFLAGS="%optflags"
 %configure \
-       --with-pqinclude=%_includedir/pgsql \
-       --with-pqlib=%_libdir \
+       --with-pqinclude=%{_includedir}/pgsql \
+       --with-pqlib=%{_libdir} \
        --disable-static \
        --with-pic
-make %{?jobs:-j%jobs}
+make %{?_smp_mflags}
 
 %install
-make install DESTDIR=%buildroot
+make DESTDIR=%{buildroot} install %{?_smp_mflags}
+find %{buildroot} -type f -name "*.la" -delete -print
 
-%clean
-rm -rf %buildroot
+%post -n %{lname} -p /sbin/ldconfig
 
-%post -p /sbin/ldconfig
+%postun -n %{lname} -p /sbin/ldconfig
 
-%postun -p /sbin/ldconfig
+%files -n %{lname}
+%defattr(-,root,root,-)
+%doc CHANGES README
+%{_libdir}/libpgeasy.so.3*
 
-%files
+%files devel
 %defattr(-,root,root,-)
 %doc CHANGES README docs/*.html examples
-%_includedir/libpgeasy.h
-%_libdir/lib*
+%{_libdir}/libpgeasy.so
+%{_includedir}/libpgeasy.h
 
 %changelog


Reply via email to