rpms/conexus/F-10 conexus.spec,1.18,1.19

Rick L. Vinyard, Jr. rvinyard at fedoraproject.org
Tue Aug 25 20:52:16 UTC 2009


Author: rvinyard

Update of /cvs/pkgs/rpms/conexus/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv29921

Modified Files:
	conexus.spec 
Log Message:



Index: conexus.spec
===================================================================
RCS file: /cvs/pkgs/rpms/conexus/F-10/conexus.spec,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -p -r1.18 -r1.19
--- conexus.spec	25 Aug 2009 16:17:25 -0000	1.18
+++ conexus.spec	25 Aug 2009 20:52:15 -0000	1.19
@@ -16,7 +16,9 @@ BuildRequires:    boost-devel
 BuildRequires:    pkgconfig
 BuildRequires:    m4
 BuildRequires:    nspr-devel >= 4.6 nss-devel >= 3.11
+%if 0%{?fedora} > 10 || 0%{?rhel} > 5
 BuildRequires:    libudev-devel >= 139
+%endif
 BuildRequires:    gtkmm24-devel >= 2.6
 BuildRequires:    papyrus-gtkmm-devel >= 0.10
 BuildRequires:    papyrus-extras-devel >= 0.10
@@ -35,7 +37,9 @@ Requires:         conexus = %{version}-%
 Requires:         glibmm24-devel >= 2.6.0
 Requires:         pkgconfig
 Requires:         libcap-devel
+%if 0%{?fedora} > 10 || 0%{?rhel} > 5
 Requires:         libudev-devel
+%endif
 
 %description    devel
 C++ libraries and header files needed for developing applications that
@@ -169,10 +173,10 @@ developing conexus-nspr applications.
 %build
 
 # We need Fedora 11+ for proper udev support
-%if 0%{?fedora} > 10
+%if 0%{?fedora} > 10 || 0%{?rhel} > 5
 %configure --enable-static=no --enable-gtkmm --enable-demos --enable-dbus --enable-udev
 %else
-%configure --enable-static=no --enable-gtkmm --enable-demos --enable-dbus
+%configure --enable-static=no --enable-gtkmm --enable-demos --enable-dbus --disable-udev
 %endif
 
 %{__make} %{?_smp_mflags}
@@ -293,6 +297,7 @@ find %{buildroot} -type f -name "*.la" -
 %changelog
 * Tue Aug 25 2009 Rick L Vinyard Jr <rvinyard at cs.nmsu.edu> - 0.9.0-1
 - New release
+- Make udev buildrequires conditional
 
 * Tue Aug 25 2009 Tomas Mraz <tmraz at redhat.com> - 0.8.0-3
 - rebuilt with new openssl




More information about the fedora-extras-commits mailing list