diff --git a/gpsd-soname.patch b/gpsd-soname.patch new file mode 100644 index 0000000..56175dc --- /dev/null +++ b/gpsd-soname.patch @@ -0,0 +1,12 @@ +diff -up gpsd-3.20/SConstruct.soname gpsd-3.20/SConstruct +--- gpsd-3.20/SConstruct.soname 2020-06-18 10:55:31.886824453 +0200 ++++ gpsd-3.20/SConstruct 2020-06-18 10:55:37.154839300 +0200 +@@ -65,7 +65,7 @@ import SCons + # package version + gpsd_version = "3.20" + # client library version +-libgps_version_current = 25 ++libgps_version_current = 26 + libgps_version_revision = 0 + libgps_version_age = 0 + libgps_version = "%d.%d.%d" % (libgps_version_current, libgps_version_age, diff --git a/gpsd.spec b/gpsd.spec index 795492e..6a9af10 100644 --- a/gpsd.spec +++ b/gpsd.spec @@ -3,7 +3,7 @@ %global with_qt 1 Name: gpsd -Version: 3.19 +Version: 3.20 Release: 6%{?dist} Epoch: 1 Summary: Service daemon for mediating access to a GPS @@ -13,6 +13,8 @@ URL: http://catb.org/gpsd/ Source0: https://download-mirror.savannah.gnu.org/releases/gpsd/%{name}-%{version}.tar.gz Source11: gpsd.sysconfig +Patch1: gpsd-soname.patch + BuildRequires: dbus-devel BuildRequires: dbus-glib-devel BuildRequires: ncurses-devel @@ -116,6 +118,7 @@ different gps devices. %prep %setup -q +%patch1 -p1 -b .soname # fix paths in systemd unit files sed -i 's|/usr/local/sbin|%{_sbindir}|' systemd/*.service @@ -220,7 +223,7 @@ desktop-file-install \ %endif %files -%doc README NEWS +%doc README.adoc NEWS %license COPYING %config(noreplace) %{_sysconfdir}/sysconfig/%{name} %{_sbindir}/gpsd @@ -243,7 +246,7 @@ desktop-file-install \ %{_mandir}/man1/ntpshmmon.1* %files libs -%{_libdir}/libgps.so.25* +%{_libdir}/libgps.so.26* %files -n python3-%{name} %{_bindir}/gpsprof @@ -265,7 +268,7 @@ desktop-file-install \ %if %{with_qt} %files qt -%{_libdir}/libQgpsmm.so.25* +%{_libdir}/libQgpsmm.so.26* %files qt-devel %{_libdir}/libQgpsmm.so diff --git a/sources b/sources index 50fb2b7..8ed9ec9 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (gpsd-3.19.tar.gz) = c9f9a9ff65759f852771ec4cf97ab15343c9176a149dd5ea6c2e2dc18b47aa7c7bf9ff1f2e8523121564d33a34ae6aa08169c5454847b4fe7848e616fd20a814 +SHA512 (gpsd-3.20.tar.gz) = 557ef5e5f3b511da4fc441f4bb2e0cd2e23c2981e8b3ce2999973767a04fde070d3ec6f14af60d0e471320078e9f4d1144e5796e7927975ecfbd55fc97f470a9