]> git.pld-linux.org Git - packages/mongodb.git/commitdiff
- rel 2 auto/th/mongodb-2_0_1-2
authorJan Rękorajski <baggins@pld-linux.org>
Sun, 5 Feb 2012 11:10:52 +0000 (11:10 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- logrotate 3.8.0 requires "su" option for non-root writable dirs

Changed files:
    mongodb.logrotate -> 1.2
    mongodb.spec -> 1.20

mongodb.logrotate
mongodb.spec

index ac11647460bdb02ade22a18165e16ec2ecc661cd..0b39d268ddd57f4d02a3e41fe8d48f578c60cf83 100644 (file)
@@ -1,11 +1,12 @@
 /var/log/mongo/*.log {
-  weekly
-  rotate 10
-  copytruncate
-  delaycompress
-  compress
-  notifempty
-  missingok
+       su mongod mongod
+       weekly
+       rotate 10
+       copytruncate
+       delaycompress
+       compress
+       notifempty
+       missingok
 }
 
 
index bd8e930d8796de73e2c1683ce129742d3614159c..16868f74c829956f4bc26969834d266494e8c1ea 100644 (file)
@@ -3,7 +3,7 @@ Summary:        MongoDB client shell and tools
 Summary(pl.UTF-8):     Powłoka kliencka i narzędzia dla bazy danych MongoDB
 Name:          mongodb
 Version:       2.0.1
-Release:       1
+Release:       2
 License:       AGPL v3
 Group:         Applications/Databases
 Source0:       http://downloads.mongodb.org/src/%{name}-src-r%{version}.tar.gz
@@ -102,8 +102,6 @@ Summary:    MongoDB server, sharding server, and support scripts
 Summary(pl.UTF-8):     Serwer MongoDB, serwer dzielący oraz skrypty pomocnicze
 Group:         Applications/Databases
 Requires:      %{name} = %{version}-%{release}
-Provides:      group(mongod)
-Provides:      user(mongod)
 Requires(post,preun):  /sbin/chkconfig
 Requires(postun):      /usr/sbin/groupdel
 Requires(postun):      /usr/sbin/userdel
@@ -112,6 +110,9 @@ Requires(pre):      /usr/bin/getgid
 Requires(pre): /usr/sbin/groupadd
 Requires(pre): /usr/sbin/useradd
 Requires:      rc-scripts
+Provides:      group(mongod)
+Provides:      user(mongod)
+Conflicts:     logrotate < 3.8.0
 
 %description server
 Mongo (from "huMONGOus") is a schema-free document-oriented database.
This page took 0.131423 seconds and 4 git commands to generate.