rpms/libftdi/F-11 libftdi.spec,1.10,1.11
Lucian Langa
lucilanga at fedoraproject.org
Sat Aug 22 15:43:28 UTC 2009
Author: lucilanga
Update of /cvs/pkgs/rpms/libftdi/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv16319
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/F-11/libftdi.spec,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -p -r1.10 -r1.11
--- libftdi.spec 31 Jul 2009 11:11:51 -0000 1.10
+++ libftdi.spec 22 Aug 2009 15:43:28 -0000 1.11
@@ -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: 5%{?dist}
+Release: 6%{?dist}
Summary: Library to program and control the FTDI USB controller
Group: System Environment/Libraries
@@ -14,6 +14,7 @@ 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
@@ -121,6 +122,10 @@ rm -rf $RPM_BUILD_ROOT
%{_includedir}/*.hpp
%{_libdir}/pkgconfig/libftdipp.pc
+%pre
+getent group GROUPNAME >/dev/null || groupadd -r plugdev
+exit 0
+
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
@@ -128,6 +133,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-6
+add group for udev rule (#517773)
+
* Fri Jul 31 2009 Lucian Langa <cooly at gnome.eu.org> - 0.16-5
- rebuilt with newer patch
More information about the fedora-extras-commits
mailing list