Blame SPECS/mongodb.spec

f0a783
#%global _hardened_build 1
f0a783
# for better compatibility with SCL spec file
f0a783
%{?scl:%scl_package mongodb}
f0a783
%{!?scl:%global pkg_name %{name}}
f0a783
# mongod daemon
f0a783
%global daemon mongod
f0a783
# mongos daemon
f0a783
%global daemonshard mongos
f0a783
f0a783
# Regression tests may take a long time (many cores recommended), skip them by
f0a783
# passing --nocheck to rpmbuild or by setting runselftest to 0 if defining
f0a783
# --nocheck is not possible (e.g. in koji build)
f0a783
%{!?runselftest:%global runselftest 1}
f0a783
f0a783
# Python SCL (to run scons with python2.7; test subpackage)
f0a783
%global scl_python python27
f0a783
%global scl_python_prefix %{scl_python}-
f0a783
f0a783
# Convert SCL name into uppercase including - to _ conversion
f0a783
%if 0%{?scl:1}
f0a783
%global scl_upper %{lua:print(string.upper(string.gsub(rpm.expand("%{scl}"), "-", "_")))}
f0a783
%global _initddir %{_root_initddir}
f0a783
%if %runselftest
f0a783
%global buildscls %{scl} %{scl_python}
f0a783
%else
f0a783
%global buildscls %{scl}
f0a783
%endif
f0a783
%endif
f0a783
f0a783
Name:           %{?scl_prefix}mongodb
f0a783
Version:        2.6.9
f0a783
Release:        1%{?dist}
f0a783
Summary:        High-performance, schema-free document-oriented database
f0a783
Group:          Applications/Databases
f0a783
License:        AGPLv3 and zlib and ASL 2.0
f0a783
# util/md5 is under the zlib license
f0a783
# manpages and bson are under ASL 2.0
f0a783
# everything else is AGPLv3
f0a783
URL:            http://www.mongodb.org
f0a783
f0a783
Source0:        http://fastdl.mongodb.org/src/%{pkg_name}-src-r%{version}.tar.gz
f0a783
Source1:        %{pkg_name}-tmpfile
f0a783
Source2:        %{pkg_name}.logrotate
f0a783
Source3:        %{daemon}.conf
f0a783
Source4:        %{daemon}.init
f0a783
Source5:        %{daemon}.service
f0a783
Source6:        %{daemon}.sysconf
f0a783
Source7:        %{daemonshard}.conf
f0a783
Source8:        %{daemonshard}.init
f0a783
Source9:        %{daemonshard}.service
f0a783
Source10:       %{daemonshard}.sysconf
f0a783
Source11:       README
f0a783
Source12:       daemon-scl-helper.sh
f0a783
f0a783
# https://bugzilla.redhat.com/show_bug.cgi?id=958014
f0a783
# need to work on getting this properly patched upstream
f0a783
# -> same work is made in prep section
f0a783
#Patch7:         mongodb-2.4.5-pass-flags.patch
f0a783
f0a783
# compile with GCC 4.8
f0a783
# -> upstream solved it, by default -Wno-unused-local-typedefs is used
f0a783
#Patch8:         mongodb-2.4.5-gcc48.patch
f0a783
f0a783
Requires:       %{?scl_prefix_v8}v8 >= 3.14.5.10
f0a783
%ifarch %{arm}
f0a783
BuildRequires:  gcc >= 4.7
f0a783
%endif
f0a783
BuildRequires:  pcre-devel
f0a783
%if 0%{?fedora} >= 15 || 0%{?rhel} >= 7
f0a783
BuildRequires:  boost-devel >= 1.44
f0a783
%else
f0a783
BuildRequires:  %{?scl_prefix}boost-devel >= 1.44
f0a783
%endif
f0a783
# Provides tcmalloc
f0a783
BuildRequires:  %{?scl_prefix}gperftools-devel
f0a783
BuildRequires:  snappy-devel
f0a783
BuildRequires:  %{?scl_prefix_v8}v8-devel
f0a783
BuildRequires:  %{?scl_prefix}yaml-cpp-devel
f0a783
BuildRequires:  %{?scl_prefix}scons
f0a783
BuildRequires:  openssl-devel
f0a783
BuildRequires:  libpcap-devel
f0a783
BuildRequires:  %{?scl_prefix}libstemmer-devel
f0a783
%if 0%{?fedora} >= 15 || 0%{?rhel} >= 7
f0a783
BuildRequires:  systemd
f0a783
%endif
f0a783
%if %runselftest
f0a783
%ifarch %{ix86} x86_64
f0a783
BuildRequires:  %{?scl_python_prefix}python-pymongo
f0a783
%endif
f0a783
%endif
f0a783
f0a783
%{?scl:Requires:%scl_runtime}
f0a783
f0a783
# Mongodb must run on a little-endian CPU (see bug #630898)
f0a783
ExcludeArch:    ppc ppc64 %{sparc} s390 s390x
f0a783
f0a783
%description
f0a783
Mongo (from "humongous") is a high-performance, open source, schema-free
f0a783
document-oriented database. MongoDB is written in C++ and offers the following
f0a783
features:
f0a783
    * Collection oriented storage: easy storage of object/JSON-style data
f0a783
    * Dynamic queries
f0a783
    * Full index support, including on inner objects and embedded arrays
f0a783
    * Query profiling
f0a783
    * Replication and fail-over support
f0a783
    * Efficient storage of binary data including large objects (e.g. photos
f0a783
    and videos)
f0a783
    * Auto-sharding for cloud-level scalability (currently in early alpha)
f0a783
    * Commercial Support Available
