update to 3.5
This commit is contained in:
parent
41cc0ddce1
commit
c5cea12c3e
1
.gitignore
vendored
1
.gitignore
vendored
@ -2,3 +2,4 @@
|
||||
/gpsd-3.1.tar.gz
|
||||
/gpsd-3.3.tar.gz
|
||||
/gpsd-3.4.tar.gz
|
||||
/gpsd-3.5.tar.gz
|
||||
|
12
gpsd-nolibcap.patch
Normal file
12
gpsd-nolibcap.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff -up gpsd-3.5/SConstruct.libcap gpsd-3.5/SConstruct
|
||||
--- gpsd-3.5/SConstruct.libcap 2012-04-14 15:36:18.000000000 +0200
|
||||
+++ gpsd-3.5/SConstruct 2012-04-30 10:39:45.370120340 +0200
|
||||
@@ -458,7 +458,7 @@ else:
|
||||
confdefs.append("/* #undef HAVE_LIBRT */\n")
|
||||
rtlibs = []
|
||||
|
||||
-if config.CheckLib('libcap'):
|
||||
+if False and config.CheckLib('libcap'):
|
||||
confdefs.append("#define HAVE_LIBCAP 1\n")
|
||||
# System library - no special flags
|
||||
rtlibs = ["-lcap"]
|
@ -1,5 +1,5 @@
|
||||
Name: gpsd
|
||||
Version: 3.4
|
||||
Version: 3.5
|
||||
Release: 1%{?dist}
|
||||
Summary: Service daemon for mediating access to a GPS
|
||||
|
||||
@ -9,6 +9,7 @@ URL: http://catb.org/gpsd/
|
||||
Source0: http://download.savannah.gnu.org/releases/gpsd/%{name}-%{version}.tar.gz
|
||||
Source10: gpsd.service
|
||||
Source11: gpsd.sysconfig
|
||||
Patch1: gpsd-nolibcap.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
BuildRequires: dbus-devel dbus-glib-devel ncurses-devel xmlto python-devel
|
||||
@ -71,6 +72,7 @@ can run on a serial terminal or terminal emulator.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch1 -p1 -b .nolibcap
|
||||
|
||||
%build
|
||||
export CCFLAGS="%{optflags}"
|
||||
@ -230,6 +232,9 @@ fi
|
||||
|
||||
|
||||
%changelog
|
||||
* Mon Apr 30 2012 Miroslav Lichvar <mlichvar@redhat.com> - 3.5-1
|
||||
- update to 3.5
|
||||
|
||||
* Thu Jan 26 2012 Miroslav Lichvar <mlichvar@redhat.com> - 3.4-1
|
||||
- update to 3.4
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user