rpms/udev/devel udev-post.init,1.8,1.9 udev.spec,1.286,1.287

Harald Hoyer harald at fedoraproject.org
Fri Jul 24 08:17:35 UTC 2009


Author: harald

Update of /cvs/pkgs/rpms/udev/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv4087

Modified Files:
	udev-post.init udev.spec 
Log Message:
* Fri Jul 24 2009 Harald Hoyer <harald at redhat.com> 145-2
- fix file permissions
- remove rpath
- chkconfig --add for udev-post
- fix summaries
- add "Required-Stop" to udev-post



Index: udev-post.init
===================================================================
RCS file: /cvs/pkgs/rpms/udev/devel/udev-post.init,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -p -r1.8 -r1.9
--- udev-post.init	3 Jul 2009 13:48:12 -0000	1.8
+++ udev-post.init	24 Jul 2009 08:17:35 -0000	1.9
@@ -11,6 +11,7 @@
 # Default-Start: 12345
 # Default-Stop:  0 6
 # Required-Start: $local_fs
+# Required-Stop: 
 # Short-Description: Moves the generated persistent udev rules to /etc/udev/rules.d
 # Description: Moves the generated persistent udev rules to /etc/udev/rules.d
 # Provides: udev-post


Index: udev.spec
===================================================================
RCS file: /cvs/pkgs/rpms/udev/devel/udev.spec,v
retrieving revision 1.286
retrieving revision 1.287
diff -u -p -r1.286 -r1.287
--- udev.spec	14 Jul 2009 12:05:12 -0000	1.286
+++ udev.spec	24 Jul 2009 08:17:35 -0000	1.287
@@ -5,7 +5,7 @@
 Summary: A userspace implementation of devfs
 Name: udev
 Version: 145
-Release: 1%{?dist}
+Release: 2%{?dist}
 License: GPLv2
 Group: System Environment/Base
 Provides: udev-persistent = %{version}-%{release}
@@ -36,12 +36,13 @@ BuildRequires: hwdata
 BuildRequires: gobject-introspection-devel >= 0.6.2
 BuildRequires: gtk-doc
 BuildRequires: usbutils
+BuildRequires: libtool >= 2.2.6
 
 Requires: libselinux >= 0:1.17.9-2 sed 
 Conflicts: kernel < 0:2.6 mkinitrd <= 0:4.1.11-1 initscripts < 7.84
 Requires: util-linux-ng >= 2.15.1
 Obsoletes: dev <= 0:3.12-1
-Provides: dev = 0:3.12-1
+Provides: dev = 0:3.12-2
 
 %description
 The udev package contains an implementation of devfs in 
@@ -68,7 +69,7 @@ This package contains the development fi
 dynamic library, which provides access to udev device information.
 
 %package -n libgudev1
-Summary: Libraries for adding libudev support to applications that use glib.
+Summary: Libraries for adding libudev support to applications that use glib
 Group: Development/Libraries
 Requires: libudev >= 142
 # remove the following lines for libgudev so major 1 
@@ -80,7 +81,7 @@ This package contains the libraries that
 functionality from applications that use glib.
 
 %package -n libgudev1-devel
-Summary: Header files for adding libudev support to applications that use glib.
+Summary: Header files for adding libudev support to applications that use glib
 Group: Development/Libraries
 Requires: libudev-devel >= 142
 Provides: libgudev-devel = 20090517
@@ -96,10 +97,14 @@ glib-based applications using libudev fu
 %setup -q  
 
 %build
+# get rid of rpath
+libtoolize -f -c
 %configure --with-selinux  --prefix=%{_prefix} --exec-prefix="" \
 	   --sysconfdir=%{_sysconfdir} --with-libdir-name=%{_lib} \
 	   --sbindir="/sbin" --libexecdir=%{udev_scriptdir} \
-	   --with-rootlibdir=/%{_lib} --enable-introspection
+	   --with-rootlibdir=/%{_lib} --enable-introspection \
+	   --disable-rpath
+
 make %{?_smp_mflags}
 
 %install
@@ -221,6 +226,7 @@ if test -f /proc/1/exe -a -d /proc/1/roo
 		/sbin/udevadm control --start-exec-queue
 	fi
 fi
+/sbin/chkconfig --add udev-post
 
 exit 0
 
@@ -283,7 +289,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %ghost %config(noreplace,missingok) %attr(0644,root,root) %{_sysconfdir}/scsi_id.config
 
-%config %attr(0644,root,root) %{_sysconfdir}/modprobe.d/floppy-pnp.conf
+%config(noreplace) %attr(0644,root,root) %{_sysconfdir}/modprobe.d/floppy-pnp.conf
 
 %dir %attr(0755,root,root) %{firmwaredir}
 %attr(0644,root,root) %{_mandir}/man8/udev*.8*
@@ -305,7 +311,7 @@ rm -rf $RPM_BUILD_ROOT
 %attr(0755,root,root) %{udev_scriptdir}/udev-acl
 %attr(0755,root,root) %{udev_scriptdir}/v4l_id
 %attr(0755,root,root) %{udev_scriptdir}/findkeyboards
-%attr(0755,root,root) %{udev_scriptdir}/keymaps/*
+%attr(0644,root,root) %{udev_scriptdir}/keymaps/*
 %attr(0644,root,root) %{_prefix}/lib/ConsoleKit/run-session.d/udev-acl.ck
 
 
@@ -325,19 +331,28 @@ rm -rf $RPM_BUILD_ROOT
 
 %files -n libgudev1
 %defattr(0644, root, root, 0755)
+%doc COPYING
 %attr(0755,root,root) %{_libdir}/libgudev-1.0.so.*
 %attr(0644,root,root) %{_libdir}/girepository-1.0/GUdev-1.0.typelib
 
 %files -n libgudev1-devel
 %defattr(0644, root, root, 0755)
+%doc COPYING
 %attr(0755,root,root) %{_libdir}/libgudev-1.0.so
 %attr(0644,root,root) %{_includedir}/gudev-1.0/gudev/*.h
 %attr(0644,root,root) %{_datadir}/gir-1.0/GUdev-1.0.gir
 %dir %{_datadir}/gtk-doc/html/gudev
 %attr(0644,root,root) %{_datadir}/gtk-doc/html/gudev/*
-%attr(0755,root,root) %{_libdir}/pkgconfig/gudev-1.0*
+%attr(0644,root,root) %{_libdir}/pkgconfig/gudev-1.0*
 
 %changelog
+* Fri Jul 24 2009 Harald Hoyer <harald at redhat.com> 145-2
+- fix file permissions
+- remove rpath
+- chkconfig --add for udev-post
+- fix summaries
+- add "Required-Stop" to udev-post
+
 * Tue Jul 14 2009 Harald Hoyer <harald at redhat.com> 145-1
 - version 145
 - add "udevlog" kernel command line option to redirect the




More information about the fedora-extras-commits mailing list