Hello community,

here is the log from the commit of package libpqxx for openSUSE:Factory checked 
in at 2013-05-03 13:37:18
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libpqxx (Old)
 and      /work/SRC/openSUSE:Factory/.libpqxx.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libpqxx"

Changes:
--------
--- /work/SRC/openSUSE:Factory/libpqxx/libpqxx.changes  2012-03-20 
16:31:10.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.libpqxx.new/libpqxx.changes     2013-05-03 
13:37:20.000000000 +0200
@@ -1,0 +2,14 @@
+Tue Apr  9 23:37:54 UTC 2013 - [email protected]
+
+- update to 4.0.1
+  * See NEWS or http://pqxx.org/development/libpqxx/browser/tags/4.0.1/NEWS
+    for details.
+- spec cleanup
+  * Provide library in subpackage, which name follows
+    shared library naming policy.
+- removed libpqxx-rpmlintrc
+  * it contained only addFilter("shlib-policy-name-error")
+- removed patches libpqxx-gcc46.patch libpqxx-gcc47.patch -
+  merged upstream.
+
+-------------------------------------------------------------------

Old:
----
  libpqxx-3.1.tar.bz2
  libpqxx-gcc46.patch
  libpqxx-gcc47.patch
  libpqxx-rpmlintrc

New:
----
  libpqxx-4.0.1.tar.gz

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

Other differences:
------------------
++++++ libpqxx.spec ++++++
--- /var/tmp/diff_new_pack.dpitY2/_old  2013-05-03 13:37:21.000000000 +0200
+++ /var/tmp/diff_new_pack.dpitY2/_new  2013-05-03 13:37:21.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package libpqxx
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 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
@@ -16,78 +16,85 @@
 #
 
 
+%define abi_ver_major 4
+%define abi_ver_minor 0
 
 Name:           libpqxx
-%if 0%{?suse_version} > 1100
+Version:        4.0.1
+Release:        0
+Summary:        C++ Client Library for PostgreSQL
+License:        BSD-3-Clause
+Group:          System/Libraries
+Url:            http://pqxx.org/development/libpqxx/
+Source:         
http://pqxx.org/download/software/%{name}/%{name}-%{version}.tar.gz
 BuildRequires:  fdupes
-%endif
 BuildRequires:  gcc-c++
-BuildRequires:  krb5-devel
-BuildRequires:  postgresql-devel
 BuildRequires:  pkg-config
-Url:            http://pqxx.org/development/libpqxx/
-Summary:        C++ Client Library for PostgreSQL
-Version:        3.1
-Release:        7
-License:        BSD-3-Clause
-Group:          Productivity/Databases/Clients
-Source0:        %name-%version.tar.bz2
-Source1:        libpqxx-rpmlintrc
-# PATCH-FIX-UPSTREAM libpqxx-gcc46.patch [email protected]
-# -- Fix compilation with gcc 4.6, upstream r1722
-Patch1:         libpqxx-gcc46.patch
-# PATCH-FIX-UPSTREAM libpqxx-gcc47.patch [email protected] -- Fix build 
with gcc 4.7
-Patch2:         libpqxx-gcc47.patch
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+BuildRequires:  postgresql-devel
+BuildRequires:  python
 
 %description
-This is the standard library for C++ programs that connect to a
-PostgreSQL database server.
+This is the official C++ client API for postgres.  What libpqxx brings you is
+effective use of templates to reduce the inconvenience of dealing with type
+conversions; of standard C++ strings to keep you from having to worry about
+buffer allocation and overflow attacks; of exceptions to take the tedious and
+error-prone plumbing around error handling out of your hands; of constructors
+and destructors to bring resource management under control; and even basic
+object-orientation to give you some extra reliability features that would be
+hard to get with most other database interfaces.
+
+%package %{abi_ver_major}_%{abi_ver_minor}
+Summary:        C++ Client Library for PostgreSQL
+Group:          System/Libraries
+
+%description %{abi_ver_major}_%{abi_ver_minor}
+This is the official C++ client API for postgres.  What libpqxx brings you is
+effective use of templates to reduce the inconvenience of dealing with type
+conversions; of standard C++ strings to keep you from having to worry about
+buffer allocation and overflow attacks; of exceptions to take the tedious and
+error-prone plumbing around error handling out of your hands; of constructors
+and destructors to bring resource management under control; and even basic
+object-orientation to give you some extra reliability features that would be
+hard to get with most other database interfaces.
 
 %package devel
-License:        BSD-3-Clause
 Summary:        C++ Client Library for PostgreSQL
-Group:          Productivity/Databases/Clients
-Requires:       libpqxx = %version
+Group:          Development/Libraries/Other
+Requires:       %{name}-%{abi_ver_major}_%{abi_ver_minor} = %{version}
 
 %description devel
 This package contains header files and documentation needed for writing
 C++ programs that connect to a PostgreSQL database.
 
+
 %prep
 %setup -q
-%patch1
-%patch2 -p1
 chmod 0644 AUTHORS COPYING ChangeLog NEWS README README-UPGRADE
 
 %build
-%configure --enable-shared --disable-static --with-pic
-make %{?jobs:-j%jobs} all
+%configure \
+    --enable-shared \
+    --disable-static
+make %{?_smp_mflags}
 
 %install
-make DESTDIR=%buildroot install
-rm -f %buldroot%_libdir/*.la
-DOCDIR=%buildroot%_docdir/%name
-mkdir -p $DOCDIR
-cp -a AUTHORS ChangeLog COPYING NEWS README* doc/html $DOCDIR
-%if 0%{?suse_version} > 1100
-%fdupes $DOCDIR
-%endif
-
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-%files
-%defattr(-,root,root,-)
-%_libdir/%name-%version.so
+%make_install
+rm %{buildroot}%{_libdir}/%{name}.la
+pushd doc/html/Reference
+    %fdupes -s .
+popd
+
+%files %{abi_ver_major}_%{abi_ver_minor}
+%defattr(-, root, root)
+%doc AUTHORS ChangeLog NEWS README README-UPGRADE COPYING
+%{_libdir}/%{name}-%{abi_ver_major}.%{abi_ver_minor}.so
 
 %files devel
-%defattr(-,root,root,-)
-%doc %_docdir/%name
-%_includedir/pqxx
-%exclude %_libdir/%name-%version.so
-%_libdir/lib*
-%_libdir/pkgconfig/libpqxx.pc
-/usr/bin/pqxx-config
+%defattr(-, root, root)
+%doc doc/html
+%{_libdir}/pkgconfig/libpqxx.pc
+%{_libdir}/%{name}.so
+%{_includedir}/pqxx/
+%{_bindir}/pqxx-config
 
 %changelog

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

Reply via email to