rpms/libftdi/devel libftdi.spec,1.11,1.12

Lucian Langa lucilanga at fedoraproject.org
Sat Aug 22 12:37:53 UTC 2009


Author: lucilanga

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

Modified Files:
	libftdi.spec 
Log Message:
* Sat Aug 22 2009 Lucian Langa <cooly at gnome.eu.org> - 0.16-7
- add group for udev rule (#517773)


Index: libftdi.spec
===================================================================
RCS file: /cvs/pkgs/rpms/libftdi/devel/libftdi.spec,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -p -r1.11 -r1.12
--- libftdi.spec	31 Jul 2009 11:07:54 -0000	1.11
+++ libftdi.spec	22 Aug 2009 12:37:53 -0000	1.12
@@ -1,7 +1,7 @@
 %{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
 Name:		libftdi
 Version:	0.16
-Release:	6%{?dist}
+Release:	7%{?dist}
 Summary:	Library to program and control the FTDI USB controller
 
 Group:		System Environment/Libraries
@@ -14,6 +14,8 @@ BuildRoot:	%{_tmppath}/%{name}-%{version
 
 BuildRequires:	libusb-devel, doxygen, boost-devel, python-devel, swig
 Requires:	pkgconfig, udev
+Requires(pre):	shadow-utils
+
 
 %package devel
 Summary:	Header files and static libraries for libftdi
@@ -123,6 +125,8 @@ rm -rf $RPM_BUILD_ROOT
 %{_includedir}/*.hpp
 %{_libdir}/pkgconfig/libftdipp.pc
 
+%pre
+getent group GROUPNAME >/dev/null || groupadd -r plugdev
 
 %post -p /sbin/ldconfig
 %postun -p /sbin/ldconfig
@@ -131,6 +135,9 @@ rm -rf $RPM_BUILD_ROOT
 %postun c++ -p /sbin/ldconfig
 
 %changelog
+* Sat Aug 22 2009 Lucian Langa <cooly at gnome.eu.org> - 0.16-7
+- add group for udev rule (#517773)
+
 * Fri Jul 31 2009 Lucian Langa <cooly at gnome.eu.org> - 0.16-6
 - rebuilt with modified patch
 




More information about the fedora-extras-commits mailing list