rpms/conexus/F-11 conexus.spec,1.21,1.22
Rick L. Vinyard, Jr.
rvinyard at fedoraproject.org
Tue Aug 25 20:52:07 UTC 2009
Author: rvinyard
Update of /cvs/pkgs/rpms/conexus/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv29880
Modified Files:
conexus.spec
Log Message:
Index: conexus.spec
===================================================================
RCS file: /cvs/pkgs/rpms/conexus/F-11/conexus.spec,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -p -r1.21 -r1.22
--- conexus.spec 25 Aug 2009 16:17:17 -0000 1.21
+++ conexus.spec 25 Aug 2009 20:52:07 -0000 1.22
@@ -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