<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 08/17/2015 12:42 AM, Matěj Cepl
wrote:<br>
</div>
<blockquote cite="mid:slrnmt2phj.kgc.mcepl@mitmanek.ceplovi.cz"
type="cite">
<pre wrap="">I didn’t build it, it was downloaded from the official EPEL repo.</pre>
</blockquote>
Sorry, my mistake, I thought you were experimenting with the build
process for it as well.<br>
<blockquote cite="mid:slrnmt2phj.kgc.mcepl@mitmanek.ceplovi.cz"
type="cite">
<pre wrap="">Why in the world, we define that __soversion macro? I have never
in my life with SPEC files (that’s eight plus years) saw such
gymnastics with SOVERSION and it seems suspicious.
</pre>
</blockquote>
I can't offer any guess, being not involved in Redhat repo
management. My builds use a spec that started as mostly Greg's.
Your version lacks Greg's -fPIC additions from several months ago
(F22 got uptight about security in some new, weird sense, and -fPIC
became a requirement; I understand RHEL/Centos/EPEL are behind this
curve), and adds the soversion nonsense. Non-comment differences
(-U0) between mine and that:<br>
<br>
--- biblesync.spec 2015-08-17 08:42:33.742845215 -0400<br>
+++ odd-biblesync.spec 2015-08-17 08:44:53.511697188 -0400<br>
@@ -0,0 +1,2 @@<br>
+%define __soversion 1.1<br>
+<br>
@@ -3 +5 @@<br>
-Release: 1bsp%{?dist}<br>
+Release: 3%{?dist}<br>
@@ -8 +10 @@<br>
-URL: <a class="moz-txt-link-freetext" href="https://github.com/karlkleinpaste/biblesync">https://github.com/karlkleinpaste/biblesync</a><br>
+URL: <a class="moz-txt-link-freetext" href="http://www.xiphos.org">http://www.xiphos.org</a><br>
@@ -39,0 +42,2 @@<br>
+export CFLAGS="$CFLAGS -fPIC"<br>
+export CXXFLAGS="$CXXFLAGS -fPIC"<br>
@@ -42 +46 @@<br>
-%cmake -DLIBDIR=%{_libdir} ..
-DCMAKE_SHARED_LINKER_FLAGS="-Wl,--as-needed"<br>
+%cmake -DLIBDIR=%{_libdir} ..
-DCMAKE_SHARED_LINKER_FLAGS="-Wl,--as-needed"
-DBIBLESYNC_SOVERSION=%{__soversion}<br>
@@ -58 +62 @@<br>
-%{_libdir}/libbiblesync.so.%{version}<br>
+%{_libdir}/libbiblesync.so.%{__soversion}<br>
<br>
My package is fine:<br>
<br>
$ rpm -ql biblesync.x86_64<br>
/usr/lib64/libbiblesync.so.1.1.2<br>
/usr/share/doc/biblesync<br>
/usr/share/doc/biblesync/LICENSE<br>
<br>
--karl<br>
</body>
</html>