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 - 3.5-1 +- update to 3.5 + * Thu Jan 26 2012 Miroslav Lichvar - 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