Blame SPECS/mongodb.spec

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