rebuilt with --enable-libgdbm-compat [release 1.18.1-3mamba;Tue Dec 01 2020]

This commit is contained in:
Silvan Calarco 2024-01-06 04:20:41 +01:00
parent ff98c52f71
commit 5d3a6ab89c

View File

@ -1,6 +1,6 @@
Name: libgdbm Name: libgdbm
Version: 1.18.1 Version: 1.18.1
Release: 2mamba Release: 3mamba
Summary: A set of database routines that use extensible hashing Summary: A set of database routines that use extensible hashing
Group: System/Libraries Group: System/Libraries
Vendor: openmamba Vendor: openmamba
@ -12,6 +12,9 @@ Patch: %{name}-1.8.3-Makefile.patch
License: LGPL License: LGPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
BuildRequires: ldconfig
BuildRequires: libncurses-devel
BuildRequires: libreadline-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
Requires(post):%{__install_info} Requires(post):%{__install_info}
BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRoot: %{_tmppath}/%{name}-%{version}-root
@ -19,10 +22,19 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description %description
GNU dbm is a set of database routines that use extensible hashing. It works similar to the standard UNIX dbm routines. GNU dbm is a set of database routines that use extensible hashing. It works similar to the standard UNIX dbm routines.
%package -n libgdbm_compat
Summary: Legacy libgdbm compatibility library
Group: System/Libraries
%description -n libgdbm_compat
GNU dbm is a set of database routines that use extensible hashing. It works similar to the standard UNIX dbm routines.
This package contains the legacy libgdbm compatibily library.
%package devel %package devel
Summary: Devel package for libgdbm Summary: Devel package for libgdbm
Group: Development/Libraries Group: Development/Libraries
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: libgdbm_compat = %{?epoch:%epoch:}%{version}-%{release}
%description devel %description devel
GNU dbm is a set of database routines that use extensible hashing. It works similar to the standard UNIX dbm routines. GNU dbm is a set of database routines that use extensible hashing. It works similar to the standard UNIX dbm routines.
@ -47,7 +59,9 @@ chmod 644 ChangeLog COPYING NEWS README
sed -r -i '/^char.*parseopt_program_(doc|args)/d' src/parseopt.c sed -r -i '/^char.*parseopt_program_(doc|args)/d' src/parseopt.c
%build %build
%configure %configure \
--enable-libgdbm-compat
%make %make
%install %install
@ -74,12 +88,22 @@ exit 0
%{_libdir}/libgdbm.so.* %{_libdir}/libgdbm.so.*
%doc COPYING %doc COPYING
%files -n libgdbm_compat
%defattr(-,root,root)
%{_libdir}/libgdbm_compat.so.*
%doc COPYING
%files devel %files devel
%defattr(-,root,root) %defattr(-,root,root)
%{_includedir}/gdbm.h %{_includedir}/gdbm.h
%{_includedir}/dbm.h
%{_includedir}/ndbm.h
%{_libdir}/libgdbm.a %{_libdir}/libgdbm.a
%{_libdir}/libgdbm.la %{_libdir}/libgdbm.la
%{_libdir}/libgdbm.so %{_libdir}/libgdbm.so
%{_libdir}/libgdbm_compat.a
%{_libdir}/libgdbm_compat.la
%{_libdir}/libgdbm_compat.so
%{_infodir}/gdbm.* %{_infodir}/gdbm.*
%{_mandir}/man3/* %{_mandir}/man3/*
%doc ChangeLog NEWS README %doc ChangeLog NEWS README
@ -94,6 +118,9 @@ exit 0
%{_mandir}/man1/gdbmtool.1* %{_mandir}/man1/gdbmtool.1*
%changelog %changelog
* Tue Dec 01 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.18.1-3mamba
- rebuilt with --enable-libgdbm-compat
* Wed Nov 25 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.18.1-2mamba * Wed Nov 25 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.18.1-2mamba
- gcc 10 fix - gcc 10 fix