diff options
Diffstat (limited to 'rpm')
-rw-r--r-- | rpm/mongodb-enterprise-unstable.spec | 11 | ||||
-rw-r--r-- | rpm/mongodb-enterprise.spec | 10 |
2 files changed, 19 insertions, 2 deletions
diff --git a/rpm/mongodb-enterprise-unstable.spec b/rpm/mongodb-enterprise-unstable.spec index f3c8b91c086..dfe077e79b7 100644 --- a/rpm/mongodb-enterprise-unstable.spec +++ b/rpm/mongodb-enterprise-unstable.spec @@ -79,7 +79,7 @@ to develop mongo client software. %install mkdir -p $RPM_BUILD_ROOT/usr -cp -rv BINARIES/usr/bin $RPM_BUILD_ROOT/usr +cp -rv bin $RPM_BUILD_ROOT/usr 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 @@ -96,6 +96,7 @@ mkdir -p $RPM_BUILD_ROOT/var/log/mongodb mkdir -p $RPM_BUILD_ROOT/var/run/mongodb touch $RPM_BUILD_ROOT/var/log/mongodb/mongod.log + %clean rm -rf $RPM_BUILD_ROOT @@ -138,6 +139,14 @@ fi %attr(0755,mongodb,mongodb) %dir /var/log/mongodb %attr(0755,mongodb,mongodb) %dir /var/run/mongodb %attr(0640,mongodb,mongodb) %config(noreplace) %verify(not md5 size mtime) /var/log/mongodb/mongod.log +%doc snmp/MONGOD-MIB.txt +%doc snmp/MONGODBINC-MIB.txt +%doc snmp/mongod.conf.master +%doc snmp/mongod.conf.subagent +%doc snmp/README-snmp.txt +%doc LICENSE.txt +%doc README +%doc THIRD-PARTY-NOTICES %files shell %defattr(-,root,root,-) diff --git a/rpm/mongodb-enterprise.spec b/rpm/mongodb-enterprise.spec index 15e77b904f1..1129abf1f5b 100644 --- a/rpm/mongodb-enterprise.spec +++ b/rpm/mongodb-enterprise.spec @@ -77,7 +77,7 @@ to develop mongo client software. %install mkdir -p $RPM_BUILD_ROOT/usr -cp -rv BINARIES/usr/bin $RPM_BUILD_ROOT/usr +cp -rv bin $RPM_BUILD_ROOT/usr 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 @@ -93,6 +93,14 @@ mkdir -p $RPM_BUILD_ROOT/var/lib/mongodb mkdir -p $RPM_BUILD_ROOT/var/log/mongodb mkdir -p $RPM_BUILD_ROOT/var/run/mongodb touch $RPM_BUILD_ROOT/var/log/mongodb/mongod.log +%doc snmp/MONGOD-MIB.txt +%doc snmp/MONGODBINC-MIB.txt +%doc snmp/mongod.conf.master +%doc snmp/mongod.conf.subagent +%doc snmp/README-snmp.txt +%doc LICENSE.txt +%doc README +%doc THIRD-PARTY-NOTICES %clean rm -rf $RPM_BUILD_ROOT |