rpms/openser/EL-5 openser.spec,1.7,1.8
Michael Schwendt (mschwendt)
fedora-extras-commits at redhat.com
Mon Jan 21 18:21:40 UTC 2008
Author: mschwendt
Update of /cvs/pkgs/rpms/openser/EL-5
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv18078
Modified Files:
openser.spec
Log Message:
Fix ppc build failure. Hint: Use "rpmbuild -bp --target ppc openser.spec" to test your spec file locally in such error conditions even if your arch is not ppc.
Index: openser.spec
===================================================================
RCS file: /cvs/pkgs/rpms/openser/EL-5/openser.spec,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- openser.spec 18 Jan 2008 09:55:04 -0000 1.7
+++ openser.spec 21 Jan 2008 18:20:59 -0000 1.8
@@ -29,7 +29,7 @@
BuildRequires: postgresql-devel
# required by snmpstats module
-%ifndef %{?disable_snmpstats}
+%if %{undefined disable_snmpstats}
BuildRequires: lm_sensors-devel
%endif
BuildRequires: net-snmp-devel
@@ -355,7 +355,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.
-%ifndef %{?disable_snmpstats}
+%if %{undefined disable_snmpstats}
%package snmpstats
Summary: SNMP management interface for the OpenSER
Group: System Environment/Daemons
@@ -782,7 +782,7 @@
%{_libdir}/openser/modules/sms.so
%doc docdir/README.sms
-%ifndef %{?disable_snmpstats}
+%if %{undefined disable_snmpstats}
%files snmpstats
%defattr(-,root,root,-)
%{_libdir}/openser/modules/snmpstats.so
More information about the fedora-extras-commits
mailing list