[gpsd/f17] update to 3.5

Miroslav Lichvar mlichvar at fedoraproject.org
Mon Apr 30 08:54:21 UTC 2012


commit c5cea12c3e5a3f1add12df8833cd2847c0f3b0da
Author: Miroslav Lichvar <mlichvar at redhat.com>
Date:   Mon Apr 30 10:50:51 2012 +0200

    update to 3.5

 .gitignore          |    1 +
 gpsd-nolibcap.patch |   12 ++++++++++++
 gpsd.spec           |    7 ++++++-
 sources             |    2 +-
 4 files changed, 20 insertions(+), 2 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 6ef2268..b0ca644 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@
 /gpsd-3.1.tar.gz
 /gpsd-3.3.tar.gz
 /gpsd-3.4.tar.gz
+/gpsd-3.5.tar.gz
diff --git a/gpsd-nolibcap.patch b/gpsd-nolibcap.patch
new file mode 100644
index 0000000..68e1b4a
--- /dev/null
+++ b/gpsd-nolibcap.patch
@@ -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"]
diff --git a/gpsd.spec b/gpsd.spec
index 564dc25..82291f2 100644
--- a/gpsd.spec
+++ b/gpsd.spec
@@ -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 at redhat.com> - 3.5-1
+- update to 3.5
+
 * Thu Jan 26 2012 Miroslav Lichvar <mlichvar at redhat.com> - 3.4-1
 - update to 3.4
 
diff --git a/sources b/sources
index bb2d517..95499fe 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-c01353459faa68834309109d4e868460  gpsd-3.4.tar.gz
+e96881798a0ab67aa3cd5f3249f0e536  gpsd-3.5.tar.gz


More information about the scm-commits mailing list