update to 3.20

This commit is contained in:
Miroslav Lichvar 2020-06-18 11:08:41 +02:00
parent 3e0417f2fa
commit b815259b4b
3 changed files with 20 additions and 5 deletions

12
gpsd-soname.patch Normal file
View File

@ -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,

View File

@ -3,7 +3,7 @@
%global with_qt 1 %global with_qt 1
Name: gpsd Name: gpsd
Version: 3.19 Version: 3.20
Release: 6%{?dist} Release: 6%{?dist}
Epoch: 1 Epoch: 1
Summary: Service daemon for mediating access to a GPS 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 Source0: https://download-mirror.savannah.gnu.org/releases/gpsd/%{name}-%{version}.tar.gz
Source11: gpsd.sysconfig Source11: gpsd.sysconfig
Patch1: gpsd-soname.patch
BuildRequires: dbus-devel BuildRequires: dbus-devel
BuildRequires: dbus-glib-devel BuildRequires: dbus-glib-devel
BuildRequires: ncurses-devel BuildRequires: ncurses-devel
@ -116,6 +118,7 @@ different gps devices.
%prep %prep
%setup -q %setup -q
%patch1 -p1 -b .soname
# fix paths in systemd unit files # fix paths in systemd unit files
sed -i 's|/usr/local/sbin|%{_sbindir}|' systemd/*.service sed -i 's|/usr/local/sbin|%{_sbindir}|' systemd/*.service
@ -220,7 +223,7 @@ desktop-file-install \
%endif %endif
%files %files
%doc README NEWS %doc README.adoc NEWS
%license COPYING %license COPYING
%config(noreplace) %{_sysconfdir}/sysconfig/%{name} %config(noreplace) %{_sysconfdir}/sysconfig/%{name}
%{_sbindir}/gpsd %{_sbindir}/gpsd
@ -243,7 +246,7 @@ desktop-file-install \
%{_mandir}/man1/ntpshmmon.1* %{_mandir}/man1/ntpshmmon.1*
%files libs %files libs
%{_libdir}/libgps.so.25* %{_libdir}/libgps.so.26*
%files -n python3-%{name} %files -n python3-%{name}
%{_bindir}/gpsprof %{_bindir}/gpsprof
@ -265,7 +268,7 @@ desktop-file-install \
%if %{with_qt} %if %{with_qt}
%files qt %files qt
%{_libdir}/libQgpsmm.so.25* %{_libdir}/libQgpsmm.so.26*
%files qt-devel %files qt-devel
%{_libdir}/libQgpsmm.so %{_libdir}/libQgpsmm.so

View File

@ -1 +1 @@
SHA512 (gpsd-3.19.tar.gz) = c9f9a9ff65759f852771ec4cf97ab15343c9176a149dd5ea6c2e2dc18b47aa7c7bf9ff1f2e8523121564d33a34ae6aa08169c5454847b4fe7848e616fd20a814 SHA512 (gpsd-3.20.tar.gz) = 557ef5e5f3b511da4fc441f4bb2e0cd2e23c2981e8b3ce2999973767a04fde070d3ec6f14af60d0e471320078e9f4d1144e5796e7927975ecfbd55fc97f470a9