packages: mongodb/mongodb.spec - fix deps, drop bogus ldconfig

glen glen at pld-linux.org
Thu Oct 28 10:38:01 CEST 2010


Author: glen                         Date: Thu Oct 28 08:38:01 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- fix deps, drop bogus ldconfig

---- Files affected:
packages/mongodb:
   mongodb.spec (1.4 -> 1.5) 

---- Diffs:

================================================================
Index: packages/mongodb/mongodb.spec
diff -u packages/mongodb/mongodb.spec:1.4 packages/mongodb/mongodb.spec:1.5
--- packages/mongodb/mongodb.spec:1.4	Thu Oct 28 10:36:41 2010
+++ packages/mongodb/mongodb.spec	Thu Oct 28 10:37:55 2010
@@ -14,17 +14,13 @@
 Source2:	%{name}.init
 # BuildRequires:  libpcap-devel
 BuildRequires:	boost-devel >= 1.42
-BuildRequires:	gcc >= 6:4.0
-BuildRequires:	libstdc++-devel
-BuildRequires:	libstdc++-devel >= 4.0
+BuildRequires:	libstdc++-devel >= 6:4.0
 BuildRequires:	pcre-cxx-devel
 BuildRequires:	pcre-devel
 BuildRequires:	readline-devel
 BuildRequires:	scons >= 1.2
 BuildRequires:	v8-devel
-Requires:	libstdc++
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-Requires(pre):	pwdutils
 
 %description
 Mongo (from "huMONGOus") is a schema-free document-oriented database.
@@ -38,8 +34,7 @@
 %package server
 Summary:	MongoDB server, sharding server, and support scripts
 Group:		Applications/Databases
-Requires:	%{name} = %{version}
-Requires:	logrotate
+Requires:	%{name} = %{version}-%{release}
 
 %description server
 Mongo (from "huMONGOus") is a schema-free document-oriented database.
@@ -50,7 +45,7 @@
 %package devel
 Summary:	Headers and libraries for mongo development
 Group:		Development/Libraries
-Requires:	%{name} = %{version}
+Requires:	%{name} = %{version}-%{release}
 
 %description devel
 Mongo (from "huMONGOus") is a schema-free document-oriented database.
@@ -119,9 +114,6 @@
 
 %postun server
 
-%post	devel -p /sbin/ldconfig
-%postun	devel -p /sbin/ldconfig
-
 %files
 %defattr(644,root,root,755)
 %doc README GNU-AGPL-3.0.txt
@@ -170,6 +162,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.5  2010/10/28 08:37:55  glen
+- fix deps, drop bogus ldconfig
+
 Revision 1.4  2010/10/28 08:36:41  glen
 - initial pldize
 - gcc epoch
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/mongodb/mongodb.spec?r1=1.4&r2=1.5&f=u



More information about the pld-cvs-commit mailing list