SPECS: gpsd.spec - adapter, udev 127 with /lib; rel 1

glen glen at pld-linux.org
Mon Jan 5 01:36:27 CET 2009


Author: glen                         Date: Mon Jan  5 00:36:27 2009 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- adapter, udev 127 with /lib; rel 1

---- Files affected:
SPECS:
   gpsd.spec (1.15 -> 1.16) 

---- Diffs:

================================================================
Index: SPECS/gpsd.spec
diff -u SPECS/gpsd.spec:1.15 SPECS/gpsd.spec:1.16
--- SPECS/gpsd.spec:1.15	Mon Sep 29 20:33:44 2008
+++ SPECS/gpsd.spec	Mon Jan  5 01:36:21 2009
@@ -2,7 +2,7 @@
 #
 # TODO:
 #	- fix pysitedir???
-#	
+#
 # Conditional build:
 %bcond_without	dbus	# build without dbus support
 %bcond_without	x	# build without X Window System support
@@ -11,7 +11,7 @@
 Summary(pl.UTF-8):	Oprogramowanie komunikujące się z GPS-em
 Name:		gpsd
 Version:	2.37
-Release:	0.8
+Release:	1
 License:	BSD
 Group:		Daemons
 Source0:	http://download.berlios.de/gpsd/%{name}-%{version}.tar.gz
@@ -33,10 +33,11 @@
 BuildRequires:	python-devel
 BuildRequires:	rpm-pythonprov
 Requires:	%{name}-libs = %{version}-%{release}
+Requires:	udev-core >= 1:127
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define		_appdefsdir	/usr/share/X11/app-defaults
-%define		udevdir		/%{_lib}/udev
+%define		udevdir		/lib/udev
 
 %description
 gpsd is a service daemon that mediates access to a GPS sensor
@@ -183,10 +184,6 @@
 
 %{__make}
 
-sed -i 's#/lib/#/%{_lib}/#g' gpsd.hotplug 
-sed -i 's#/lib/#/%{_lib}/#g' gpsd.hotplug.wrapper
-sed -i 's#/lib/#/%{_lib}/#g' gpsd.udev
-
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{py_sitedir},%{_datadir}/%{name}}
@@ -225,10 +222,10 @@
 %{udevdir}/gpsd.hotplug
 %{udevdir}/gpsd.hotplug.wrapper
 /etc/udev/rules.d/25-gpsd.rules
-/etc/sysconfig/gpsd
+%config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/gpsd
 %dir %{_datadir}/%{name}
 %{_datadir}/gpsd/dgpsip-servers
- 
+
 %files libs
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libgps.so.*.*.*
@@ -299,6 +296,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.16  2009/01/05 00:36:21  glen
+- adapter, udev 127 with /lib; rel 1
+
 Revision 1.15  2008/09/29 18:33:44  qboosh
 - fixed x bcond, separated -clients-gui
 - python-dependent clients moved to python-gps subpackage
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/gpsd.spec?r1=1.15&r2=1.16&f=u



More information about the pld-cvs-commit mailing list