f0a783
f0a783
A key goal of MongoDB is to bridge the gap between key/value stores (which are
f0a783
fast and highly scalable) and traditional RDBMS systems (which are deep in
f0a783
functionality).
f0a783
f0a783
f0a783
%package server
f0a783
Summary:        MongoDB server, sharding server and support scripts
f0a783
Group:          Applications/Databases
f0a783
Requires(pre):  shadow-utils
f0a783
Requires:       %{?scl_prefix_v8}v8
f0a783
%if 0%{?fedora} >= 15 || 0%{?rhel} >= 7
f0a783
Requires(post): systemd-units
f0a783
Requires(preun): systemd-units
f0a783
Requires(postun): systemd-units
f0a783
%else
f0a783
Requires(post): chkconfig
f0a783
Requires(preun): chkconfig
f0a783
Requires(postun): initscripts
f0a783
%endif
f0a783
f0a783
%{?scl:Requires:%scl_runtime}
f0a783
f0a783
%description server
f0a783
This package provides the mongo server software, mongo sharding server
f0a783
software, default configuration files, and init scripts.
f0a783
f0a783
f0a783
%ifarch %{ix86} x86_64
f0a783
%package test
f0a783
Summary:          MongoDB test suite
f0a783
Group:            Applications/Databases
f0a783
Requires:         %{name}%{?_isa} = %{version}-%{release}
f0a783
Requires:         %{name}-server%{?_isa} = %{version}-%{release}
f0a783
Requires:         %{?scl_python_prefix}python-pymongo
f0a783
f0a783
%{?scl:Requires:%scl_runtime}
f0a783
f0a783
%description test
f0a783
This package contains the regression test suite distributed with
f0a783
the MongoDB sources.
f0a783
%endif
f0a783
f0a783
%prep
f0a783
%setup -q -n mongodb-src-r%{version}
f0a783
f0a783
# Fixed in upstream - version 2.7.3
f0a783
sed -i -r "s|(conf.FindSysLibDep\(\"yaml\", \[\"yaml)(\"\]\))|\1-cpp\2|" SConstruct
f0a783
f0a783
# Use optflags and __global_ldflags, disable -fPIC
f0a783
#(opt=$(echo "%{?optflags}" | sed -r -e 's| |","|g' )
f0a783
#sed -i -r -e "s|(CCFLAGS=\[)\"-fPIC\"|\1\"$opt\"|" SConstruct)
f0a783
#(opt=$(echo "%{?__global_ldflags}" | sed -r -e 's| |","|g' )
f0a783
#sed -i -r -e "s|(LINKFLAGS=\[)\"-fPIC\"|\1\"$opt\"|" SConstruct)
f0a783
f0a783
# CRLF -> LF
f0a783
sed -i 's/\r//' README
f0a783
f0a783
# disable propagation of $TERM env var into the Scons build system
f0a783
sed -i -r "s|(for key in \('HOME'), 'TERM'(\):)|\1\2|" SConstruct
f0a783
f0a783
# disable run test and perftest programs
f0a783
sed -i -r "s|^([[:space:]]*)(if suite == 'test':)|\1\2\n\1    continue|"      buildscripts/smoke.py
f0a783
sed -i -r "s|^([[:space:]]*)(elif suite == 'perf':)|\1\2\n\1    continue|"    buildscripts/smoke.py
f0a783
f0a783
# by default use system mongod, mongos and mongo binaries
f0a783
sed -i -r "s|(default=os.path.join\()mongo_repo(, 'mongod'\))|\1'%{_bindir}'\2|"   buildscripts/smoke.py
f0a783
sed -i -r "s|(default=os.path.join\()mongo_repo(, 'mongo'\))|\1'%{_bindir}'\2|"    buildscripts/smoke.py
f0a783
sed -i -r "s|(os.path.join\()mongo_repo(, program)|\1'%{_bindir}'\2|"              buildscripts/smoke.py
f0a783
f0a783
# set default data prefix
f0a783
sed -i -r "s|(smoke_db_prefix = ')'|\1var'|"                           buildscripts/smoke.py
f0a783
sed -i -r "s|^([[:space:]]*)(set_globals\(options, tests\))$|\1\2\n\1global failfile\n\1\
f0a783
failfile = os.path.join\(os.path.join\(mongo_repo, smoke_db_prefix\), 'failfile.smoke'\)|"    buildscripts/smoke.py
f0a783
f0a783
# copy them (we will change their content)
f0a783
cp %{SOURCE1} %{SOURCE2} %{SOURCE3} %{SOURCE4} %{SOURCE5} \
f0a783
  %{SOURCE6} %{SOURCE7} %{SOURCE8} %{SOURCE9} %{SOURCE10} %{SOURCE11} ./
f0a783
f0a783
for f in %{SOURCE4} %{SOURCE8}; do
f0a783
  sed -i -r -e "s|/usr/bin|%{_bindir}|g" \
f0a783
    -e "s|/var(/run/mongodb)|%{_localstatedir}\1|g" \
f0a783
    -e "s|/var(/log/mongodb)|%{_localstatedir}\1|g" \
f0a783
    -e "s|/etc(/mongo[ds]\.conf)|%{_sysconfdir}\1|g" \
f0a783
    -e "s|/etc(/sysconfig)|%{_sysconfdir}\1|g" \
f0a783
    -e "s|/var(/lock)|%{_localstatedir}\1|g" \
f0a783
    -e "s|__SCL_SCRIPTS__|%{?_scl_scripts}|g" \
f0a783
    -e "s|__list of scls__|\$%{scl_upper}_SCLS_ENABLED|g" \
f0a783
      "$(basename "$f")"
f0a783
done
f0a783
f0a783
sed -i -r -e "s|/var(/log/mongodb)|%{_localstatedir}\1|g" \
f0a783
  -e "s|/var(/run/mongodb)|%{_localstatedir}\1|g" \
f0a783
  "$(basename %{SOURCE2})"
f0a783
f0a783
for f in %{SOURCE3} %{SOURCE7}; do
f0a783
  sed -i -r -e "s|/var/lib(/mongodb)|%{_sharedstatedir}\1|g" \
f0a783
    -e "s|/var(/run/mongodb)|%{_localstatedir}\1|g" \
f0a783
    -e "s|/var(/log/mongodb)|%{_localstatedir}\1|g" \
f0a783
    "$(basename "$f")"
f0a783
done
f0a783
f0a783
for f in %{SOURCE6} %{SOURCE10}; do
f0a783
  sed -i -r -e "s|/etc(/mongo[ds]\.conf)|%{_sysconfdir}\1|g" \
f0a783
    "$(basename "$f")"
f0a783
done
f0a783
f0a783
sed -i -r -e "s|(/run/mongodb)|%{_localstatedir}\1|g" \
f0a783
  "$(basename %{SOURCE1})"
f0a783
f0a783
for f in %{SOURCE5} %{SOURCE9}; do
f0a783
  #FIXME check if the _SCLS_ENABLED var isn't empty!
f0a783
  sed -i -r -e "s|/var(/run/mongodb)|%{_localstatedir}\1|g" \
f0a783
    -e "s|/etc(/sysconfig)|%{_sysconfdir}\1|g" \
f0a783
    -e "s|/usr/bin(/mongo[ds])|%{_bindir}\1|g" \
f0a783
    -e "s|__SCL_SCRIPTS__|%{?_scl_scripts}|g" \
f0a783
    -e "s|__list of scls__|\$%{scl_upper}_SCLS_ENABLED|g" \
f0a783
    -e "s|@libexecdir@|%{_libexecdir}|" \
f0a783
      "$(basename "$f")"
f0a783
done
f0a783
f0a783
sed -i -r -e "s|(/usr/share)|%{_datarootdir}|g" \
f0a783
  "$(basename %{SOURCE11})"
