Added temporary symlinks to retain compatibility with gdbm 1.8.0
This commit is contained in:
parent
3c716ea771
commit
0b2d05d0a7
14
gdbm.spec
14
gdbm.spec
@ -1,7 +1,7 @@
|
||||
Summary: A GNU set of database routines which use extensible hashing
|
||||
Name: gdbm
|
||||
Version: 1.8.3
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
Source: http://ftp.gnu.org/gnu/gdbm/gdbm-%{version}.tar.gz
|
||||
# Prevent gdbm from storing uninitialized memory content
|
||||
# to database files.
|
||||
@ -23,6 +23,9 @@ Group: System Environment/Libraries
|
||||
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
||||
BuildRequires: libtool
|
||||
|
||||
# Temporary
|
||||
Provides: libgdbm.so.2
|
||||
|
||||
%description
|
||||
Gdbm is a GNU database indexing library, including routines which use
|
||||
extensible hashing. Gdbm works in a similar way to standard UNIX dbm
|
||||
@ -66,6 +69,11 @@ make
|
||||
rm -rf ${RPM_BUILD_ROOT}
|
||||
%makeinstall install-compat
|
||||
ln -sf gdbm/gdbm.h $RPM_BUILD_ROOT/%{_includedir}/gdbm.h
|
||||
|
||||
# Temporary
|
||||
ln -sf libgdbm.so.3.0.0 $RPM_BUILD_ROOT/%{_libdir}/libgdbm.so.2
|
||||
ln -sf libgdbm.so.3.0.0 $RPM_BUILD_ROOT/%{_libdir}/libgdbm.so.2.0.0
|
||||
|
||||
rm -f $RPM_BUILD_ROOT/%{_libdir}/libgdbm.la
|
||||
rm -f $RPM_BUILD_ROOT/%{_libdir}/libgdbm_compat.la
|
||||
|
||||
@ -86,6 +94,7 @@ fi
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc COPYING NEWS README
|
||||
%{_libdir}/libgdbm.so.2*
|
||||
%{_libdir}/libgdbm.so.3*
|
||||
%{_libdir}/libgdbm_compat.so.3*
|
||||
|
||||
@ -103,6 +112,9 @@ fi
|
||||
rm -rf ${RPM_BUILD_ROOT}
|
||||
|
||||
%changelog
|
||||
* Thu Mar 11 2010 Karel Klic <kklic@redhat.com> - 1.8.3-3
|
||||
- Added temporary symlinks to retain compatibility with gdbm 1.8.0
|
||||
|
||||
* Wed Mar 10 2010 Rex Dieter <rdieter@fedoraproject.org> - 1.8.3-2
|
||||
- %%files: track shlib sonames, so abi breaks are less of a surprise
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user