]> git.pld-linux.org Git - packages/mongodb.git/commitdiff
- add md5 for Source0
authorlisu <lisu@pld-linux.org>
Thu, 28 Oct 2010 08:19:14 +0000 (08:19 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- fix Source[12] names
- BR: pcre-cxx-devel
- use scons macro

Changed files:
    mongodb.spec -> 1.2

mongodb.spec

index e65f2adeb3a07a3fd9fdeae106e4cc49db113761..aff35a153d12cc2b1d198b21460826f6ceff7966 100644 (file)
@@ -5,16 +5,17 @@ Release:      0
 License:       AGPL 3.0
 Group:         Applications/Databases
 URL:           http://www.mongodb.org
-Source0: http://downloads.mongodb.org/src/%{name}-src-r%{version}.tar.gz
-#Source0:      %{name}-src-r%{version}.tar.gz
-Source1:       mongod.logrotate
-Source2:       mongod.init
+Source0:       http://downloads.mongodb.org/src/%{name}-src-r%{version}.tar.gz
+# Source0-md5: 358bfc52855a66d3c954e7f6f51bcd12
+Source1:       %{name}.logrotate
+Source2:       %{name}.init
 # BuildRequires:  libpcap-devel
 BuildRequires: boost-devel >= 1.42
 BuildRequires: gcc >= 4.0
 BuildRequires: libstdc++-devel
 BuildRequires: libstdc++-devel >= 4.0
-BuildRequires: pcre-devel
+BuildRequires: pcre-cxx-devel
+#BuildRequires:        pcre-devel
 BuildRequires: readline-devel
 BuildRequires: scons >= 1.2
 BuildRequires: v8-devel
@@ -44,7 +45,7 @@ This package provides the mongo server software, mongo sharding server
 softwware, default configuration files, and init.d scripts.
 
 %package devel
-Summary:       Headers and libraries for mongo development.
+Summary:       Headers and libraries for mongo development
 Group:         Development/Libraries
 Requires:      %{name} = %{version}
 
@@ -61,7 +62,7 @@ to develop mongo client software.
 # Fix permission
 find %{_builddir}/%{name}-src-r%{version} -type f -executable -exec chmod a-x '{}' \;
 
-scons -j 3 --prefix=$RPM_BUILD_ROOT%{_prefix} --sharedclient --full all --usev8
+%scons -j 3 --prefix=$RPM_BUILD_ROOT%{_prefix} --sharedclient --full all --usev8
 # XXX really should have shared library here
 
 %install
This page took 0.05632 seconds and 4 git commands to generate.