update to 3.5

This commit is contained in:
Miroslav Lichvar 2012-04-30 10:50:51 +02:00
parent 41cc0ddce1
commit c5cea12c3e
4 changed files with 20 additions and 2 deletions

1
.gitignore vendored
View File

@ -2,3 +2,4 @@
/gpsd-3.1.tar.gz /gpsd-3.1.tar.gz
/gpsd-3.3.tar.gz /gpsd-3.3.tar.gz
/gpsd-3.4.tar.gz /gpsd-3.4.tar.gz
/gpsd-3.5.tar.gz

12
gpsd-nolibcap.patch Normal file
View 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"]

View File

@ -1,5 +1,5 @@
Name: gpsd Name: gpsd
Version: 3.4 Version: 3.5
Release: 1%{?dist} Release: 1%{?dist}
Summary: Service daemon for mediating access to a GPS 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 Source0: http://download.savannah.gnu.org/releases/gpsd/%{name}-%{version}.tar.gz
Source10: gpsd.service Source10: gpsd.service
Source11: gpsd.sysconfig Source11: gpsd.sysconfig
Patch1: gpsd-nolibcap.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: dbus-devel dbus-glib-devel ncurses-devel xmlto python-devel 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 %prep
%setup -q %setup -q
%patch1 -p1 -b .nolibcap
%build %build
export CCFLAGS="%{optflags}" export CCFLAGS="%{optflags}"
@ -230,6 +232,9 @@ fi
%changelog %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 * Thu Jan 26 2012 Miroslav Lichvar <mlichvar@redhat.com> - 3.4-1
- update to 3.4 - update to 3.4

View File

@ -1 +1 @@
c01353459faa68834309109d4e868460 gpsd-3.4.tar.gz e96881798a0ab67aa3cd5f3249f0e536 gpsd-3.5.tar.gz