[openvas-manager] apply BR for EL5 from openvas-scanner

rebus rebus at fedoraproject.org
Thu Apr 14 00:06:19 UTC 2011


commit 6634bc77e3b881ff47816e71d940078f04113520
Author: Michal Ambroz <rebus at seznam.cz>
Date:   Thu Apr 14 02:05:58 2011 +0200

    apply BR for EL5 from openvas-scanner

 openvas-manager.spec |   20 ++++++++++++++++++--
 1 files changed, 18 insertions(+), 2 deletions(-)
---
diff --git a/openvas-manager.spec b/openvas-manager.spec
index 7ae2264..df962bf 100644
--- a/openvas-manager.spec
+++ b/openvas-manager.spec
@@ -1,7 +1,7 @@
 Name:		openvas-manager
 Summary:	Manager Module for the Open Vulnerability Assessment System (OpenVAS)
 Version:	2.0.2
-Release:	3%{?dist}
+Release:	4%{?dist}
 URL:		http://www.openvas.org
 License:	GPLv2+
 Group:		System Environment/Libraries
@@ -24,11 +24,24 @@ BuildRequires:	cmake >= 2.6.0
 BuildRequires:	glib2-devel
 BuildRequires:	sqlite-devel
 BuildRequires:	gnutls-devel
-BuildRequires:	libuuid-devel
 BuildRequires:	libpcap-devel
 BuildRequires:	gpgme-devel
 BuildRequires:	doxygen
 BuildRequires:	pkgconfig
+# This is introduced to accomodate difference in RHEL5/CentOS5
+%if %{defined rhel}
+%if 0%{?rhel} <= 5
+#RHEL5
+BuildRequires:  e2fsprogs-libs-devel
+%else
+#RHEL6
+BuildRequires:  libuuid-devel
+%endif
+%else
+#Fedora 14 doesn't have "rhel" defined
+BuildRequires:  libuuid-devel
+%endif
+
 Requires:	logrotate
 Requires:	/usr/bin/xsltproc
 
@@ -133,6 +146,9 @@ fi
 %ghost %{_var}/log/openvas/openvasmd.log
 
 %changelog
+* Wed Apr 14 2011 Michal Ambroz <rebus at, seznam.cz> - 2.0.2-4
+- apply BR for EL5 from openvas-scanner
+
 * Wed Mar 30 2011 Michal Ambroz <rebus at, seznam.cz> - 2.0.2-3
 - implement changes based on package review
 


More information about the scm-commits mailing list