Hello community,

here is the log from the commit of package gdbm for openSUSE:Factory checked in 
at 2015-02-27 10:56:47
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gdbm (Old)
 and      /work/SRC/openSUSE:Factory/.gdbm.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gdbm"

Changes:
--------
--- /work/SRC/openSUSE:Factory/gdbm/gdbm.changes        2014-08-20 
10:50:47.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.gdbm.new/gdbm.changes   2015-02-27 
10:56:49.000000000 +0100
@@ -1,0 +2,8 @@
+Sun Feb 22 10:01:34 UTC 2015 - mplus...@suse.com
+
+- Clenup spec file with spec-cleaner
+- Update project and download url
+- Add gpg signature
+- Enable checks
+
+-------------------------------------------------------------------

New:
----
  gdbm-1.11.tar.gz.sig
  gdbm.keyring

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

Other differences:
------------------
++++++ gdbm.spec ++++++
--- /var/tmp/diff_new_pack.m3c5OT/_old  2015-02-27 10:56:50.000000000 +0100
+++ /var/tmp/diff_new_pack.m3c5OT/_new  2015-02-27 10:56:50.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package gdbm
 #
-# Copyright (c) 2014 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
@@ -16,24 +16,20 @@
 #
 
 
-Name:           gdbm
 %define lname  libgdbm4
-Url:            http://www.gnu.org.ua/software/gdbm/
-#!BuildIgnore: man
-# bug437293
-%ifarch ppc64
-Obsoletes:      gdbm-64bit
-%endif
-#
+Name:           gdbm
 Version:        1.11
 Release:        0
 Summary:        GNU dbm key/data database
 License:        GPL-3.0+
 Group:          System/Libraries
-Source:         ftp://prep.ai.mit.edu/gnu/gdbm/gdbm-%{version}.tar.gz
+Url:            http://www.gnu.org.ua/software/gdbm/
+Source0:        ftp://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.gz
+Source1:        ftp://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.gz.sig
 Source2:        baselibs.conf
 # ENHANCE-FOR-UPSTREM i...@marguerite.su - add zh_CN translation. And I'll 
submit it to upstream.
 Source3:        zh_CN.gmo
+Source4:        %{name}.keyring
 # FIX-FOR-UPSTREAM i...@marguerite.su - remove the build date from 
src/version.c
 Patch4:         gdbm-no-build-date.patch
 BuildRequires:  autoconf >= 2.63
@@ -41,6 +37,11 @@
 BuildRequires:  libtool
 BuildRequires:  makeinfo
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+#!BuildIgnore: man
+# bug437293
+%ifarch ppc64
+Obsoletes:      gdbm-64bit
+%endif
 
 %description
 GNU dbm is a library of database functions that use extensible
@@ -59,7 +60,7 @@
 For compatibility with programs using old UNIX dbm functions, the
 package also provides traditional dbm and ndbm interfaces.
 
-%package -n %lname
+%package -n %{lname}
 Summary:        GNU dbm key/data database
 License:        GPL-3.0+
 Group:          System/Libraries
@@ -67,7 +68,7 @@
 Obsoletes:      gdbm < %{version}-%{release}
 Provides:       gdbm = %{version}-%{release}
 
-%description -n %lname
+%description -n %{lname}
 GNU dbm is a library of database functions that use extensible
 hashing and work similar to the standard UNIX dbm. These routines are
 provided to a programmer needing to create and manipulate a hashed
@@ -88,9 +89,9 @@
 Summary:        Include Files and Libraries mandatory for Development
 License:        GPL-3.0+ and LGPL-2.1+
 Group:          Development/Libraries/C and C++
-Requires(pre):  %install_info_prereq
 Requires:       gdbm = %{version}
-Provides:       gdbm:/usr/lib/libgdbm.so
+Requires(pre):  %{install_info_prereq}
+Provides:       gdbm:%{_libexecdir}/libgdbm.so
 # bug437293
 %ifarch ppc64
 Obsoletes:      gdbm-devel-64bit
@@ -113,10 +114,13 @@
 %endif
 export CFLAGS="%{optflags} -Wa,--noexecstack"
 %configure --enable-libgdbm-compat
-make %{?_smp_mflags};
+make %{?_smp_mflags}
+
+%check
+make check %{?_smp_mflags}
 
 %install
-%make_install
+make DESTDIR=%{buildroot} install %{?_smp_mflags}
 echo "/* GNU ld script
    Use the shared library, but some functions are only in
    the static library, so try that secondarily.  */
@@ -128,13 +132,15 @@
 
 mkdir -p %{buildroot}%{_datadir}/locale/zh_CN/LC_MESSAGES/
 cp -r %{SOURCE3} %{buildroot}%{_datadir}/locale/zh_CN/LC_MESSAGES/%{name}.mo
+# do not ship these
+find %{buildroot} -type f -name "*.la" -delete -print
 %find_lang %{name}
 
-%post -n %lname -p /sbin/ldconfig
+%post -n %{lname} -p /sbin/ldconfig
 
-%postun -n %lname -p /sbin/ldconfig
+%postun -n %{lname} -p /sbin/ldconfig
 
-%files -n %lname -f %{name}.lang
+%files -n %{lname} -f %{name}.lang
 %defattr(-,root,root)
 %doc COPYING README NEWS
 %{_libdir}/libgdbm.so.4
@@ -157,7 +163,6 @@
 %{_libdir}/libndbm.so
 %{_mandir}/man1/*.gz
 %{_mandir}/man3/gdbm.3.gz
-%exclude %{_libdir}/*.la
 
 %post devel
 %install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz


-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to