Accepting request 396680 from home:pluskalm:branches:devel:libraries:c_c++

- Update to version 1.12
  * New configuration variable COMPATINCLUDEDIR
- Small spec file cleanups

OBS-URL: https://build.opensuse.org/request/show/396680
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/gdbm?expand=0&rev=38
This commit is contained in:
Petr Gajdos 2016-05-19 08:07:46 +00:00 committed by Git OBS Bridge
parent 68eaf27755
commit 29d0f0c851
7 changed files with 40 additions and 40 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8d912f44f05d0b15a4a5d96a76f852e905d051bb88022fcdfd98b43be093e3c3
size 811662

View File

@ -1,7 +0,0 @@
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iD8DBQBSuwD/NgKwf1XQxzIRAo+aAJsHe8Z1cSo//gbNgedVQe3eXf3oPgCfQntC
sWpK3VKWb1jff7q+FSxQFwk=
=Jcbf
-----END PGP SIGNATURE-----

3
gdbm-1.12.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d97b2166ee867fd6ca5c022efee80702d6f30dd66af0e03ed092285c3af9bcea
size 841213

7
gdbm-1.12.tar.gz.sig Normal file
View File

@ -0,0 +1,7 @@
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.15 (GNU/Linux)
iEYEABECAAYFAlc6LZUACgkQNgKwf1XQxzJyxQCeJGERmrV5hLA9gyIkBYJIBfD7
6agAoI1g/meiN8NTYQlrPInjeWuQdjKr
=CQ3h
-----END PGP SIGNATURE-----

View File

@ -1,11 +1,11 @@
Index: src/version.c
===================================================================
--- src/version.c.orig 2014-03-31 12:37:27.178806783 +0200
+++ src/version.c 2014-03-31 12:38:48.329789877 +0200
--- src/version.c.orig
+++ src/version.c
@@ -25,9 +25,6 @@
making the distdir. */
const char * gdbm_version = "GDBM version " PACKAGE_VERSION ". "
"25/12/2013"
"16/05/2016"
-#if defined(__STDC__) && defined(__DATE__) && defined(__TIME__)
- " (built " __DATE__ " " __TIME__ ")"
-#endif

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed May 18 18:04:35 UTC 2016 - mpluskal@suse.com
- Update to version 1.12
* New configuration variable COMPATINCLUDEDIR
- Small spec file cleanups
-------------------------------------------------------------------
Sun Feb 22 10:01:34 UTC 2015 - mpluskal@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package gdbm
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2016 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
@ -18,14 +18,14 @@
%define lname libgdbm4
Name: gdbm
Version: 1.11
Version: 1.12
Release: 0
Summary: GNU dbm key/data database
License: GPL-3.0+
Group: System/Libraries
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
Url: https://www.gnu.org.ua/software/gdbm/
Source0: https://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.gz
Source1: https://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
@ -38,10 +38,6 @@ 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
@ -90,13 +86,9 @@ Summary: Include Files and Libraries mandatory for Development
License: GPL-3.0+ and LGPL-2.1+
Group: Development/Libraries/C and C++
Requires: gdbm = %{version}
Requires(postun): %{install_info_prereq}
Requires(pre): %{install_info_prereq}
Provides: gdbm:%{_libexecdir}/libgdbm.so
# bug437293
%ifarch ppc64
Obsoletes: gdbm-devel-64bit
%endif
#
%description devel
This package contains all necessary include files and libraries needed
@ -108,19 +100,21 @@ to develop applications that require these.
%build
aclocal
autoreconf --force --install
autoreconf -fiv
%ifarch sparc64
export CC="gcc -m64"
%endif
export CFLAGS="%{optflags} -Wa,--noexecstack"
%configure --enable-libgdbm-compat
%configure \
--disable-silent-rules \
--enable-libgdbm-compat
make %{?_smp_mflags}
%check
make check %{?_smp_mflags}
%install
make DESTDIR=%{buildroot} install %{?_smp_mflags}
make %{?_smp_mflags} DESTDIR=%{buildroot} install
echo "/* GNU ld script
Use the shared library, but some functions are only in
the static library, so try that secondarily. */
@ -136,8 +130,13 @@ cp -r %{SOURCE3} %{buildroot}%{_datadir}/locale/zh_CN/LC_MESSAGES/%{name}.mo
find %{buildroot} -type f -name "*.la" -delete -print
%find_lang %{name}
%post -n %{lname} -p /sbin/ldconfig
%post devel
%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
%preun devel
%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
%post -n %{lname} -p /sbin/ldconfig
%postun -n %{lname} -p /sbin/ldconfig
%files -n %{lname} -f %{name}.lang
@ -154,20 +153,14 @@ find %{buildroot} -type f -name "*.la" -delete -print
%{_includedir}/dbm.h
%{_includedir}/gdbm.h
%{_includedir}/ndbm.h
%{_infodir}/gdbm.info.gz
%{_infodir}/gdbm.info%{ext_info}
%{_libdir}/libgdbm.a
%{_libdir}/libgdbm.so
%{_libdir}/libgdbm_compat.a
%{_libdir}/libgdbm_compat.so
%{_libdir}/libndbm.a
%{_libdir}/libndbm.so
%{_mandir}/man1/*.gz
%{_mandir}/man3/gdbm.3.gz
%post devel
%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
%postun devel
%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
%{_mandir}/man1/*%{ext_man}
%{_mandir}/man3/gdbm.3%{ext_man}
%changelog