f0a783
f0a783
f0a783
%build
f0a783
# see add_option() calls in SConstruct for options
f0a783
%{?scl:scl enable %{buildscls} - << "EOF"}
f0a783
scons all \
f0a783
        %{?_smp_mflags} \
f0a783
        --use-system-all  \
f0a783
        --usev8 \
f0a783
        --nostrip \
f0a783
        --ssl \
f0a783
        --propagate-shell-environment
f0a783
f0a783
%{?scl:EOF}
f0a783
f0a783
f0a783
%install
f0a783
# NOTE: If install flags are not EXACTLY the same as in %%build,
f0a783
#   mongodb will be built twice!
f0a783
%{?scl:scl enable %{buildscls} - << "EOF"}
f0a783
scons install \
f0a783
        %{?_smp_mflags} \
f0a783
        --use-system-all \
f0a783
        --usev8 \
f0a783
        --nostrip \
f0a783
        --ssl \
f0a783
        --propagate-shell-environment \
f0a783
        --prefix=%{buildroot}%{_prefix}
f0a783
f0a783
%{?scl:EOF}
f0a783
f0a783
mkdir -p %{buildroot}%{_sharedstatedir}/%{pkg_name}
f0a783
mkdir -p %{buildroot}%{_localstatedir}/log/%{pkg_name}
f0a783
mkdir -p %{buildroot}%{_localstatedir}/run/%{pkg_name}
f0a783
mkdir -p %{buildroot}%{_sysconfdir}/sysconfig
f0a783
f0a783
%if 0%{?fedora} >= 15 || 0%{?rhel} >= 7
f0a783
install -p -D -m 644 "$(basename %{SOURCE1})"  %{buildroot}%{_tmpfilesdir}/%{?scl_prefix}%{pkg_name}.conf
f0a783
install -p -D -m 644 "$(basename %{SOURCE5})"  %{buildroot}%{_unitdir}/%{?scl_prefix}%{daemon}.service
f0a783
install -p -D -m 644 "$(basename %{SOURCE9})"  %{buildroot}%{_unitdir}/%{?scl_prefix}%{daemonshard}.service
f0a783
f0a783
mkdir -p %{buildroot}%{_libexecdir}
f0a783
install -p -m 755     %{SOURCE12}              %{buildroot}%{_libexecdir}/mongodb-scl-helper
f0a783
%else
f0a783
install -p -D -m 755 "$(basename %{SOURCE4})"  %{buildroot}%{_initddir}/%{?scl_prefix}%{daemon}
f0a783
install -p -D -m 755 "$(basename %{SOURCE8})"  %{buildroot}%{_initddir}/%{?scl_prefix}%{daemonshard}
f0a783
%endif
f0a783
install -p -D -m 644 "$(basename %{SOURCE2})"  %{buildroot}%{?scl:%_root_sysconfdir}%{!?scl:%_sysconfdir}/logrotate.d/%{?scl_prefix}%{pkg_name}
f0a783
install -p -D -m 644 "$(basename %{SOURCE3})"  %{buildroot}%{_sysconfdir}/%{daemon}.conf
f0a783
install -p -D -m 644 "$(basename %{SOURCE7})"  %{buildroot}%{_sysconfdir}/%{daemonshard}.conf
f0a783
install -p -D -m 644 "$(basename %{SOURCE6})"  %{buildroot}%{_sysconfdir}/sysconfig/%{daemon}
f0a783
install -p -D -m 644 "$(basename %{SOURCE10})" %{buildroot}%{_sysconfdir}/sysconfig/%{daemonshard}
f0a783
f0a783
install -d -m 755            %{buildroot}%{_mandir}/man1
f0a783
install -p -m 644 debian/*.1 %{buildroot}%{_mandir}/man1/
f0a783
f0a783
%ifarch %{ix86} x86_64
f0a783
mkdir -p %{buildroot}%{_datadir}/%{pkg_name}-test
f0a783
mkdir -p %{buildroot}%{_datadir}/%{pkg_name}-test/var
f0a783
install -p -D -m 555    buildscripts/smoke.py   %{buildroot}%{_datadir}/%{pkg_name}-test/
f0a783
install -p -D -m 444    buildscripts/cleanbb.py %{buildroot}%{_datadir}/%{pkg_name}-test/
f0a783
install -p -D -m 444    buildscripts/utils.py   %{buildroot}%{_datadir}/%{pkg_name}-test/
f0a783
f0a783
cp -R                   jstests                 %{buildroot}%{_datadir}/%{pkg_name}-test/
f0a783
f0a783
install -p -D -m 444    "$(basename %{SOURCE11})"           %{buildroot}%{_datadir}/%{pkg_name}-test/
f0a783
f0a783
f0a783
%check
f0a783
# More info about testing:
f0a783
# http://www.mongodb.org/about/contributors/tutorial/test-the-mongodb-server/
f0a783
# Run new-style unit tests (*_test files)
f0a783
%if %runselftest
f0a783
%{?scl:scl enable %{buildscls} - << "EOF"}
f0a783
cd %{_builddir}/%{pkg_name}-src-r%{version}
f0a783
while read unittest
f0a783
do
f0a783
    ./$unittest
f0a783
    if [ $? -ne 0 ]
f0a783
    then
f0a783
        exit 1
f0a783
    fi
f0a783
done < ./build/unittests.txt
f0a783
f0a783
# Run JavaScript integration tests
f0a783
mkdir ./var
f0a783
buildscripts/smoke.py --smoke-db-prefix ./var --continue-on-failure --mongo=%{buildroot}%{_bindir}/mongo --mongod=%{buildroot}%{_bindir}/%{daemon} --nopreallocj jsCore
f0a783
rm -Rf ./var
f0a783
%{?scl:EOF}
f0a783
%endif
f0a783
%endif
f0a783
f0a783
%post -p /sbin/ldconfig
f0a783
f0a783
f0a783
%postun -p /sbin/ldconfig
f0a783
f0a783
f0a783
%pre server
f0a783
getent group  %{pkg_name} >/dev/null || groupadd -r %{pkg_name}
f0a783
# TODO _sharedstatedir
f0a783
getent passwd %{pkg_name} >/dev/null || useradd -r -g %{pkg_name} -u 184 \
f0a783
  -d /var/lib/%{pkg_name} -s /sbin/nologin \
f0a783
  -c "MongoDB Database Server" %{pkg_name}
f0a783
exit 0
f0a783
f0a783
f0a783
%post server
f0a783
%if 0%{?scl:1}
f0a783
# handle SELinux context for files outside of normal location
f0a783
%if 0%{?fedora} >= 15 || 0%{?rhel} >= 7
f0a783
semanage fcontext -a -e %{_unitdir}/%{daemon}.service %{_unitdir}/%{?scl_prefix}%{daemon}.service >/dev/null 2>&1 || :
f0a783
semanage fcontext -a -e %{_unitdir}/%{daemonshard}.service %{_unitdir}/%{?scl_prefix}%{daemonshard}.service >/dev/null 2>&1 || :
f0a783
selinuxenabled && load_policy || :
f0a783
restorecon %{_unitdir}/%{?scl_prefix}* >/dev/null 2>&1 || :
f0a783
%else
f0a783
semanage fcontext -a -e %{_initddir}/%{daemon} %{_initddir}/%{?scl_prefix}%{daemon} >/dev/null 2>&1 || :
f0a783
semanage fcontext -a -e %{_initddir}/%{daemon} %{_initddir}/%{?scl_prefix}%{daemonshard} >/dev/null 2>&1 || :
f0a783
selinuxenabled && load_policy || :
f0a783
restorecon %{_initddir}/%{?scl_prefix}* >/dev/null 2>&1 || :
f0a783
%endif
f0a783
restorecon -r %{?_scl_root}/ >/dev/null 2>&1 || :
f0a783
restorecon -R %{_sharedstatedir}/%{pkg_name}
f0a783
restorecon -R %{_localstatedir}/log/%{pkg_name}
f0a783
restorecon -R %{_localstatedir}/run/%{pkg_name}
f0a783
%endif
f0a783
f0a783
%if 0%{?fedora} >= 15 || 0%{?rhel} >= 7
f0a783
  # https://fedoraproject.org/wiki/Packaging:ScriptletSnippets#Systemd
f0a783
  # daemon-reload
f0a783
  %systemd_postun
f0a783
%else
f0a783
  /sbin/chkconfig --add %{?scl_prefix}%{daemon}
f0a783
  /sbin/chkconfig --add %{?scl_prefix}%{daemonshard}
f0a783
%endif
f0a783
f0a783
f0a783
%preun server
f0a783
if [ "$1" = 0 ]; then
f0a783
%if 0%{?fedora} >= 15 || 0%{?rhel} >= 7
f0a783
  # --no-reload disable; stop
f0a783
  %systemd_preun %{?scl_prefix}%{daemon}.service
f0a783
  %systemd_preun %{?scl_prefix}%{daemonshard}.service
f0a783
%else
f0a783
  /sbin/service %{?scl_prefix}%{daemon}       stop >/dev/null 2>&1
f0a783
  /sbin/service %{?scl_prefix}%{daemonshard}  stop >/dev/null 2>&1
f0a783
  /sbin/chkconfig --del %{?scl_prefix}%{daemon}
f0a783
  /sbin/chkconfig --del %{?scl_prefix}%{daemonshard}
f0a783
%endif
f0a783
fi
f0a783
f0a783
f0a783
%postun server
f0a783
%if 0%{?fedora} >= 15 || 0%{?rhel} >= 7
f0a783
  # daemon-reload
f0a783
  %systemd_postun
f0a783
%endif
f0a783
if [ "$1" -ge 1 ] ; then
f0a783
%if 0%{?fedora} >= 15 || 0%{?rhel} >= 7
f0a783
  # try-restart
f0a783
  %systemd_postun_with_restart %{?scl_prefix}%{daemon}.service
f0a783
  %systemd_postun_with_restart %{?scl_prefix}%{daemonshard}.service
f0a783
%else
f0a783
  /sbin/service %{?scl_prefix}%{daemon}       condrestart >/dev/null 2>&1 || :
f0a783
  /sbin/service %{?scl_prefix}%{daemonshard}  condrestart >/dev/null 2>&1 || :
f0a783
%endif
f0a783
fi
f0a783
f0a783
f0a783
%files
f0a783
%{!?_licensedir:%global license %%doc}
f0a783
%license GNU-AGPL-3.0.txt APACHE-2.0.txt
f0a783
%doc README
f0a783
%{_bindir}/bsondump
f0a783
%{_bindir}/mongo
f0a783
%{_bindir}/mongodump
f0a783
%{_bindir}/mongoexport
f0a783
%{_bindir}/mongofiles
f0a783
%{_bindir}/mongoimport
f0a783
%{_bindir}/mongooplog
f0a783
%{_bindir}/mongoperf
f0a783
%{_bindir}/mongorestore
f0a783
%{_bindir}/mongosniff
f0a783
%{_bindir}/mongostat
f0a783
%{_bindir}/mongotop
f0a783
f0a783
%{_mandir}/man1/bsondump.1*
f0a783
%{_mandir}/man1/mongo.1*
f0a783
%{_mandir}/man1/mongodump.1*
f0a783
%{_mandir}/man1/mongoexport.1*
f0a783
%{_mandir}/man1/mongofiles.1*
f0a783
%{_mandir}/man1/mongoimport.1*
f0a783
%{_mandir}/man1/mongooplog.1*
f0a783
%{_mandir}/man1/mongoperf.1*
f0a783
%{_mandir}/man1/mongorestore.1*
f0a783
%{_mandir}/man1/mongosniff.1*
f0a783
%{_mandir}/man1/mongostat.1*
f0a783
%{_mandir}/man1/mongotop.1*
f0a783
f0a783
f0a783
%files server
f0a783
%{_bindir}/mongod
f0a783
%{_bindir}/mongos
f0a783
%{_mandir}/man1/mongod.1*
f0a783
%{_mandir}/man1/mongos.1*
f0a783
f0a783
%dir %attr(0750, %{pkg_name}, root) %{_sharedstatedir}/%{pkg_name}
f0a783
%dir %attr(0750, %{pkg_name}, root) %{_localstatedir}/log/%{pkg_name}
f0a783
%dir %attr(0750, %{pkg_name}, root) %{_localstatedir}/run/%{pkg_name}
f0a783
%config(noreplace) %{?scl:%_root_sysconfdir}%{!?scl:%_sysconfdir}/logrotate.d/%{?scl_prefix}%{pkg_name}
f0a783
%config(noreplace) %{_sysconfdir}/%{daemon}.conf
f0a783
%config(noreplace) %{_sysconfdir}/%{daemonshard}.conf
f0a783
%config(noreplace) %{_sysconfdir}/sysconfig/%{daemon}
f0a783
%config(noreplace) %{_sysconfdir}/sysconfig/%{daemonshard}
f0a783
%if 0%{?fedora} >= 15 || 0%{?rhel} >= 7
f0a783
%{_tmpfilesdir}/%{?scl_prefix}%{pkg_name}.conf
f0a783
%{_unitdir}/*.service
f0a783
%{_libexecdir}/mongodb-scl-helper
f0a783
%else
f0a783
%{_initddir}/%{?scl_prefix}%{daemon}
f0a783
%{_initddir}/%{?scl_prefix}%{daemonshard}
f0a783
%endif
f0a783
f0a783
f0a783
%ifarch %{ix86} x86_64
f0a783
%files test
f0a783
%doc %{_datadir}/%{pkg_name}-test/README
f0a783
%dir %attr(0755, %{pkg_name}, root) %{_datadir}/%{pkg_name}-test
f0a783
%dir %attr(0755, %{pkg_name}, root) %{_datadir}/%{pkg_name}-test/var
f0a783
%dir %attr(0755, %{pkg_name}, root) %{_datadir}/%{pkg_name}-test/jstests
f0a783
%{_datadir}/%{pkg_name}-test/smoke.*
f0a783
%{_datadir}/%{pkg_name}-test/cleanbb.*
f0a783
%{_datadir}/%{pkg_name}-test/utils.*
f0a783
%{_datadir}/%{pkg_name}-test/jstests/*
f0a783
%endif
f0a783
f0a783
%changelog
f0a783
* Wed May 13 2015 Marek Skalicky <mskalick@redhat.com> 2.6.9-1
f0a783
- Correct SELinux type for slc-helper script 
f0a783
  Resolves: #1202013
f0a783
- Fix mongodb user HOME (Resolves: #1206157)
f0a783
- Upgrade to latest minor release 2.6.9 (Resolves: #1207118)
f0a783
f0a783
* Thu Mar 19 2015 Marek Skalicky <mskalick@redhat.com> 2.6.8-4
f0a783
- Use mongod_initrc_exex_t SELinux type for slc-helper script
f0a783
f0a783
* Thu Mar 19 2015 Marek Skalicky <mskalick@redhat.com> 2.6.8-3
f0a783
- Fixed SELinux context
f0a783
- Renamed scl-helper script
f0a783
f0a783
* Thu Mar 19 2015 Marek Skalicky <mskalick@redhat.com> 2.6.8-2
f0a783
- Resolves: #1202013 (Daemon run with proper SELinux context)
f0a783
f0a783
* Mon Mar 2 2015 Marek Skalicky <mskalick@redhat.com> 2.6.8-1
f0a783
- Upgrade to version 2.6.8
f0a783
- Resolves: #1194412 (MongoDB Security & Defaults)
f0a783
f0a783
* Fri Feb 27 2015 Honza Horak <hhorak@redhat.com> - 2.6.7-9
f0a783
- Remove NFS register feature for questionable usage for DBs
f0a783
- Allow to skip tests during build
f0a783
- Simplify few SCL macros
f0a783
f0a783
* Thu Feb 26 2015 Marek Skalicky <mskalick@redhat.com> 2.6.7-8
f0a783
- Resolves: #1075736 (initscript doesn't respect LSB)
f0a783
f0a783
* Tue Jan 27 2015 Honza Horak <hhorak@redhat.com> - 2.6.7-7
f0a783
- Use 0755 on var directory for tests, mark README as doc
f0a783
f0a783
* Tue Jan 27 2015 Honza Horak <hhorak@redhat.com> - 2.6.7-6
f0a783
- Run selinux magic in post, not preun
f0a783
- Create lock file directory
f0a783
f0a783
* Tue Jan 27 2015 Honza Horak <hhorak@redhat.com> - 2.6.7-5
f0a783
- Add removed $ by mistake
f0a783
- Create dir for config files and data in scl register
f0a783
f0a783
* Tue Jan 27 2015 Honza Horak <hhorak@redhat.com> - 2.6.7-4
f0a783
- Implement scl register support
f0a783
f0a783
* Mon Jan 26 2015 Honza Horak <hhorak@redhat.com> - 2.6.7-3
f0a783
- Convert - to _ when translating to uppercase scl name
f0a783
- Do not use & in the init script if daemon call is used
f0a783
f0a783
* Fri Jan 23 2015 Marek Skalicky <mskalick@redhat.com> 2.6.7-2
f0a783
- Changed name of conf and log files
f0a783
- Added service-environment into mongodb package
f0a783
- Changed location of log files
f0a783
f0a783
* Mon Jan 19 2015 Marek Skalicky <mskalick@redhat.com> 2.6.7-1
f0a783
- Merged changes from Fedora Rawhide
f0a783
f0a783
* Tue Nov 18 2014 Marek Skalicky <mskalick@redhat.com> 2.6.5-5
f0a783
- Changed and cleaned up requirements
f0a783
f0a783
* Fri Nov 14 2014 Marek Skalicky <mskalick@redhat.com> 2.6.5-4
f0a783
- Changed v8 dependency to SCL v8314
f0a783
- Added MONGODB_OPTIONS options variable into *.init files
f0a783
f0a783
* Fri Nov 7 2014 Marek Skalicky <mskalick@redhat.com> 2.6.5-3
f0a783
- Ported to SCL
f0a783
f0a783
* Thu Oct 9 2014 Marek Skalicky <mskalick@redhat.com> 2.6.5-2
f0a783
- Corrected/Finished renaming services and pid files
f0a783
- Changed default mongos ports
f0a783
f0a783
* Thu Oct 9 2014 Marek Skalicky <mskalick@redhat.com> 2.6.5-1
f0a783
- Updated to version 2.6.5
f0a783
- Renamed sysmted service files (to reflect mainstream names)
f0a783
f0a783
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6.3-2
f0a783
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
f0a783
f0a783
* Wed Jul  9 2014 Jan Pacner <jpacner@redhat.com> - 2.6.3-1
f0a783
- Resolves: #1103163 new major release with major differences
f0a783
- add sharding server daemon init/unit files (and rename existing)
f0a783
- use ld library path from env
f0a783
- spec cleanup/clarification
f0a783
- Resolves: #1047858 (RFE: Turn on PrivateTmp and relocate unix socket file)
f0a783
- Related: #963824 (bloated binaries; splitting according to latest upstream)
f0a783
f0a783
* Sat Jun  7 2014 Peter Robinson <pbrobinson@fedoraproject.org> 2.4.9-7
f0a783
- aarch64 now has gperftools
f0a783
f0a783
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.9-6
f0a783
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
f0a783
f0a783
* Fri May 23 2014 Petr Machata <pmachata@redhat.com> - 2.4.9-5
f0a783
- Rebuild for boost 1.55.0
f0a783
f0a783
* Fri May 23 2014 David Tardon <dtardon@redhat.com> - 2.4.9-4
f0a783
- rebuild for boost 1.55.0
f0a783
f0a783
f0a783
* Fri Feb 14 2014 T.C. Hollingsworth <tchollingsworth@gmail.com> - 2.4.9-3
f0a783
- rebuild for icu-53 (via v8)
f0a783
f0a783
* Tue Feb 04 2014 Matthias Saou <matthias@saou.eu> 2.4.9-2
f0a783
- Merge el6 branch changes (we shouldn't start diverging now).
f0a783
- Re-introduce conditionals, but to still support EL6.
f0a783
- Include run directory only for EL6.
f0a783
- Don't own the /usr/include directory.
f0a783
- Make libmongodb requirement arch specific (#1010535).
f0a783
- Fix multiple_occurrences error from duplicate --quiet options (#1022476).
f0a783
- Fix broken v8 version specific requirement (#1027157).
f0a783
f0a783
* Sun Jan 19 2014 Peter Robinson <pbrobinson@fedoraproject.org> 2.4.9-1
f0a783
- Update to 2.4.9
f0a783
- Drop old < F-15 conditionals
f0a783
- Cleanup Spec
f0a783
- Run ldconfig for the lib package, not binary package
f0a783
- Don't make some directories world readable (RHBZ 857926)
f0a783
f0a783
* Mon Jan 06 2014 Jan Pacner <jpacner@redhat.com> - 2.4.6-3
f0a783
- Resolves: #1027157 (mongo shell sefgaults when using arbitrary v8 version)
f0a783
f0a783
* Thu Nov 28 2013 Jan Pacner <jpacner@redhat.com> - 2.4.8-1
f0a783
- new release
f0a783
- Resolves: #1010712 (LimitNOFILE)
f0a783
- make sysconf options being respected
f0a783
f0a783
* Wed Aug 21 2013 Troy Dawson <tdawson@redhat.com> - 2.4.6-1
f0a783
- Updated to 2.4.6
f0a783
- Added Requires: v8  (#971595)
f0a783
f0a783
* Sun Jul 28 2013 Petr Machata <pmachata@redhat.com> - 2.4.5-6
f0a783
- Rebuild for boost 1.54.0
f0a783
f0a783
* Sat Jul 27 2013 pmachata@redhat.com - 2.4.5-5
f0a783
- Rebuild for boost 1.54.0
f0a783
f0a783
* Fri Jul 12 2013 Troy Dawson <tdawson@redhat.com> - 2.4.5-4
f0a783
- Added Provides: mongodb-devel to libmongodb-devel
f0a783
f0a783
* Fri Jul 12 2013 Troy Dawson <tdawson@redhat.com> - 2.4.5-3
f0a783
- Removed hardening section.  Currently doesn't work with 2.4.x
f0a783
  Wasn't really being applied when we thought it was.
f0a783
- Cleaned up RHEL5 spec leftovers
f0a783
f0a783
* Thu Jul 11 2013 David Marlin <dmarlin@redhat.com> - 2.4.5-2
f0a783
- Updated arm patches to work with 2.4.x
f0a783
f0a783
* Mon Jul 08 2013 Troy Dawson <tdawson@redhat.com> - 2.4.5-1
f0a783
- Update to version 2.4.5 to fix CVE-2013-4650
f0a783
- Patch3 fixed upstream - https://jira.mongodb.org/browse/SERVER-5575
f0a783
- Patch4 fixed upstream - https://jira.mongodb.org/browse/SERVER-6514
f0a783
- Put lib dir in correct place
f0a783
- no longer have to remove duplicate headers
f0a783
f0a783
* Sun Jul 07 2013 Johan Hedin <johan.o.hedin@gmail.com> - 2.4.4-4
f0a783
- Added patch to make mongodb compile with gcc 4.8
f0a783
f0a783
* Wed Jul 03 2013 Johan Hedin <johan.o.hedin@gmail.com> - 2.4.4-3
f0a783
- Added missing daemon name to the preun script for the server
f0a783
- Fixed init script so that it does not kill the server on shutdown
f0a783
- Renamed mongodb-devel to libmongdb-devel
f0a783
- Dependency cleanup between the sub packages
f0a783
- Moved Requires for the server to the server sub package
f0a783
- Using %%{_unitdir} macro for where to put systemd unit files
f0a783
- Fixed rpmlint warnings regarding %% in comments and mixed tabs/spaces
f0a783
- Run systemd-tmpfiles --create mongodb.conf in post server
f0a783
f0a783
* Mon Jul 01 2013 Troy Dawson <tdawson@redhat.com> - 2.4.4-2
f0a783
- Turn on hardened build (#958014)
f0a783
- Apply patch to accept env flags
f0a783
f0a783
* Sun Jun 30 2013 Johan Hedin <johan.o.hedin@gmail.com> - 2.4.4-1
f0a783
- Bumped version up to 2.4.4
f0a783
- Rebased the old 2.2 patches that are still needed to 2.4.4
f0a783
- Added some new patches to build 2.4.4 properly
f0a783
f0a783
* Sat May 04 2013 David Marlin <dmarlin@redhat.com> - 2.2.4-2
f0a783
- Updated patch to work on both ARMv5 and ARMv7 (#921226)
f0a783
f0a783
* Thu May 02 2013 Troy Dawson <tdawson@redhat.com> - 2.2.4-1
f0a783
- Bumped version up to 2.2.4
f0a783
- Refreshed all patches to 2.2.4
f0a783
f0a783
* Fri Apr 26 2013 David Marlin <dmarlin@redhat.com> - 2.2.3-5
f0a783
- Patch to build on ARM (#921226)
f0a783
f0a783
* Wed Mar 27 2013 Troy Dawson <tdawson@redhat.com> - 2.2.3-4
f0a783
- Fix for CVE-2013-1892
f0a783
f0a783
* Sun Feb 10 2013 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 2.2.3-3
f0a783
- Rebuild for Boost-1.53.0
f0a783
f0a783
* Sat Feb 09 2013 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 2.2.3-2
f0a783
- Rebuild for Boost-1.53.0
f0a783
f0a783
* Tue Feb 05 2013 Troy Dawson <tdawson@redhat.com> - 2.2.3-1
f0a783
- Update to version 2.2.3
f0a783
f0a783
* Mon Jan 07 2013 Troy Dawson <tdawson@redhat.com> - 2.2.2-2
f0a783
- remove duplicate headers (#886064)
f0a783
f0a783
* Wed Dec 05 2012 Troy Dawson <tdawson@redhat.com> - 2.2.2-1
f0a783
- Updated to version 2.2.2
f0a783
f0a783
* Tue Nov 27 2012 Troy Dawson <tdawson@redhat.com> - 2.2.1-3
f0a783
- Add ssl build option
f0a783
- Using the reserved mongod UID for the useradd
f0a783
- mongod man page in server package (#880351)
f0a783
- added optional MONGODB_OPTIONS to init script
f0a783
f0a783
* Wed Oct 31 2012 Nathaniel McCallum <nathaniel@natemccallum.com> - 2.2.1-2
f0a783
- Make sure build and install flags are the same
f0a783
- Actually remove the js patch file
f0a783
f0a783
* Wed Oct 31 2012 Nathaniel McCallum <nathaniel@natemccallum.com> - 2.2.1-1
f0a783
- Remove fork fix patch (fixed upstream)
f0a783
- Remove pcre patch (fixed upstream)
f0a783
- Remove mozjs patch (now using v8 upstream)
f0a783
- Update to 2.2.1
f0a783
f0a783
* Tue Oct 02 2012 Troy Dawson <tdawson@redhat.com> - 2.2.0-6
f0a783
- full flag patch to get 32 bit builds to work
f0a783
f0a783
* Tue Oct 02 2012 Troy Dawson <tdawson@redhat.com> - 2.2.0-5
f0a783
- shared libraries patch
f0a783
- Fix up minor %%files issues
f0a783
f0a783
* Fri Sep 28 2012 Troy Dawson <tdawson@redhat.com> - 2.2.0-4
f0a783
- Fix spec files problems
f0a783
f0a783
* Fri Sep 28 2012 Troy Dawson <tdawson@redhat.com> - 2.2.0-3
f0a783
- Updated patch to use system libraries
f0a783
- Update init script to use a pidfile
f0a783
f0a783
* Thu Sep 27 2012 Troy Dawson <tdawson@redhat.com> - 2.2.0-2
f0a783
- Added patch to use system libraries
f0a783
f0a783
* Wed Sep 19 2012 Troy Dawson <tdawson@redhat.com> - 2.2.0-1
f0a783
- Updated to 2.2.0
f0a783
- Updated patches that were still needed
f0a783
- use v8 instead of spider_monkey due to bundled library issues
f0a783
f0a783
* Tue Aug 21 2012 Nathaniel McCallum <nathaniel@natemccallum.com> - 2.0.7-1
f0a783
- Update to 2.0.7
f0a783
- Don't patch for boost-filesystem version 3 on EL6
f0a783
f0a783
* Mon Aug 13 2012 Nathaniel McCallum <nathaniel@natemccallum.com> - 2.0.6-3
f0a783
- Remove EL5 support
f0a783
- Add patch to use boost-filesystem version 3
f0a783
f0a783
* Wed Aug 01 2012 Nathaniel McCallum <nathaniel@natemccallum.com> - 2.0.6-2
f0a783
- Don't apply fix-xtime patch on EL5
f0a783
f0a783
* Wed Aug 01 2012 Nathaniel McCallum <nathaniel@natemccallum.com> - 2.0.6-1
f0a783
- Update to 2.0.6
f0a783
- Update no-term patch
f0a783
- Add fix-xtime patch for new boost
f0a783
f0a783
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.4-2
f0a783
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
f0a783
f0a783
* Tue Apr 17 2012 Nathaniel McCallum <nathaniel@natemccallum.com> - 2.0.4-1
f0a783
- Update to 2.0.4
f0a783
- Remove oldpython patch (fixed upstream)
f0a783
- Remove snappy patch (fixed upstream)
f0a783
f0a783
* Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.2-10
f0a783
- Rebuilt for c++ ABI breakage
f0a783
f0a783
* Fri Feb 10 2012 Petr Pisar <ppisar@redhat.com> - 2.0.2-9
f0a783
- Rebuild against PCRE 8.30
f0a783
f0a783
* Fri Feb 03 2012 Nathaniel McCallum <nathaniel@natemccallum.com> - 2.0.2-8
f0a783
- Disable HTTP interface by default (#752331)
f0a783
f0a783
* Fri Feb 03 2012 Nathaniel McCallum <nathaniel@natemccallum.com> - 2.0.2-7
f0a783
- Enable journaling by default (#656112)
f0a783
- Remove BuildRequires on unittest (#755081)
f0a783
f0a783
* Fri Feb 03 2012 Nathaniel McCallum <nathaniel@natemccallum.com> - 2.0.2-6
f0a783
- Clean up mongodb-src-r2.0.2-js.patch and fix #787246
f0a783
f0a783
* Tue Jan 17 2012 Nathaniel McCallum <nathaniel@natemccallum.com> - 2.0.2-5
f0a783
- Enable build using external snappy
f0a783
f0a783
* Tue Jan 17 2012 Nathaniel McCallum <nathaniel@natemccallum.com> - 2.0.2-4
f0a783
- Patch buildsystem for building on older pythons (RHEL5)
f0a783
f0a783
* Mon Jan 16 2012 Nathaniel McCallum <nathaniel@natemccallum.com> - 2.0.2-3
f0a783
- Merge the 2.0.2 spec file with EPEL
f0a783
- Merge mongodb-sm-pkgconfig.patch into mongodb-src-r2.0.2-js.patch
f0a783
f0a783
* Mon Jan 16 2012 Nathaniel McCallum <nathaniel@natemccallum.com> - 2.0.2-2
f0a783
- Add pkg-config enablement patch
f0a783
f0a783
* Sat Jan 14 2012 Nathaniel McCallum <nathaniel@natemccallum.com> - 2.0.2-1
f0a783
- Update to 2.0.2
f0a783
- Add new files (mongotop and bsondump manpage)
f0a783
- Update mongodb-src-r1.8.2-js.patch => mongodb-src-r2.0.2-js.patch
f0a783
- Update mongodb-fix-fork.patch
f0a783
- Fix pcre linking
f0a783
f0a783
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8.2-11
f0a783
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
f0a783
f0a783
* Sun Nov 20 2011 Chris Lalancette <clalancette@gmail.com> - 1.8.2-10
f0a783
- Rebuild for rawhide boost update
f0a783
f0a783
* Thu Sep 22 2011 Chris Lalancette <clalance@redhat.com> - 1.8.2-9
f0a783
- Copy the right source file into place for tmpfiles.d
f0a783
f0a783
* Tue Sep 20 2011 Chris Lalancette <clalance@redhat.com> - 1.8.2-8
f0a783
- Add a tmpfiles.d file to create the /var/run/mongodb subdirectory
f0a783
f0a783
* Mon Sep 12 2011 Chris Lalancette <clalance@redhat.com> - 1.8.2-7
f0a783
- Add a patch to fix the forking to play nice with systemd
f0a783
- Make the /var/run/mongodb directory owned by mongodb
f0a783
f0a783
* Thu Jul 28 2011 Chris Lalancette <clalance@redhat.com> - 1.8.2-6
f0a783
- BZ 725601 - fix the javascript engine to not hang (thanks to Eduardo Habkost)
f0a783
f0a783
* Mon Jul 25 2011 Chris Lalancette <clalance@redhat.com> - 1.8.2-5
f0a783
- Fixes to post server, preun server, and postun server to use systemd
f0a783
f0a783
* Thu Jul 21 2011 Chris Lalancette <clalance@redhat.com> - 1.8.2-4
f0a783
- Update to use systemd init
f0a783
f0a783
* Thu Jul 21 2011 Chris Lalancette <clalance@redhat.com> - 1.8.2-3
f0a783
- Rebuild for boost ABI break
f0a783
f0a783
* Wed Jul 13 2011 Chris Lalancette <clalance@redhat.com> - 1.8.2-2
f0a783
- Make mongodb-devel require boost-devel (BZ 703184)
f0a783
f0a783
* Fri Jul 01 2011 Chris Lalancette <clalance@redhat.com> - 1.8.2-1
f0a783
- Update to upstream 1.8.2
f0a783
- Add patch to ignore TERM
f0a783
f0a783
* Fri Jul 01 2011 Chris Lalancette <clalance@redhat.com> - 1.8.0-3
f0a783
- Bump release to build against new boost package
f0a783
f0a783
* Sat Mar 19 2011 Nathaniel McCallum <nathaniel@natemccallum.com> - 1.8.0-2
f0a783
- Make mongod bind only to 127.0.0.1 by default
f0a783
f0a783
* Sat Mar 19 2011 Nathaniel McCallum <nathaniel@natemccallum.com> - 1.8.0-1
f0a783
- Update to 1.8.0
f0a783
- Remove upstreamed nonce patch
f0a783
f0a783
* Wed Feb 16 2011 Nathaniel McCallum <nathaniel@natemccallum.com> - 1.7.5-5
f0a783
- Add nonce patch
f0a783
f0a783
* Sun Feb 13 2011 Nathaniel McCallum <nathaniel@natemccallum.com> - 1.7.5-4
f0a783
- Manually define to use boost-fs v2
f0a783
f0a783
* Sat Feb 12 2011 Nathaniel McCallum <nathaniel@natemccallum.com> - 1.7.5-3
f0a783
- Disable extra warnings
f0a783
f0a783
* Fri Feb 11 2011 Nathaniel McCallum <nathaniel@natemccallum.com> - 1.7.5-2
f0a783
- Disable compilation errors on warnings
f0a783
f0a783
* Fri Feb 11 2011 Nathaniel McCallum <nathaniel@natemccallum.com> - 1.7.5-1
f0a783
- Update to 1.7.5
f0a783
- Remove CPPFLAGS override
f0a783
- Added libmongodb package
f0a783
f0a783
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.4-4
f0a783
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
f0a783
f0a783
* Mon Dec 06 2010 Nathaniel McCallum <nathaniel@natemccallum.com> - 1.6.4-3
f0a783
- Add post/postun ldconfig... oops!
f0a783
f0a783
* Mon Dec 06 2010 Nathaniel McCallum <nathaniel@natemccallum.com> - 1.6.4-2
f0a783
- Enable --sharedclient option, remove static lib
f0a783
f0a783
* Sat Dec 04 2010 Nathaniel McCallum <nathaniel@natemccallum.com> - 1.6.4-1
f0a783
- New upstream release
f0a783
f0a783
* Fri Oct 08 2010 Nathaniel McCallum <nathaniel@natemccallum.com> - 1.6.3-4
f0a783
- Put -fPIC onto both the build and install scons calls
f0a783
f0a783
* Fri Oct 08 2010 Nathaniel McCallum <nathaniel@natemccallum.com> - 1.6.3-3
f0a783
- Define _initddir when it doesn't exist for el5 and others
f0a783
f0a783
* Fri Oct 08 2010 Nathaniel McCallum <nathaniel@natemccallum.com> - 1.6.3-2
f0a783
- Added -fPIC build option which was dropped by accident
f0a783
f0a783
* Thu Oct  7 2010 Ionuț C. Arțăriși <mapleoin@fedoraproject.org> - 1.6.3-1
f0a783
- removed js Requires
f0a783
- new upstream release
f0a783
- added more excludearches: sparc s390, s390x and bugzilla pointer
f0a783
f0a783
* Tue Sep  7 2010 Ionuț C. Arțăriși <mapleoin@fedoraproject.org> - 1.6.2-2
f0a783
- added ExcludeArch for ppc
f0a783
f0a783
* Fri Sep  3 2010 Ionuț C. Arțăriși <mapleoin@fedoraproject.org> - 1.6.2-1
f0a783
- new upstream release 1.6.2
f0a783
- send mongod the USR1 signal when doing logrotate
f0a783
- use config options when starting the daemon from the initfile
f0a783
- removed dbpath patch: rely on config
f0a783
- added pid directory to config file and created the dir in the spec
f0a783
- made the init script use options from the config file
f0a783
- changed logpath in mongodb.conf
f0a783
f0a783
* Wed Sep  1 2010 Ionuț C. Arțăriși <mapleoin@fedoraproject.org> - 1.6.1-1
f0a783
- new upstream release 1.6.1
f0a783
- patched SConstruct to allow setting cppflags
f0a783
- stopped using sed and chmod macros
f0a783
f0a783
* Fri Aug  6 2010 Ionuț C. Arțăriși <mapleoin@fedoraproject.org> - 1.6.0-1
f0a783
- new upstream release: 1.6.0
f0a783
- added -server package
f0a783
- added new license file to %%docs
f0a783
- fix spurious permissions and EOF encodings on some files
f0a783
f0a783
* Tue Jun 15 2010 Ionuț C. Arțăriși <mapleoin@fedoraproject.org> - 1.4.3-2
f0a783
- added explicit js requirement
f0a783
- changed some names
f0a783
f0a783
* Wed May 26 2010 Ionuț C. Arțăriși <mapleoin@fedoraproject.org> - 1.4.3-1
f0a783
- updated to 1.4.3
f0a783
- added zlib license for util/md5
f0a783
- deleted upstream deb/rpm recipes
f0a783
- made scons not strip binaries
f0a783
- made naming more consistent in logfile, lockfiles, init scripts etc.
f0a783
- included manpages and added corresponding license
f0a783
- added mongodb.conf to sources
f0a783
f0a783
* Fri Oct  2 2009 Ionuț Arțăriși <mapleoin@fedoraproject.org> - 1.0.0-3
f0a783
- fixed libpath issue for 64bit systems
f0a783
f0a783
* Thu Oct  1 2009 Ionuț Arțăriși <mapleoin@fedoraproject.org> - 1.0.0-2
f0a783
- added virtual -static package
f0a783
f0a783
* Mon Aug 31 2009 Ionuț Arțăriși <mapleoin@fedoraproject.org> - 1.0.0-1
f0a783
- Initial release.