diff --git a/libvncserver-0.9.11-soname.patch b/libvncserver-0.9.11-soname.patch new file mode 100644 index 0000000..3b45b34 --- /dev/null +++ b/libvncserver-0.9.11-soname.patch @@ -0,0 +1,22 @@ +diff -up libvncserver-LibVNCServer-0.9.11/libvncclient/Makefile.am.soname libvncserver-LibVNCServer-0.9.11/libvncclient/Makefile.am +--- libvncserver-LibVNCServer-0.9.11/libvncclient/Makefile.am.soname 2017-05-16 10:21:51.500768946 -0500 ++++ libvncserver-LibVNCServer-0.9.11/libvncclient/Makefile.am 2017-05-17 11:26:44.383312391 -0500 +@@ -25,5 +25,5 @@ EXTRA_DIST=corre.c hextile.c rre.c tight + $(libvncclient_la_OBJECTS): ../rfb/rfbclient.h + + lib_LTLIBRARIES=libvncclient.la +-libvncclient_la_LDFLAGS = -version-info 1:0:0 ++libvncclient_la_LDFLAGS = -version-info 0:0:0 + +diff -up libvncserver-LibVNCServer-0.9.11/libvncserver/Makefile.am.soname libvncserver-LibVNCServer-0.9.11/libvncserver/Makefile.am +--- libvncserver-LibVNCServer-0.9.11/libvncserver/Makefile.am.soname 2017-05-16 10:21:51.500768946 -0500 ++++ libvncserver-LibVNCServer-0.9.11/libvncserver/Makefile.am 2017-05-17 11:27:02.259459683 -0500 +@@ -66,7 +66,7 @@ libvncserver_la_LIBADD += $(LIBSYSTEMD_L + endif + + lib_LTLIBRARIES=libvncserver.la +-libvncserver_la_LDFLAGS = -version-info 1:0:0 ++libvncserver_la_LDFLAGS = -version-info 0:0:0 + + if HAVE_RPM + $(PACKAGE)-$(VERSION).tar.gz: dist diff --git a/libvncserver.spec b/libvncserver.spec index 6063b3d..61ab9f4 100644 --- a/libvncserver.spec +++ b/libvncserver.spec @@ -1,7 +1,7 @@ Summary: Library to make writing a VNC server easy Name: libvncserver Version: 0.9.11 -Release: 2%{?dist} +Release: 2%{?dist}.1 # NOTE: --with-filetransfer => GPLv2 License: GPLv2+ @@ -15,6 +15,8 @@ Patch4: 0040-Ensure-compatibility-with-gtk-vnc-0.7.0.patch Patch100: libvncserver-0.9.11-system_minilzo.patch Patch101: libvncserver-0.9.1-multilib.patch Patch102: LibVNCServer-0.9.10-system-crypto-policy.patch +# revert soname bump +Patch103: libvncserver-0.9.11-soname.patch BuildRequires: autoconf BuildRequires: automake @@ -72,6 +74,12 @@ developing applications that use %{name}. %patch101 -p1 -b .multilib %patch102 -p1 +%if 0%{?fedora} < 26 +%patch103 -p1 -b .soname +%global soname 0 +%else +%global soname 1 +%endif # Fix encoding for file in ChangeLog ; do @@ -118,8 +126,8 @@ make -C test test ||: %files %license COPYING %doc AUTHORS ChangeLog NEWS README TODO -%{_libdir}/libvncclient.so.1* -%{_libdir}/libvncserver.so.1* +%{_libdir}/libvncclient.so.%{soname}* +%{_libdir}/libvncserver.so.%{soname}* %files devel %{_bindir}/libvncserver-config @@ -131,6 +139,9 @@ make -C test test ||: %changelog +* Wed May 17 2017 Rex Dieter - 0.9.11-2.1 +- revert soname bump for < f26 + * Tue May 16 2017 Rex Dieter - 0.9.11-2 - libvncclient sets +SRP in priority string (#1449605) - libvncserver blocks gtk-vnc clients >= 0.7.0 (#1451321)