diff options
-rw-r--r-- | rpm/mongo.mdv.spec | 8 | ||||
-rw-r--r-- | rpm/mongodb-enterprise-unstable.spec | 8 | ||||
-rw-r--r-- | rpm/mongodb-enterprise.spec | 8 | ||||
-rw-r--r-- | rpm/mongodb-org-unstable.spec | 8 | ||||
-rw-r--r-- | rpm/mongodb-org.spec | 8 |
5 files changed, 20 insertions, 20 deletions
diff --git a/rpm/mongo.mdv.spec b/rpm/mongo.mdv.spec index 8b89f921c52..c827a588f52 100644 --- a/rpm/mongo.mdv.spec +++ b/rpm/mongo.mdv.spec @@ -91,9 +91,9 @@ scons --prefix=$RPM_BUILD_ROOT/usr all scons --prefix=$RPM_BUILD_ROOT%{_usr} install mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1 cp debian/*.1 $RPM_BUILD_ROOT%{_mandir}/man1/ -mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d -cp rpm/init.d-mongod $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d/mongod -chmod a+x $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d/mongod +mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/init.d +cp rpm/init.d-mongod $RPM_BUILD_ROOT%{_sysconfdir}/init.d/mongod +chmod a+x $RPM_BUILD_ROOT%{_sysconfdir}/init.d/mongod mkdir -p $RPM_BUILD_ROOT%{_sysconfdir} cp rpm/mongod.conf $RPM_BUILD_ROOT%{_sysconfdir}/mongod.conf mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig @@ -156,7 +156,7 @@ fi %{_bindir}/mongod %{_bindir}/mongos %{_mandir}/man1/mongos.1* -%{_sysconfdir}/rc.d/init.d/mongod +%{_sysconfdir}/init.d/mongod %{_sysconfdir}/sysconfig/mongod %attr(0755,mongod,mongod) %dir %{_var}/lib/mongo %attr(0755,mongod,mongod) %dir %{_var}/log/mongo diff --git a/rpm/mongodb-enterprise-unstable.spec b/rpm/mongodb-enterprise-unstable.spec index dbcb938d8ce..860cf4ade2e 100644 --- a/rpm/mongodb-enterprise-unstable.spec +++ b/rpm/mongodb-enterprise-unstable.spec @@ -155,9 +155,9 @@ mkdir -p $RPM_BUILD_ROOT/usr/share/man/man1 cp debian/*.1 $RPM_BUILD_ROOT/usr/share/man/man1/ # FIXME: remove this rm when mongosniff is back in the package rm -v $RPM_BUILD_ROOT/usr/share/man/man1/mongosniff.1* -mkdir -p $RPM_BUILD_ROOT/etc/rc.d/init.d -cp -v rpm/init.d-mongod $RPM_BUILD_ROOT/etc/rc.d/init.d/mongod -chmod a+x $RPM_BUILD_ROOT/etc/rc.d/init.d/mongod +mkdir -p $RPM_BUILD_ROOT/etc/init.d +cp -v rpm/init.d-mongod $RPM_BUILD_ROOT/etc/init.d/mongod +chmod a+x $RPM_BUILD_ROOT/etc/init.d/mongod mkdir -p $RPM_BUILD_ROOT/etc cp -v rpm/mongod.conf $RPM_BUILD_ROOT/etc/mongod.conf mkdir -p $RPM_BUILD_ROOT/etc/sysconfig @@ -205,7 +205,7 @@ fi %config(noreplace) /etc/mongod.conf %{_bindir}/mongod %{_mandir}/man1/mongod.1* -/etc/rc.d/init.d/mongod +/etc/init.d/mongod /etc/sysconfig/mongod %attr(0755,mongod,mongod) %dir /var/lib/mongo %attr(0755,mongod,mongod) %dir /var/log/mongodb diff --git a/rpm/mongodb-enterprise.spec b/rpm/mongodb-enterprise.spec index b0979bf85e7..2ccf1d51860 100644 --- a/rpm/mongodb-enterprise.spec +++ b/rpm/mongodb-enterprise.spec @@ -166,9 +166,9 @@ mkdir -p $RPM_BUILD_ROOT/usr/share/man/man1 cp debian/*.1 $RPM_BUILD_ROOT/usr/share/man/man1/ # FIXME: remove this rm when mongosniff is back in the package rm -v $RPM_BUILD_ROOT/usr/share/man/man1/mongosniff.1* -mkdir -p $RPM_BUILD_ROOT/etc/rc.d/init.d -cp -v rpm/init.d-mongod $RPM_BUILD_ROOT/etc/rc.d/init.d/mongod -chmod a+x $RPM_BUILD_ROOT/etc/rc.d/init.d/mongod +mkdir -p $RPM_BUILD_ROOT/etc/init.d +cp -v rpm/init.d-mongod $RPM_BUILD_ROOT/etc/init.d/mongod +chmod a+x $RPM_BUILD_ROOT/etc/init.d/mongod mkdir -p $RPM_BUILD_ROOT/etc cp -v rpm/mongod.conf $RPM_BUILD_ROOT/etc/mongod.conf mkdir -p $RPM_BUILD_ROOT/etc/sysconfig @@ -214,7 +214,7 @@ fi %config(noreplace) /etc/mongod.conf %{_bindir}/mongod %{_mandir}/man1/mongod.1* -/etc/rc.d/init.d/mongod +/etc/init.d/mongod /etc/sysconfig/mongod %attr(0755,mongod,mongod) %dir /var/lib/mongo %attr(0755,mongod,mongod) %dir /var/log/mongodb diff --git a/rpm/mongodb-org-unstable.spec b/rpm/mongodb-org-unstable.spec index 794d3049879..9519dab6381 100644 --- a/rpm/mongodb-org-unstable.spec +++ b/rpm/mongodb-org-unstable.spec @@ -151,9 +151,9 @@ mkdir -p $RPM_BUILD_ROOT/usr/share/man/man1 cp debian/*.1 $RPM_BUILD_ROOT/usr/share/man/man1/ # FIXME: remove this rm when mongosniff is back in the package rm -v $RPM_BUILD_ROOT/usr/share/man/man1/mongosniff.1* -mkdir -p $RPM_BUILD_ROOT/etc/rc.d/init.d -cp -v rpm/init.d-mongod $RPM_BUILD_ROOT/etc/rc.d/init.d/mongod -chmod a+x $RPM_BUILD_ROOT/etc/rc.d/init.d/mongod +mkdir -p $RPM_BUILD_ROOT/etc/init.d +cp -v rpm/init.d-mongod $RPM_BUILD_ROOT/etc/init.d/mongod +chmod a+x $RPM_BUILD_ROOT/etc/init.d/mongod mkdir -p $RPM_BUILD_ROOT/etc cp -v rpm/mongod.conf $RPM_BUILD_ROOT/etc/mongod.conf mkdir -p $RPM_BUILD_ROOT/etc/sysconfig @@ -199,7 +199,7 @@ fi %config(noreplace) /etc/mongod.conf %{_bindir}/mongod %{_mandir}/man1/mongod.1* -/etc/rc.d/init.d/mongod +/etc/init.d/mongod /etc/sysconfig/mongod %attr(0755,mongod,mongod) %dir /var/lib/mongo %attr(0755,mongod,mongod) %dir /var/log/mongodb diff --git a/rpm/mongodb-org.spec b/rpm/mongodb-org.spec index 753ce43a937..c98ac7b5c63 100644 --- a/rpm/mongodb-org.spec +++ b/rpm/mongodb-org.spec @@ -163,9 +163,9 @@ mkdir -p $RPM_BUILD_ROOT/usr/share/man/man1 cp debian/*.1 $RPM_BUILD_ROOT/usr/share/man/man1/ # FIXME: remove this rm when mongosniff is back in the package rm -v $RPM_BUILD_ROOT/usr/share/man/man1/mongosniff.1* -mkdir -p $RPM_BUILD_ROOT/etc/rc.d/init.d -cp -v rpm/init.d-mongod $RPM_BUILD_ROOT/etc/rc.d/init.d/mongod -chmod a+x $RPM_BUILD_ROOT/etc/rc.d/init.d/mongod +mkdir -p $RPM_BUILD_ROOT/etc/init.d +cp -v rpm/init.d-mongod $RPM_BUILD_ROOT/etc/init.d/mongod +chmod a+x $RPM_BUILD_ROOT/etc/init.d/mongod mkdir -p $RPM_BUILD_ROOT/etc cp -v rpm/mongod.conf $RPM_BUILD_ROOT/etc/mongod.conf mkdir -p $RPM_BUILD_ROOT/etc/sysconfig @@ -211,7 +211,7 @@ fi %config(noreplace) /etc/mongod.conf %{_bindir}/mongod %{_mandir}/man1/mongod.1* -/etc/rc.d/init.d/mongod +/etc/init.d/mongod /etc/sysconfig/mongod %attr(0755,mongod,mongod) %dir /var/lib/mongo %attr(0755,mongod,mongod) %dir /var/log/mongodb |