On Mon, Aug 11, 2008 at 10:09:42AM -0500, Martin Hicks wrote:
>
> I don't think its necessary (or good form) to include a full version
> number in the RPM package name. RPM already does versioning based on
> %version.
a little hasty. This has been build tested.
Index: monitor-core/ganglia.spec.in
===================================================================
--- monitor-core/ganglia.spec.in (revision 1614)
+++ monitor-core/ganglia.spec.in (working copy)
@@ -141,18 +141,19 @@
# revisit this list. it might be libtool bloat
Requires: expat-devel, apr-devel > 1
%if 0%{?suse_version}
-Requires: libconfuse-devel, libexpat-devel, libapr1-devel, libganglia-3_1_0
+Requires: libconfuse-devel, libexpat-devel, libapr1-devel, libganglia
%endif
%description devel
The Ganglia Monitoring Core library provides a set of functions that
programmers
can use to build scalable cluster or grid applications
-%package -n libganglia-3_1_0
+%package -n libganglia
Summary: Ganglia Shared Libraries http://ganglia.sourceforge.net/
Group: System Environment/Base
+Obsoletes: libganglia-3_1_0
-%description -n libganglia-3_1_0
+%description -n libganglia
The Ganglia Shared Libraries contains common libraries required by both gmond
and
gmetad packages
@@ -228,9 +229,9 @@
/sbin/chkconfig --del gmond
fi
-%post -n libganglia-3_1_0 -p /sbin/ldconfig
+%post -n libganglia -p /sbin/ldconfig
-%postun -n libganglia-3_1_0 -p /sbin/ldconfig
+%postun -n libganglia -p /sbin/ldconfig
%endif #ifnarch noarch
@@ -361,7 +362,7 @@
%{_libdir}/libganglia*.*a
%{_bindir}/ganglia-config
-%files -n libganglia-3_1_0
+%files -n libganglia
%defattr(-,root,root,-)
%{_libdir}/libganglia*.so.*
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Ganglia-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ganglia-developers