liblmdb.so symlink instead of a copy

This commit is contained in:
Jan Vcelak 2015-12-28 21:24:14 +01:00
parent feea73e75d
commit 17514dec80
2 changed files with 8 additions and 5 deletions

View File

@ -31,10 +31,10 @@ diff -up lmdb-LMDB_0.9.17/libraries/liblmdb/Makefile.orig lmdb-LMDB_0.9.17/libra
- for f in $(ILIBS); do cp $$f $(DESTDIR)$(prefix)/lib; done
- for f in $(IHDRS); do cp $$f $(DESTDIR)$(prefix)/include; done
- for f in $(IDOCS); do cp $$f $(DESTDIR)$(mandir)/man1; done
+ for f in $(IPROGS); do cp $$f $(DESTDIR)$(binprefix); done
+ for f in $(ILIBS); do cp $$f $(DESTDIR)$(libprefix); done
+ for f in $(IHDRS); do cp $$f $(DESTDIR)$(includeprefix); done
+ for f in $(IDOCS); do cp $$f $(DESTDIR)$(manprefix)/man1; done
+ for f in $(IPROGS); do cp -a $$f $(DESTDIR)$(binprefix); done
+ for f in $(ILIBS); do cp -a $$f $(DESTDIR)$(libprefix); done
+ for f in $(IHDRS); do cp -a $$f $(DESTDIR)$(includeprefix); done
+ for f in $(IDOCS); do cp -a $$f $(DESTDIR)$(manprefix)/man1; done
clean:
- rm -rf $(PROGS) *.[ao] *.[ls]o *~ testdb

View File

@ -3,7 +3,7 @@
Name: lmdb
Version: 0.9.17
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Memory-mapped key-value database
License: OpenLDAP
@ -104,6 +104,9 @@ popd
%changelog
* Mon Dec 28 2015 Jan Vcelak <jvcelak@fedoraproject.org> 0.9.17-2
- Make liblmdb.so a symbolic link to (not a copy of) the versioned DSO
* Thu Dec 03 2015 Jan Staněk <jstanek@redhat.com> - 0.9.17-1
- Update to 0.9.17