ソースを参照

Return libslopy.so back to linker path

It was moved to slop subdirectoty in attempt to get rid of rpmlint
warning concerning non-standard soname:  this would make 'libslopy.so' a
"private" library, for which naming is not mandatory.

However, this actually breaks slop binary!

Turns out there's no way around it.  What we could do is, in order of
preference:

 1. Solve naming issue with upstream.

 2. Just call it libslopy.so.1.

 3. Use wrapper to add %{_libdir}/slop to LD_LIBRARY_PATH

(The last thing seems really like a too hacky for such simple utility.)
Alois Mahdal 7 年 前
コミット
cd48582953
共有1 個のファイルを変更した3 個の追加3 個の削除を含む
  1. 3
    3
      slop.spec.in

+ 3
- 3
slop.spec.in ファイルの表示

@@ -43,13 +43,13 @@ cmake -DCMAKE_INSTALL_PREFIX="/usr" ./
43 43
 
44 44
 %install
45 45
 %make_install
46
-mkdir -p "%{buildroot}%{_libdir}/slop"
47
-mv %{buildroot}/usr/lib/libslopy.so "%{buildroot}%{_libdir}/slop"
46
+mkdir -p "%{buildroot}%{_libdir}"
47
+mv %{buildroot}/usr/lib/libslopy.so "%{buildroot}%{_libdir}"
48 48
 rm %{buildroot}/usr/include/slop.hpp
49 49
 
50 50
 %files
51 51
 %{_bindir}/slop
52
-%{_libdir}/slop/libslopy.so
52
+%{_libdir}/libslopy.so
53 53
 %{_mandir}/man1/slop.1.gz
54 54
 
55 55
 %changelog