Bug 18679

Summary: liblmdb-devel provides liblmdb.so.0.0.0
Product: Mageia Reporter: David Walser <luigiwalser>
Component: RPM PackagesAssignee: Nicolas Lécureuil <mageia>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal CC: geiger.david68210
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: lmdb-0.9.18-1.mga6.src.rpm CVE:
Status comment:

Description David Walser 2016-06-10 17:09:54 CEST
The packaging looks fine from the SPEC, but maybe the "liblmdb.so" in the devel package is a copy of the library instead of a symlink to it.
Comment 1 David GEIGER 2016-06-10 18:52:46 CEST
should be fixed now!

CC: (none) => geiger.david68210

Comment 2 David Walser 2016-06-10 18:56:04 CEST
How?  Unless my eyes are deceiving me, I only see cosmetic changes in -2.mga6.
Comment 3 David GEIGER 2016-06-10 19:00:18 CEST
are you sure? :)

I have also fixed the patch (lmdb-make.patch)


See build log now:
Processing files: lib64lmdb-devel-0.9.18-2.mga6.x86_64
Provides: devel(liblmdb(64bit)) lib64lmdb-devel = 0.9.18-2.mga6 lib64lmdb-devel(x86-64) = 0.9.18-2.mga6 lmdb-devel = 0.9.18-2.mga6
Comment 4 David Walser 2016-06-10 19:02:17 CEST
Yeah I saw the patch.  In the SOVERSION line it's only different by whitespace, and the other commands that were changed only changed a "cp" to a "cp -a."  I don't understand how that will change anything.
Comment 5 David GEIGER 2016-06-10 19:04:48 CEST
yes me too! but "cp -a" seems fix this issue, patch come from fedora.
Comment 6 David Walser 2016-06-10 19:06:37 CEST
Weird.  Thanks then :D

Status: NEW => RESOLVED
Resolution: (none) => FIXED

Comment 7 David GEIGER 2016-06-10 19:11:55 CEST
yeah strange! :)

Openmandriva does:
+for f in $(ILIBS); do cp -d $$f $(DESTDIR)$(libprefix); done

Debian does:
+for f in $(ILIBS); do cp -pP $$f $(DESTDIR)$(libdir); done

Fedora does:
+for f in $(ILIBS); do cp -a $$f $(DESTDIR)$(libdir); done