Patch Makefile to also install gpsd_config.h as needed by libgpsmm.h.
Redhat BZ 253433.
This commit is contained in:
parent
a90605e055
commit
7063353abd
@ -1,6 +1,6 @@
|
||||
Name: gpsd
|
||||
Version: 2.34
|
||||
Release: 7%{?dist}
|
||||
Release: 8%{?dist}
|
||||
Summary: Service daemon for mediating access to a GPS
|
||||
|
||||
Group: System Environment/Daemons
|
||||
@ -10,6 +10,7 @@ Source0: http://download.berlios.de/gpsd/%{name}-%{version}.tar.gz
|
||||
Source1: xgps.desktop
|
||||
Source2: xgpsspeed.desktop
|
||||
Source3: gpsd-logo.png
|
||||
Patch: install-gpsd_config.h.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
BuildRequires: dbus-devel dbus-glib-devel ncurses-devel xmlto python-devel
|
||||
@ -58,6 +59,7 @@ can run on a serial terminal or terminal emulator.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch -p1
|
||||
|
||||
%build
|
||||
%configure --enable-dbus --disable-static
|
||||
@ -127,6 +129,7 @@ rm -rf %{buildroot}
|
||||
%{_includedir}/gps.h
|
||||
%{_includedir}/libgpsmm.h
|
||||
%{_includedir}/gpsd.h
|
||||
%{_includedir}/gpsd_config.h
|
||||
%{_mandir}/man1/gpsfake.1*
|
||||
%{_mandir}/man1/rtcmdecode.1*
|
||||
%{_mandir}/man1/gpsflash.1*
|
||||
@ -159,6 +162,10 @@ rm -rf %{buildroot}
|
||||
%{_datadir}/gpsd/gpsd-logo.png
|
||||
|
||||
%changelog
|
||||
* Sun Aug 19 2007 Matthew Truch <matt at truch.net> - 2.34-8
|
||||
- Patch Makefile to also install gpsd_config.h as needed by
|
||||
libgpsmm.h. Redhat BZ 253433.
|
||||
|
||||
* Sat Jun 30 2007 Matthew Truch <matt at truch.net> - 2.34-7
|
||||
- Make sure the logo is actually included (via the spec file).
|
||||
I need to wake up before I try even trivial updates.
|
||||
|
24
install-gpsd_config.h.patch
Normal file
24
install-gpsd_config.h.patch
Normal file
@ -0,0 +1,24 @@
|
||||
diff -u gpsd-2.34/Makefile.am gpsd-2.34-fixed-install/Makefile.am
|
||||
--- gpsd-2.34/Makefile.am 2006-12-14 18:43:39.000000000 -0500
|
||||
+++ gpsd-2.34-fixed-install/Makefile.am 2007-08-19 09:11:14.000000000 -0400
|
||||
@@ -242,7 +242,7 @@
|
||||
|
||||
endif
|
||||
|
||||
-include_HEADERS = gps.h gpsd.h libgpsmm.h
|
||||
+include_HEADERS = gps.h gpsd.h gpsd_config.h libgpsmm.h
|
||||
|
||||
EXTRA_DIST = \
|
||||
autogen.sh \
|
||||
diff -u gpsd-2.34/Makefile.in gpsd-2.34-fixed-install/Makefile.in
|
||||
--- gpsd-2.34/Makefile.in 2006-12-14 19:13:13.000000000 -0500
|
||||
+++ gpsd-2.34-fixed-install/Makefile.in 2007-08-19 09:15:10.000000000 -0400
|
||||
@@ -541,7 +541,7 @@
|
||||
@HAVE_XSLT_PROCESSOR_TRUE@ rtcm-104.5 \
|
||||
@HAVE_XSLT_PROCESSOR_TRUE@ srec.5
|
||||
|
||||
-include_HEADERS = gps.h gpsd.h libgpsmm.h
|
||||
+include_HEADERS = gps.h gpsd.h gpsd_config.h libgpsmm.h
|
||||
EXTRA_DIST = \
|
||||
autogen.sh \
|
||||
README \
|
Loading…
Reference in New Issue
Block a user