rpms/openser/EL-5 openser.spec,1.2,1.3
Peter Lemenkov (peter)
fedora-extras-commits at redhat.com
Sun Jan 13 19:02:30 UTC 2008
Author: peter
Update of /cvs/extras/rpms/openser/EL-5
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv7584
Modified Files:
openser.spec
Log Message:
2nd try to fix lm_sensors for non-x86 arch on EL
Index: openser.spec
===================================================================
RCS file: /cvs/extras/rpms/openser/EL-5/openser.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- openser.spec 13 Jan 2008 18:40:55 -0000 1.2
+++ openser.spec 13 Jan 2008 19:01:31 -0000 1.3
@@ -4,6 +4,7 @@
%define EXCLUDE_MODULES mi_xmlrpc osp
%else
%define EXCLUDE_MODULES mi_xmlrpc osp snmpstats
+%define disable_snmpstats 1
%endif
%else
%define EXCLUDE_MODULES mi_xmlrpc osp
@@ -12,7 +13,7 @@
Summary: Open Source SIP Server
Name: openser
Version: 1.3.0
-Release: 1.1%{?dist}
+Release: 1.2{?dist}
License: GPLv2+
Group: System Environment/Daemons
Source0: http://www.openser.org/pub/%{name}/%{version}/src/%{name}-%{version}-tls_src.tar.gz
@@ -31,12 +32,7 @@
BuildRequires: postgresql-devel
# required by snmpstats module
-%if 0%{?rhel}
-# copied from lm_sensors exclusive arch
-%ifarch alpha i386 i486 i586 i686 pentium3 pentium4 athlon x86_64
-BuildRequires: lm_sensors-devel
-%endif
-%else
+%if !%{?disable_snmpstats}
BuildRequires: lm_sensors-devel
%endif
BuildRequires: net-snmp-devel
@@ -362,6 +358,7 @@
message really reached its destination as a SMS--or multi-part messages--if
a SIP messages is too long it will be split and sent as multiple SMS.
+%if !%{?disable_snmpstats}
%package snmpstats
Summary: SNMP management interface for the OpenSER
Group: System Environment/Daemons
@@ -372,6 +369,7 @@
OpenSER. Specifically, it provides general SNMP queryable scalar statistics,
table representations of more complicated data such as user and contact
information, and alarm monitoring capabilities.
+%endif
%package tlsops
Summary: TLS-relating functions for the OpenSER
@@ -787,6 +785,7 @@
%{_libdir}/openser/modules/sms.so
%doc docdir/README.sms
+%if !%{?disable_snmpstats}
%files snmpstats
%defattr(-,root,root,-)
%{_libdir}/openser/modules/snmpstats.so
@@ -796,6 +795,7 @@
%{_datadir}/snmp/mibs/OPENSER-SIP-COMMON-MIB
%{_datadir}/snmp/mibs/OPENSER-SIP-SERVER-MIB
%{_datadir}/snmp/mibs/OPENSER-TC
+%endif
%files tlsops
%defattr(-,root,root,-)
@@ -824,8 +824,8 @@
%changelog
-* Sun Jan 13 2008 Peter Lemenkov <lemenkov at gmail.com> 1.3.0-1.1
-- First try to remove lm_sensors-devel from EL-[45]
+* Sun Jan 13 2008 Peter Lemenkov <lemenkov at gmail.com> 1.3.0-1.2
+- 2nd try to remove lm_sensors-devel from EL-[45]
* Thu Dec 13 2007 Peter Lemenkov <lemenkov at gmail.com> 1.3.0-1
- Final ver. 1.3.0
More information about the fedora-extras-commits
mailing list